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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 105 kB / 16.41 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001683/0.001683, allocations: 187 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.19/2.19, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 67.89 kB / 0.9516 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8551/0.8565, allocations: 140.4 MB / 1.089 GB, free: 5.473 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.001662/0.8582, allocations: 0.656 MB / 1.089 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001343/0.8596, allocations: 1.177 MB / 1.09 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.372e-05/0.8597, allocations: 1.031 kB / 1.09 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.545e-05/0.8597, allocations: 3.938 kB / 1.09 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.072e-05/0.8598, allocations: 7.469 kB / 1.09 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000537/0.8603, allocations: 153 kB / 1.091 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001952/0.8605, allocations: 128.8 kB / 1.091 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.327e-05/0.8606, allocations: 9.688 kB / 1.091 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.691e-05/0.8607, allocations: 53.83 kB / 1.091 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.8608, allocations: 56.56 kB / 1.091 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.036e-05/0.8609, allocations: 15.91 kB / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.298e-05/0.861, allocations: 25.38 kB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.817e-05/0.861, allocations: 15.23 kB / 1.091 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.211e-05/0.8611, allocations: 44.22 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.8613, allocations: 121.2 kB / 1.091 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.8613, allocations: 1.859 kB / 1.091 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.102e-06/0.8613, allocations: 0 / 1.091 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.257e-06/0.8613, allocations: 0 / 1.091 GB, free: 3.93 MB / 0.8575 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.0005164/0.8618, allocations: 396.3 kB / 1.091 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.8619, allocations: 9.938 kB / 1.091 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.039e-05/0.8619, allocations: 14.17 kB / 1.091 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.533e-05/0.862, allocations: 172.5 kB / 1.092 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/0.8621, allocations: 9.406 kB / 1.092 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/0.8621, allocations: 6.625 kB / 1.092 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.8623, allocations: 76.8 kB / 1.092 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.8623, allocations: 4.125 kB / 1.092 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.8623, allocations: 9.453 kB / 1.092 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.8623, allocations: 1.125 kB / 1.092 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001601/0.8625, allocations: 41.14 kB / 1.092 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004224/0.8629, allocations: 321.4 kB / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002163/0.8632, allocations: 73.56 kB / 1.092 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.8633, allocations: 34.25 kB / 1.092 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.8633, allocations: 1.953 kB / 1.092 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002509/0.8636, allocations: 108.8 kB / 1.092 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.8636, allocations: 0 / 1.092 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0005773/0.8642, allocations: 184.9 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.8642, allocations: 54.38 kB / 1.092 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.403e-05/0.8643, allocations: 115.1 kB / 1.093 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.8643, allocations: 28.17 kB / 1.093 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.896e-05/0.8644, allocations: 92.52 kB / 1.093 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.8644, allocations: 20.62 kB / 1.093 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.549e-05/0.8645, allocations: 38.84 kB / 1.093 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.551e-05/0.8646, allocations: 319.5 kB / 1.093 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.8647, allocations: 45.58 kB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.8649, allocations: 76.75 kB / 1.093 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000249/0.8652, allocations: 133.8 kB / 1.093 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.8652, allocations: 0.8125 kB / 1.093 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004037/0.8656, allocations: 201.2 kB / 1.094 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.503e-05/0.8656, allocations: 35.06 kB / 1.094 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.8656, allocations: 0.6875 kB / 1.094 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.8657, allocations: 1.5 kB / 1.094 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.8658, allocations: 20.06 kB / 1.094 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.8658, allocations: 1.469 kB / 1.094 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001917/0.866, allocations: 31.83 kB / 1.094 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.456e-05/0.866, allocations: 6.359 kB / 1.094 GB, free: 1.781 MB / 0.8575 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,triggeredTrapezoid1.T,triggeredTrapezoid1.rate,triggeredTrapezoid1.endValue,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.127e-05/0.8661, allocations: 123.2 kB / 1.094 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.917e-05/0.8661, allocations: 7.656 kB / 1.094 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.918e-05/0.8662, allocations: 10.7 kB / 1.094 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.8662, allocations: 9.125 kB / 1.094 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.8662, allocations: 0.8438 kB / 1.094 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.8662, allocations: 1.688 kB / 1.094 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004634/0.8667, allocations: 402.8 kB / 1.094 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.8667, allocations: 1.344 kB / 1.094 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.384e-05/0.8667, allocations: 8.688 kB / 1.094 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.8667, allocations: 1.234 kB / 1.094 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.8667, allocations: 2.891 kB / 1.094 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.8668, allocations: 8.719 kB / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.8668, allocations: 0 / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003652/0.8671, allocations: 243.4 kB / 1.094 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.181e-05/0.8672, allocations: 79.03 kB / 1.094 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.8672, allocations: 3.812 kB / 1.094 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.778e-05/0.8673, allocations: 3.344 kB / 1.094 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.486e-05/0.8673, allocations: 9.75 kB / 1.094 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/0.8674, allocations: 9.422 kB / 1.094 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.99e-05/0.8674, allocations: 93.83 kB / 1.095 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8674, allocations: 5.219 kB / 1.095 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002776/0.8677, allocations: 22.92 kB / 1.095 GB, free: 0.9258 MB / 0.8575 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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001514/0.8679, allocations: 110.7 kB / 1.095 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003932/0.8683, allocations: 177.1 kB / 1.095 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.8683, allocations: 0.7812 kB / 1.095 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.8684, allocations: 56.28 kB / 1.095 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.8687, allocations: 17.48 kB / 1.095 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000395/0.8691, allocations: 207.1 kB / 1.095 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001817/0.8693, allocations: 0.6868 MB / 1.096 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.96e-05/0.8694, allocations: 11.41 kB / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/0.8694, allocations: 0 / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of Templates: time 0.003882/0.8733, allocations: 1.395 MB / 1.097 GB, free: 15.69 MB / 0.8731 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches