Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 82.64 kB / 20.68 MB, free: 3.816 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 181 kB / 24.09 MB, free: 420 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9831/0.9831, allocations: 177.1 MB / 204.5 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.89/1.89, allocations: 377.9 MB / 0.6239 GB, free: 8.418 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.597e-06/3.597e-06, allocations: 0 / 0.812 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.858e-05/3.218e-05, allocations: 3.625 kB / 0.812 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001784/0.001816, allocations: 0.7398 MB / 0.8127 GB, free: 0.7031 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001332/0.003148, allocations: 1.199 MB / 0.8139 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.666e-05/0.003194, allocations: 0 / 0.8139 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.455e-05/0.003219, allocations: 4.812 kB / 0.8139 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.591e-05/0.003285, allocations: 15.86 kB / 0.8139 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000356/0.003641, allocations: 133.9 kB / 0.8141 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002868/0.003928, allocations: 119.8 kB / 0.8142 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.241e-05/0.004, allocations: 15.97 kB / 0.8142 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.74e-05/0.004097, allocations: 59.95 kB / 0.8143 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.381e-05/0.004161, allocations: 37.22 kB / 0.8143 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.004182, allocations: 8 kB / 0.8143 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.549e-05/0.004238, allocations: 27.92 kB / 0.8143 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.978e-05/0.004258, allocations: 11.98 kB / 0.8143 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.246e-05/0.0043, allocations: 37.5 kB / 0.8144 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.004434, allocations: 95.69 kB / 0.8145 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.132e-05/0.004446, allocations: 4 kB / 0.8145 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.162e-06/0.004447, allocations: 0 / 0.8145 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.004451, allocations: 1.719 kB / 0.8145 GB, free: 14.94 MB / 0.7761 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.0003764/0.004827, allocations: 434.1 kB / 0.8149 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.004862, allocations: 8.031 kB / 0.8149 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.544e-05/0.004897, allocations: 12.89 kB / 0.8149 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.8e-05/0.004965, allocations: 117.4 kB / 0.815 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.004979, allocations: 8.312 kB / 0.815 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.004993, allocations: 8.906 kB / 0.815 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001/0.005093, allocations: 66.92 kB / 0.8151 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.261e-06/0.005099, allocations: 0.9062 kB / 0.8151 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.582e-06/0.005106, allocations: 4.891 kB / 0.8151 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.005112, allocations: 4.375 kB / 0.8151 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.192e-05/0.005134, allocations: 9.25 kB / 0.8151 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002939/0.005427, allocations: 300.2 kB / 0.8154 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.509e-05/0.005503, allocations: 39.64 kB / 0.8154 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.011e-05/0.005523, allocations: 17.05 kB / 0.8155 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.586e-06/0.005531, allocations: 4 kB / 0.8155 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.778e-05/0.005619, allocations: 69.23 kB / 0.8155 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/0.00562, allocations: 9.094 kB / 0.8155 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0001539/0.005774, allocations: 93.78 kB / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.005802, allocations: 55.41 kB / 0.8157 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.998e-05/0.005882, allocations: 179 kB / 0.8158 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.005899, allocations: 29.7 kB / 0.8159 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.258e-05/0.005952, allocations: 142.8 kB / 0.816 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.005971, allocations: 24.94 kB / 0.816 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.174e-05/0.006023, allocations: 39.36 kB / 0.8161 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.006144, allocations: 0.4923 MB / 0.8165 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.514e-05/0.006199, allocations: 54.5 kB / 0.8166 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.148e-05/0.006271, allocations: 106.8 kB / 0.8167 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.795e-05/0.006369, allocations: 121.8 kB / 0.8168 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.006372, allocations: 5.266 kB / 0.8168 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001817/0.006554, allocations: 192.9 kB / 0.817 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/0.006584, allocations: 38.53 kB / 0.817 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.00659, allocations: 7.938 kB / 0.8171 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.006603, allocations: 1.219 kB / 0.8171 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.784e-05/0.006661, allocations: 11.98 kB / 0.8171 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/0.006665, allocations: 4 kB / 0.8171 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.027e-05/0.006745, allocations: 21.3 kB / 0.8171 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.006759, allocations: 11.98 kB / 0.8171 GB, free: 11.97 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * 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 7.221e-05/0.006832, allocations: 170.1 kB / 0.8173 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.083e-05/0.006842, allocations: 7.953 kB / 0.8173 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.43e-05/0.006867, allocations: 12.38 kB / 0.8173 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.00687, allocations: 6.719 kB / 0.8173 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.006872, allocations: 0 / 0.8173 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.006875, allocations: 0 / 0.8173 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004808/0.007356, allocations: 318 kB / 0.8176 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.007357, allocations: 0 / 0.8176 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.542e-05/0.007382, allocations: 7.938 kB / 0.8176 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.007385, allocations: 3.938 kB / 0.8176 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-06/0.00739, allocations: 4.5 kB / 0.8176 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.007392, allocations: 0.5312 kB / 0.8176 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.007394, allocations: 7.922 kB / 0.8176 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001016/0.007496, allocations: 225.8 kB / 0.8178 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.071e-06/0.007502, allocations: 0 / 0.8178 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.007517, allocations: 11.98 kB / 0.8178 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.485e-05/0.007552, allocations: 8 kB / 0.8178 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.08e-05/0.007583, allocations: 11.98 kB / 0.8179 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.007587, allocations: 0.6562 kB / 0.8179 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.035e-05/0.007628, allocations: 131.7 kB / 0.818 GB, free: 11 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.007628, allocations: 0.6562 kB / 0.818 GB, free: 11 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001595/0.007787, allocations: 26.91 kB / 0.818 GB, free: 10.98 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001058/0.007893, allocations: 111.2 kB / 0.8181 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001529/0.008046, allocations: 160.7 kB / 0.8183 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.008047, allocations: 0 / 0.8183 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.945e-05/0.008077, allocations: 23.67 kB / 0.8183 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001828/0.00826, allocations: 24.89 kB / 0.8183 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002434/0.008503, allocations: 166.7 kB / 0.8185 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.123e-05/0.008534, allocations: 63.22 kB / 0.8185 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.197e-05/0.008556, allocations: 8.922 kB / 0.8185 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.671e-05/0.008633, allocations: 86.19 kB / 0.8186 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of SimCode: time 6.31e-07/0.008634, allocations: 1.125 kB / 0.8186 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of Templates: time 0.003253/0.01189, allocations: 1.722 MB / 0.8203 GB, free: 8.602 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.039749398827553]