Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|thrTim.u|thrTim.passed|thrTim.y|thrTim.t|noThrWitRes.u|noThrWitRes.reset|noThrWitRes.y|thrTimWitRes.u|thrTimWitRes.reset|thrTimWitRes.passed|thrTimWitRes.y|thrTimWitRes.t",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|thrTim.u|thrTim.passed|thrTim.y|thrTim.t|noThrWitRes.u|noThrWitRes.reset|noThrWitRes.y|thrTimWitRes.u|thrTimWitRes.reset|thrTimWitRes.passed|thrTimWitRes.y|thrTimWitRes.t",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.517/2.517, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001388/0.001388, allocations: 176 kB / 0.4902 GB, free: 2.215 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.637/1.637, allocations: 223.1 MB / 0.7992 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00097/0.0009699, allocations: 98.77 kB / 0.9396 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003464/0.0003464, allocations: 10.25 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3194, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1957/0.5152, allocations: 150.7 MB / 1.376 GB, free: 2.836 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003376/0.5156, allocations: 71.95 kB / 1.376 GB, free: 2.766 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01268/0.5284, allocations: 4 MB / 1.38 GB, free: 14.76 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.645e-06/0.5284, allocations: 0 / 1.38 GB, free: 14.76 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.182e-05/0.5285, allocations: 0 / 1.38 GB, free: 14.76 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001111/0.5296, allocations: 0.5471 MB / 1.381 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 7.051e-05/0.5297, allocations: 8.562 kB / 1.381 GB, free: 14.13 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/0.5298, allocations: 35.75 kB / 1.381 GB, free: 14.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.53, allocations: 175 kB / 1.381 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.817e-05/0.5301, allocations: 32.2 kB / 1.381 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-05/0.5301, allocations: 35.98 kB / 1.381 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000481/0.5306, allocations: 255.3 kB / 1.381 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.5307, allocations: 0 / 1.381 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.132e-05/0.5307, allocations: 15.97 kB / 1.381 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.5307, allocations: 4 kB / 1.381 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002515/0.531, allocations: 132.5 kB / 1.382 GB, free: 13.42 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.5321, allocations: 0.5909 MB / 1.382 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005975/0.5327, allocations: 423.7 kB / 1.383 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.5327, allocations: 4.438 kB / 1.383 GB, free: 12.33 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006734/0.5334, allocations: 374.3 kB / 1.383 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=46): time 1.974e-06/0.5334, allocations: 0 / 1.383 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of matching and sorting (n=46): time 0.001166/0.5346, allocations: 0.6744 MB / 1.384 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/0.5347, allocations: 67.14 kB / 1.384 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.5348, allocations: 139.8 kB / 1.384 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.323e-05/0.5349, allocations: 45.7 kB / 1.384 GB, free: 11 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.794e-05/0.535, allocations: 101.1 kB / 1.384 GB, free: 10.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.5351, allocations: 102.8 kB / 1.384 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.261e-05/0.5351, allocations: 16 kB / 1.384 GB, free: 10.78 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.5353, allocations: 338.8 kB / 1.384 GB, free: 10.44 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002973/0.5356, allocations: 149.1 kB / 1.384 GB, free: 10.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003689/0.536, allocations: 292.1 kB / 1.385 GB, free: 9.953 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000336/0.5363, allocations: 220.6 kB / 1.385 GB, free: 9.723 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.5363, allocations: 3.938 kB / 1.385 GB, free: 9.719 MB / 0.8855 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008973/0.5372, allocations: 0.5777 MB / 1.386 GB, free: 9.125 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.45e-05/0.5373, allocations: 67.41 kB / 1.386 GB, free: 9.047 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.5373, allocations: 11.94 kB / 1.386 GB, free: 9.035 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/0.5374, allocations: 8 kB / 1.386 GB, free: 9.027 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.5375, allocations: 39.86 kB / 1.386 GB, free: 8.988 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.5375, allocations: 8 kB / 1.386 GB, free: 8.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004823/0.538, allocations: 111.9 kB / 1.386 GB, free: 8.871 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.121e-05/0.5381, allocations: 27.98 kB / 1.386 GB, free: 8.844 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 64 ($PRE.noThr.u,$PRE.noThr.reset,$PRE.thrTim.u,$PRE.thrTim.reset,$PRE.noThrWitRes.u,$PRE.noThrWitRes.reset,$PRE.thrTimWitRes.u,$PRE.thrTimWitRes.reset,$PRE.noThr.passed,noThr.passed,$PRE.thrTim.passed,thrTim.passed,$PRE.noThrWitRes.passed,noThrWitRes.passed,$PRE.thrTimWitRes.passed,thrTimWitRes.passed,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition20,noThr.reset,$whenCondition16,thrTim.reset,$whenCondition12,$whenCondition8,noThrWitRes.reset,thrTimWitRes.reset,$PRE.resTim.y,resTim.y,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition5,$whenCondition6,$whenCondition7,noThr.u,$PRE.noThr.entryTime,noThr.entryTime,$PRE.noThr.yAcc,noThr.yAcc,thrTim.u,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.thrTim.yAcc,thrTim.yAcc,noThrWitRes.u,$PRE.noThrWitRes.entryTime,noThrWitRes.entryTime,$PRE.noThrWitRes.yAcc,noThrWitRes.yAcc,thrTimWitRes.u,$PRE.thrTimWitRes.entryTime,thrTimWitRes.entryTime,$PRE.thrTimWitRes.yAcc,thrTimWitRes.yAcc,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 2 * 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.0002127/0.5383, allocations: 190.8 kB / 1.386 GB, free: 8.648 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.208e-05/0.5384, allocations: 27.8 kB / 1.386 GB, free: 8.621 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.211e-05/0.5384, allocations: 26.31 kB / 1.386 GB, free: 8.598 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.5384, allocations: 7.953 kB / 1.386 GB, free: 8.59 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.5384, allocations: 3.984 kB / 1.386 GB, free: 8.586 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.5385, allocations: 0 / 1.386 GB, free: 8.586 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/0.54, allocations: 1.062 MB / 1.387 GB, free: 7.461 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.54, allocations: 0 / 1.387 GB, free: 7.461 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.507e-05/0.5401, allocations: 19.98 kB / 1.387 GB, free: 7.441 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.744e-06/0.5401, allocations: 4 kB / 1.387 GB, free: 7.438 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.956e-05/0.5401, allocations: 15.97 kB / 1.387 GB, free: 7.422 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.5401, allocations: 7.938 kB / 1.387 GB, free: 7.414 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.5402, allocations: 64 / 1.387 GB, free: 7.414 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008106/0.541, allocations: 0.6639 MB / 1.388 GB, free: 6.715 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.389e-05/0.541, allocations: 96.83 kB / 1.388 GB, free: 6.602 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.483e-05/0.5411, allocations: 27.97 kB / 1.388 GB, free: 6.574 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.5413, allocations: 35.97 kB / 1.388 GB, free: 6.539 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.947e-05/0.5414, allocations: 47.88 kB / 1.388 GB, free: 6.492 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-05/0.5415, allocations: 35.97 kB / 1.388 GB, free: 6.457 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.246e-05/0.5415, allocations: 107.1 kB / 1.388 GB, free: 6.352 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5415, allocations: 0 / 1.388 GB, free: 6.352 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004331/0.542, allocations: 112 kB / 1.388 GB, free: 6.242 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 42 (noThrWitRes.reset,thrTimWitRes.reset,noThr.u,noThrWitRes.u,thrTim.u,thrTimWitRes.u,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,noThr.passed,noThr.entryTime,noThr.yAcc,thrTim.passed,thrTim.entryTime,thrTim.yAcc,noThrWitRes.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.passed,thrTimWitRes.entryTime,thrTimWitRes.yAcc,booPul.y,resTim.y,noThr.reset,thrTim.reset) * Number of discrete states: 16 (thrTimWitRes.entryTime,thrTimWitRes.yAcc,thrTim.entryTime,thrTim.yAcc,thrTim.y,thrTim.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,noThr.entryTime,noThr.yAcc,noThr.y,noThr.passed,noThrWitRes.y,noThrWitRes.passed,thrTimWitRes.y,thrTimWitRes.passed) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0002597/0.5422, allocations: 163.9 kB / 1.388 GB, free: 6.07 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0008073/0.5431, allocations: 0.5462 MB / 1.389 GB, free: 5.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.5431, allocations: 0 / 1.389 GB, free: 5.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003757/0.5435, allocations: 308.3 kB / 1.389 GB, free: 5.199 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.5438, allocations: 31.97 kB / 1.389 GB, free: 5.168 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008328/0.5446, allocations: 0.4978 MB / 1.39 GB, free: 4.645 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.545, allocations: 0.7384 MB / 1.39 GB, free: 3.879 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 9.281e-05/0.5451, allocations: 30.97 kB / 1.39 GB, free: 3.852 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.978e-05/0.5451, allocations: 31.38 kB / 1.39 GB, free: 3.824 MB / 0.8855 GB Notification: Performance of SimCode: time 3.1e-07/0.5451, allocations: 0 / 1.39 GB, free: 3.824 MB / 0.8855 GB Notification: Performance of Templates: time 0.007624/0.5528, allocations: 3.828 MB / 1.394 GB, free: 8 kB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches