Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.186/2.186, allocations: 387.4 MB / 394.9 MB, free: 13.31 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 180.5 kB / 487.4 MB, free: 4.992 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.543/1.543, allocations: 221.5 MB / 0.7824 GB, free: 0.957 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 99.89 kB / 0.9219 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.077e-05/2.076e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3142, allocations: 142.4 MB / 1.206 GB, free: 43.9 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.076/1.391, allocations: 148.8 MB / 1.351 GB, free: 18.51 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002281/1.391, allocations: 69.8 kB / 1.351 GB, free: 18.51 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007858/1.399, allocations: 2.451 MB / 1.354 GB, free: 34.09 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.583e-06/1.399, allocations: 4 kB / 1.354 GB, free: 34.09 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.362e-06/1.399, allocations: 0 / 1.354 GB, free: 34.09 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004452/1.399, allocations: 393.5 kB / 1.354 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/1.399, allocations: 7.531 kB / 1.354 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.97e-05/1.399, allocations: 8.266 kB / 1.354 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.833e-05/1.399, allocations: 172 kB / 1.354 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/1.399, allocations: 4.578 kB / 1.354 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/1.399, allocations: 4.578 kB / 1.354 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.526e-05/1.4, allocations: 30.56 kB / 1.354 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/1.4, allocations: 61.11 kB / 1.354 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/1.4, allocations: 0 / 1.354 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/1.4, allocations: 8.406 kB / 1.354 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/1.4, allocations: 0 / 1.354 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004473/1.4, allocations: 296.9 kB / 1.355 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/1.4, allocations: 61.25 kB / 1.355 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.54e-05/1.4, allocations: 31.22 kB / 1.355 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/1.4, allocations: 0.6562 kB / 1.355 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001614/1.401, allocations: 99.98 kB / 1.355 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/1.401, allocations: 0 / 1.355 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0002451/1.401, allocations: 127 kB / 1.355 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.585e-05/1.401, allocations: 55.36 kB / 1.355 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.251e-05/1.401, allocations: 103.7 kB / 1.355 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/1.401, allocations: 29.61 kB / 1.355 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.443e-05/1.401, allocations: 89.42 kB / 1.355 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/1.401, allocations: 24.3 kB / 1.355 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.487e-05/1.401, allocations: 0 / 1.355 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.00012/1.401, allocations: 324.3 kB / 1.356 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.001e-05/1.401, allocations: 46.56 kB / 1.356 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.861e-05/1.401, allocations: 65.5 kB / 1.356 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002069/1.402, allocations: 50.62 kB / 1.356 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.402, allocations: 0 / 1.356 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005156/1.402, allocations: 200.8 kB / 1.356 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.392e-05/1.402, allocations: 35.17 kB / 1.356 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/1.402, allocations: 0.6094 kB / 1.356 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000137/1.402, allocations: 34.48 kB / 1.356 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.591e-05/1.402, allocations: 8.438 kB / 1.356 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001092/1.404, allocations: 1.378 MB / 1.357 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/1.404, allocations: 48.92 kB / 1.357 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.398e-05/1.404, allocations: 12.98 kB / 1.357 GB, free: 31.05 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$whenCondition2,$whenCondition4,$whenCondition3,$PRE.booPul.y,booPul.y,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): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001046/1.404, allocations: 111.2 kB / 1.358 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.692e-05/1.404, allocations: 9.016 kB / 1.358 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.916e-05/1.404, allocations: 13.05 kB / 1.358 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/1.404, allocations: 3.844 kB / 1.358 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/1.404, allocations: 4 kB / 1.358 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/1.404, allocations: 0.7031 kB / 1.358 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002885/1.404, allocations: 362.3 kB / 1.358 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/1.404, allocations: 0 / 1.358 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.103e-05/1.404, allocations: 5.625 kB / 1.358 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/1.404, allocations: 7.891 kB / 1.358 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/1.404, allocations: 8.719 kB / 1.358 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/1.404, allocations: 0 / 1.358 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.404, allocations: 0.7031 kB / 1.358 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000199/1.405, allocations: 223.6 kB / 1.358 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.164e-05/1.405, allocations: 77.77 kB / 1.358 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/1.405, allocations: 8.375 kB / 1.358 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.893e-05/1.405, allocations: 6.391 kB / 1.358 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/1.405, allocations: 2.625 kB / 1.358 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/1.405, allocations: 5.125 kB / 1.358 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.54e-05/1.405, allocations: 91.72 kB / 1.358 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.405, allocations: 0 / 1.358 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003036/1.405, allocations: 32.38 kB / 1.358 GB, free: 30.33 MB / 0.8386 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 ($whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,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.0001633/1.405, allocations: 117.6 kB / 1.358 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003633/1.406, allocations: 266.3 kB / 1.359 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/1.406, allocations: 0 / 1.359 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.634e-05/1.406, allocations: 44.78 kB / 1.359 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/1.406, allocations: 18.69 kB / 1.359 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002168/1.406, allocations: 99.95 kB / 1.359 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/1.407, allocations: 0.6969 MB / 1.36 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.177e-05/1.407, allocations: 9.984 kB / 1.36 GB, free: 29.28 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.162e-05/1.407, allocations: 11.19 kB / 1.36 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.407, allocations: 0 / 1.36 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of Templates: time 0.004037/1.411, allocations: 1.55 MB / 1.361 GB, free: 29.15 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches