Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|triggeredTrapezoid1.u|triggeredTrapezoid1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|triggeredTrapezoid1.u|triggeredTrapezoid1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.438/1.438, allocations: 249.3 MB / 261.8 MB, free: 5.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001316/0.001316, allocations: 174.5 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.536/1.536, allocations: 205.2 MB / 0.572 GB, free: 10.66 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008596/0.0008597, allocations: 100.3 kB / 0.6764 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.739e-05/3.739e-05, allocations: 4 kB / 0.788 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2152, allocations: 106.3 MB / 0.8918 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.717/0.9322, allocations: 131.6 MB / 1.02 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001999/0.9325, allocations: 70.22 kB / 1.02 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003825/0.9363, allocations: 1.359 MB / 1.022 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.222e-06/0.9364, allocations: 0 / 1.022 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.795e-06/0.9364, allocations: 4 kB / 1.022 GB, free: 1.883 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004646/0.9368, allocations: 353.5 kB / 1.022 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.9369, allocations: 11.97 kB / 1.022 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.251e-05/0.937, allocations: 7.906 kB / 1.022 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.9371, allocations: 171 kB / 1.022 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.9371, allocations: 3.375 kB / 1.022 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.9372, allocations: 4 kB / 1.022 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.9373, allocations: 73.8 kB / 1.022 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.9373, allocations: 0 / 1.022 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.9374, allocations: 5.875 kB / 1.022 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.9374, allocations: 0 / 1.022 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.9375, allocations: 36.36 kB / 1.022 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004691/0.938, allocations: 293.3 kB / 1.023 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.9381, allocations: 57.06 kB / 1.023 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.622e-05/0.9382, allocations: 31.73 kB / 1.023 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.9382, allocations: 4 kB / 1.023 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001891/0.9384, allocations: 94.11 kB / 1.023 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.293e-06/0.9384, allocations: 0 / 1.023 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0002743/0.9387, allocations: 119.2 kB / 1.023 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.9387, allocations: 55.34 kB / 1.023 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.612e-05/0.9388, allocations: 112 kB / 1.023 GB, free: 424 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.9388, allocations: 25.7 kB / 1.023 GB, free: 392 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.666e-05/0.9389, allocations: 90.53 kB / 1.023 GB, free: 300 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.9389, allocations: 25.12 kB / 1.023 GB, free: 280 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/0.9389, allocations: 0 / 1.023 GB, free: 280 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.9391, allocations: 322.3 kB / 1.024 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.359e-05/0.9392, allocations: 25.69 kB / 1.024 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.22e-05/0.9392, allocations: 42.66 kB / 1.024 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.051e-05/0.9393, allocations: 23.58 kB / 1.024 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.9393, allocations: 4 kB / 1.024 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003568/0.9397, allocations: 147.5 kB / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.9397, allocations: 5.875 kB / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.9397, allocations: 4 kB / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001458/0.9398, allocations: 34.92 kB / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.285e-05/0.9399, allocations: 8.031 kB / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001244/0.9412, allocations: 1.424 MB / 1.025 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.106e-05/0.9413, allocations: 19.2 kB / 1.025 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.9413, allocations: 0 / 1.025 GB, free: 14.2 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$whenCondition3,$whenCondition2,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 8.211e-05/0.9414, allocations: 114.7 kB / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.9414, allocations: 11.94 kB / 1.025 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.185e-05/0.9415, allocations: 12.09 kB / 1.025 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.9415, allocations: 4 kB / 1.025 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.9415, allocations: 0 / 1.025 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.9415, allocations: 3.938 kB / 1.025 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005094/0.942, allocations: 408.4 kB / 1.026 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.942, allocations: 4 kB / 1.026 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.696e-05/0.9421, allocations: 8 kB / 1.026 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.9421, allocations: 4 kB / 1.026 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.9421, allocations: 0 / 1.026 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.9421, allocations: 0.5469 kB / 1.026 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.9421, allocations: 0 / 1.026 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.9423, allocations: 225.9 kB / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.157e-05/0.9424, allocations: 84.95 kB / 1.026 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.9424, allocations: 0 / 1.026 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.9425, allocations: 15.98 kB / 1.026 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.236e-05/0.9426, allocations: 11.36 kB / 1.026 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.9426, allocations: 4 kB / 1.026 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.891e-05/0.9427, allocations: 99.42 kB / 1.026 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9427, allocations: 0 / 1.026 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002398/0.9429, allocations: 19.19 kB / 1.026 GB, free: 13.18 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (booPul.y,$whenCondition3,$whenCondition2,$whenCondition1,booPul.pulseStart,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 1 (triggeredTrapezoid1.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001357/0.9431, allocations: 106.9 kB / 1.026 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000281/0.9433, allocations: 180.6 kB / 1.027 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.9434, allocations: 7.938 kB / 1.027 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.838e-05/0.9434, allocations: 37.69 kB / 1.027 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001872/0.9436, allocations: 11.83 kB / 1.027 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002662/0.9439, allocations: 115.8 kB / 1.027 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.9442, allocations: 0.6888 MB / 1.027 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.426e-05/0.9442, allocations: 12.61 kB / 1.027 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.504e-05/0.9443, allocations: 11.44 kB / 1.027 GB, free: 12 MB / 0.6511 GB Notification: Performance of SimCode: time 3.51e-07/0.9443, allocations: 0 / 1.027 GB, free: 12 MB / 0.6511 GB Notification: Performance of Templates: time 0.003381/0.9476, allocations: 1.174 MB / 1.029 GB, free: 10.84 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches