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.533/1.533, allocations: 249.5 MB / 257 MB, free: 6.926 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.001153/0.001154, allocations: 184.8 kB / 316.3 MB, free: 3.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.813/1.813, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.0008826/0.0008826, allocations: 88.36 kB / 0.6714 GB, free: 4.977 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.062e-05/2.061e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2174, allocations: 106.3 MB / 0.8852 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6776/0.895, allocations: 131.9 MB / 1.014 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001977/0.8953, allocations: 74.64 kB / 1.014 GB, free: 5.797 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003769/0.899, allocations: 1.344 MB / 1.015 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.947e-06/0.8991, allocations: 0 / 1.015 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.8991, allocations: 7.938 kB / 1.015 GB, free: 4.625 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.0004603/0.8995, allocations: 362.2 kB / 1.016 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.8996, allocations: 8.031 kB / 1.016 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.138e-05/0.8996, allocations: 8.844 kB / 1.016 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.8998, allocations: 171 kB / 1.016 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.8998, allocations: 3.938 kB / 1.016 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.8998, allocations: 4 kB / 1.016 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001005/0.8999, allocations: 31.55 kB / 1.016 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.9001, allocations: 57.36 kB / 1.016 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.9001, allocations: 4 kB / 1.016 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.9001, allocations: 7.797 kB / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.9001, allocations: 4 kB / 1.016 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004231/0.9005, allocations: 268.4 kB / 1.016 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.774e-05/0.9006, allocations: 54.34 kB / 1.016 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.809e-05/0.9007, allocations: 28.42 kB / 1.016 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.9007, allocations: 0 / 1.016 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001686/0.9009, allocations: 102.3 kB / 1.016 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.9009, allocations: 0 / 1.016 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0002415/0.9011, allocations: 108.7 kB / 1.017 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.9012, allocations: 59.28 kB / 1.017 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.154e-05/0.9013, allocations: 104.6 kB / 1.017 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.9013, allocations: 25.7 kB / 1.017 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.03e-05/0.9014, allocations: 91.95 kB / 1.017 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.9014, allocations: 19.67 kB / 1.017 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.123e-06/0.9014, allocations: 7.938 kB / 1.017 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.9015, allocations: 318.7 kB / 1.017 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.29e-05/0.9016, allocations: 19.62 kB / 1.017 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.303e-05/0.9016, allocations: 41.14 kB / 1.017 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.21e-05/0.9017, allocations: 22.34 kB / 1.017 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.9017, allocations: 3.938 kB / 1.017 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003308/0.902, allocations: 137.6 kB / 1.017 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.9021, allocations: 4 kB / 1.017 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.9021, allocations: 0 / 1.017 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001307/0.9022, allocations: 32.72 kB / 1.017 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.418e-05/0.9023, allocations: 11 kB / 1.017 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001154/0.9034, allocations: 1.394 MB / 1.019 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.952e-05/0.9035, allocations: 8.031 kB / 1.019 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.9036, allocations: 0 / 1.019 GB, free: 1.066 MB / 0.6355 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.522e-05/0.9037, allocations: 116.3 kB / 1.019 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.716e-05/0.9037, allocations: 7.906 kB / 1.019 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.198e-05/0.9037, allocations: 12.52 kB / 1.019 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.9037, allocations: 8.094 kB / 1.019 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.9037, allocations: 0 / 1.019 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.9037, allocations: 0 / 1.019 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005114/0.9042, allocations: 377.9 kB / 1.019 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.9043, allocations: 0 / 1.019 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.067e-05/0.9043, allocations: 11.98 kB / 1.019 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.9043, allocations: 3.953 kB / 1.019 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.9043, allocations: 11.5 kB / 1.019 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.9043, allocations: 0 / 1.019 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.9044, allocations: 0 / 1.019 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002046/0.9046, allocations: 206.5 kB / 1.02 GB, free: 328 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.584e-05/0.9046, allocations: 85.02 kB / 1.02 GB, free: 224 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.9046, allocations: 3.953 kB / 1.02 GB, free: 220 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.9048, allocations: 15.98 kB / 1.02 GB, free: 204 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.789e-05/0.9048, allocations: 7.984 kB / 1.02 GB, free: 196 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.9048, allocations: 4 kB / 1.02 GB, free: 192 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.488e-05/0.9049, allocations: 90.2 kB / 1.02 GB, free: 108 kB / 0.6355 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9049, allocations: 0 / 1.02 GB, free: 108 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002558/0.9051, allocations: 19.98 kB / 1.02 GB, free: 88 kB / 0.6355 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.0001468/0.9053, allocations: 105.6 kB / 1.02 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002622/0.9056, allocations: 175.6 kB / 1.02 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.9056, allocations: 0 / 1.02 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.885e-05/0.9057, allocations: 36.56 kB / 1.02 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.9059, allocations: 16.84 kB / 1.02 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002609/0.9061, allocations: 104.7 kB / 1.02 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.9064, allocations: 0.6924 MB / 1.021 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.158e-05/0.9064, allocations: 8.734 kB / 1.021 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.106e-05/0.9065, allocations: 15.36 kB / 1.021 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of SimCode: time 2.4e-07/0.9065, allocations: 0 / 1.021 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of Templates: time 0.003197/0.9097, allocations: 1.128 MB / 1.022 GB, free: 13.82 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