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.001018/0.001018, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001158/0.001158, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 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.9593/0.9593, allocations: 177.2 MB / 204.2 MB, free: 5.586 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.812/1.812, allocations: 377.8 MB / 0.6236 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 178] 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 1.553e-06/1.553e-06, allocations: 0 / 0.8115 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.762e-05/1.918e-05, allocations: 7.234 kB / 0.8115 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001299/0.001318, allocations: 0.7612 MB / 0.8123 GB, free: 0.9688 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.002484, allocations: 1.198 MB / 0.8135 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.478e-05/0.002528, allocations: 0 / 0.8135 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.144e-05/0.00256, allocations: 6.031 kB / 0.8135 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.151e-05/0.002631, allocations: 19.84 kB / 0.8135 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004421/0.003074, allocations: 127.6 kB / 0.8136 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001547/0.003228, allocations: 121.1 kB / 0.8137 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.225e-05/0.00332, allocations: 11.98 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.003434, allocations: 67.88 kB / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.501e-05/0.003519, allocations: 35.89 kB / 0.8138 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.003542, allocations: 8.562 kB / 0.8138 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.539e-05/0.003598, allocations: 29.27 kB / 0.8139 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.391e-05/0.003622, allocations: 19.91 kB / 0.8139 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.693e-05/0.003669, allocations: 23.98 kB / 0.8139 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.00381, allocations: 103.7 kB / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.003812, allocations: 1.969 kB / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.61e-07/0.003812, allocations: 0 / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.003816, allocations: 0 / 0.814 GB, free: 15.2 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.000452/0.004268, allocations: 434.1 kB / 0.8144 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.004305, allocations: 8.031 kB / 0.8144 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.358e-05/0.004359, allocations: 13.52 kB / 0.8144 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.027e-05/0.004439, allocations: 113.1 kB / 0.8146 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.004453, allocations: 4.375 kB / 0.8146 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.004471, allocations: 17.03 kB / 0.8146 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.004593, allocations: 67.45 kB / 0.8146 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.0046, allocations: 4.125 kB / 0.8146 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.00461, allocations: 1.812 kB / 0.8146 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.004618, allocations: 384 / 0.8146 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.546e-05/0.004654, allocations: 11.94 kB / 0.8147 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003813/0.005035, allocations: 324.1 kB / 0.815 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.005136, allocations: 44.48 kB / 0.815 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.922e-05/0.005165, allocations: 15.69 kB / 0.815 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.595e-06/0.005173, allocations: 1.156 kB / 0.815 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.878e-05/0.005271, allocations: 77.09 kB / 0.8151 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.784e-06/0.005273, allocations: 0 / 0.8151 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0002078/0.005481, allocations: 99.17 kB / 0.8152 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.005516, allocations: 55.41 kB / 0.8152 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.197e-05/0.005598, allocations: 173.9 kB / 0.8154 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.005619, allocations: 33.7 kB / 0.8154 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.866e-05/0.005678, allocations: 143.7 kB / 0.8156 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.061e-05/0.005699, allocations: 19.91 kB / 0.8156 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.436e-05/0.005753, allocations: 48.12 kB / 0.8156 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.005884, allocations: 496.1 kB / 0.8161 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.644e-05/0.005961, allocations: 62.89 kB / 0.8162 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.385e-05/0.006045, allocations: 112 kB / 0.8163 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.006146, allocations: 126.3 kB / 0.8164 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.006148, allocations: 0 / 0.8164 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002052/0.006354, allocations: 206.1 kB / 0.8166 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/0.006382, allocations: 37.62 kB / 0.8166 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.006386, allocations: 7.938 kB / 0.8166 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.006398, allocations: 1.875 kB / 0.8166 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.302e-05/0.006461, allocations: 8 kB / 0.8167 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.006468, allocations: 4 kB / 0.8167 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.638e-05/0.006554, allocations: 31.91 kB / 0.8167 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.006568, allocations: 6.469 kB / 0.8167 GB, free: 12.17 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.599e-05/0.006644, allocations: 171.3 kB / 0.8169 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.511e-05/0.006659, allocations: 15.88 kB / 0.8169 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.278e-05/0.006682, allocations: 12.42 kB / 0.8169 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.006684, allocations: 4 kB / 0.8169 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.006687, allocations: 0.5 kB / 0.8169 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.006691, allocations: 0.5312 kB / 0.8169 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002393/0.00693, allocations: 347.3 kB / 0.8172 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.006933, allocations: 4 kB / 0.8172 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.501e-05/0.006958, allocations: 7.938 kB / 0.8172 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.006959, allocations: 0 / 0.8172 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.006967, allocations: 4 kB / 0.8172 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.006968, allocations: 0.7812 kB / 0.8172 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.006969, allocations: 0 / 0.8172 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001197/0.007089, allocations: 232.5 kB / 0.8175 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.983e-06/0.007096, allocations: 4 kB / 0.8175 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.007111, allocations: 4.641 kB / 0.8175 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.437e-05/0.007146, allocations: 8 kB / 0.8175 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.401e-05/0.00718, allocations: 7.141 kB / 0.8175 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.513e-06/0.007186, allocations: 4 kB / 0.8175 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.985e-05/0.007226, allocations: 135.2 kB / 0.8176 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.1e-08/0.007226, allocations: 0 / 0.8176 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001687/0.007395, allocations: 24 kB / 0.8176 GB, free: 11.14 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.0003739/0.007769, allocations: 107.2 kB / 0.8177 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001942/0.007963, allocations: 171.1 kB / 0.8179 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.007965, allocations: 0 / 0.8179 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.696e-05/0.008002, allocations: 27.67 kB / 0.8179 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001846/0.008186, allocations: 16.81 kB / 0.8179 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002688/0.008455, allocations: 163.9 kB / 0.8181 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.793e-05/0.008493, allocations: 68.16 kB / 0.8182 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.451e-05/0.008518, allocations: 9.078 kB / 0.8182 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.679e-05/0.008544, allocations: 12.5 kB / 0.8182 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of SimCode: time 7.52e-07/0.008545, allocations: 0 / 0.8182 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of Templates: time 0.003267/0.01181, allocations: 1.715 MB / 0.8199 GB, free: 8.84 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.0754500068724155]