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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001134/0.001133, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0015/0.0015, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.692/1.692, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.577/2.577, allocations: 390.9 MB / 0.666 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004083/0.0004084, allocations: 8 kB / 0.8154 GB, free: 13.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8329/0.8334, allocations: 142.4 MB / 0.9545 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.001259/0.8347, allocations: 384.3 kB / 0.9548 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002491/0.8372, allocations: 1.149 MB / 0.9559 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.8374, allocations: 0 / 0.9559 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.535e-05/0.8375, allocations: 1 kB / 0.9559 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001496/0.8376, allocations: 4.938 kB / 0.9559 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008402/0.8385, allocations: 135.9 kB / 0.9561 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002314/0.8387, allocations: 99.09 kB / 0.9562 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.8389, allocations: 8.109 kB / 0.9562 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001881/0.8391, allocations: 46.64 kB / 0.9562 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.8392, allocations: 44.5 kB / 0.9563 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.718e-05/0.8393, allocations: 6.469 kB / 0.9563 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.8394, allocations: 20.08 kB / 0.9563 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.657e-05/0.8394, allocations: 10.97 kB / 0.9563 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.892e-05/0.8395, allocations: 41.89 kB / 0.9563 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001951/0.8397, allocations: 78.25 kB / 0.9564 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.027e-05/0.8397, allocations: 5.094 kB / 0.9564 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.058e-06/0.8398, allocations: 0 / 0.9564 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.8398, allocations: 0 / 0.9564 GB, free: 6.148 MB / 0.7169 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.0007247/0.8405, allocations: 383.3 kB / 0.9568 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.826e-05/0.8406, allocations: 9.094 kB / 0.9568 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.798e-05/0.8407, allocations: 12.62 kB / 0.9568 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.8408, allocations: 170.2 kB / 0.957 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.247e-05/0.8409, allocations: 3.406 kB / 0.957 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.606e-05/0.8409, allocations: 10 kB / 0.957 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002822/0.8412, allocations: 82.3 kB / 0.9571 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.8412, allocations: 1.125 kB / 0.9571 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.8413, allocations: 0 / 0.9571 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.8413, allocations: 1.188 kB / 0.9571 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001917/0.8415, allocations: 47.64 kB / 0.9571 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000585/0.8421, allocations: 325.2 kB / 0.9574 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.8423, allocations: 71.11 kB / 0.9575 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.8424, allocations: 42.22 kB / 0.9575 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.8424, allocations: 0.9062 kB / 0.9575 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003124/0.8428, allocations: 110.6 kB / 0.9576 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 2.605e-06/0.8428, allocations: 5.172 kB / 0.9576 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0005481/0.8433, allocations: 191.3 kB / 0.9578 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.8434, allocations: 53.59 kB / 0.9579 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.806e-05/0.8435, allocations: 113.9 kB / 0.958 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.8435, allocations: 35.2 kB / 0.958 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.272e-05/0.8436, allocations: 87.42 kB / 0.9581 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.8436, allocations: 19.77 kB / 0.9581 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.578e-05/0.8436, allocations: 5.438 kB / 0.9581 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.971e-05/0.8437, allocations: 322.3 kB / 0.9584 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.8439, allocations: 50.44 kB / 0.9585 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.844, allocations: 73.11 kB / 0.9585 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.8442, allocations: 77.5 kB / 0.9586 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.8442, allocations: 0 / 0.9586 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004689/0.8447, allocations: 210.4 kB / 0.9588 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.942e-05/0.8447, allocations: 36.14 kB / 0.9589 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.8448, allocations: 1.844 kB / 0.9589 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.8448, allocations: 9.703 kB / 0.9589 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.8449, allocations: 17.14 kB / 0.9589 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.8449, allocations: 1.844 kB / 0.9589 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002143/0.8451, allocations: 52.58 kB / 0.9589 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.562e-05/0.8452, allocations: 5.375 kB / 0.9589 GB, free: 3.836 MB / 0.7169 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001041/0.8453, allocations: 118.3 kB / 0.9591 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.941e-05/0.8453, allocations: 10.17 kB / 0.9591 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.986e-05/0.8454, allocations: 10.59 kB / 0.9591 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.8454, allocations: 3.953 kB / 0.9591 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.8454, allocations: 0 / 0.9591 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.8454, allocations: 1.656 kB / 0.9591 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004834/0.8459, allocations: 401.3 kB / 0.9595 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.8459, allocations: 0 / 0.9595 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.692e-05/0.8459, allocations: 12.05 kB / 0.9595 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.8459, allocations: 1.375 kB / 0.9595 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.846, allocations: 9.328 kB / 0.9595 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.846, allocations: 1.375 kB / 0.9595 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.846, allocations: 0 / 0.9595 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003633/0.8463, allocations: 245.5 kB / 0.9597 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.382e-05/0.8464, allocations: 82.47 kB / 0.9598 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.8464, allocations: 1.375 kB / 0.9598 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.95e-05/0.8465, allocations: 6.703 kB / 0.9598 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.531e-05/0.8466, allocations: 8.109 kB / 0.9598 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.059e-05/0.8466, allocations: 12.12 kB / 0.9598 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.323e-05/0.8467, allocations: 94.27 kB / 0.9599 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8467, allocations: 0 / 0.9599 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002815/0.8469, allocations: 23.38 kB / 0.9599 GB, free: 2.926 MB / 0.7169 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 (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.0002029/0.8472, allocations: 114.2 kB / 0.96 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003931/0.8476, allocations: 179.3 kB / 0.9602 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.8476, allocations: 5.406 kB / 0.9602 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.8477, allocations: 57.39 kB / 0.9603 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.848, allocations: 14.48 kB / 0.9603 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004613/0.8485, allocations: 183.2 kB / 0.9605 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/0.8487, allocations: 0.6892 MB / 0.9611 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.162e-05/0.8487, allocations: 4.922 kB / 0.9611 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.578e-05/0.8488, allocations: 10.72 kB / 0.9612 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8488, allocations: 0 / 0.9612 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of Templates: time 0.005604/0.8544, allocations: 1.495 MB / 0.9626 GB, free: 1.043 MB / 0.7169 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/jenkins/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