Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001067/0.001067, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001056/0.001056, allocations: 177 kB / 23.36 MB, free: 1.129 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 1.007/1.007, allocations: 177.1 MB / 203.8 MB, free: 5.449 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.46/2.46, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.586e-05/2.809e-05, allocations: 8.359 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002035/0.002063, allocations: 0.7519 MB / 0.8393 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.00163/0.003693, allocations: 1.193 MB / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.982e-05/0.003743, allocations: 3.938 kB / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.212e-05/0.003775, allocations: 3.938 kB / 0.8405 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.626e-05/0.003861, allocations: 11.92 kB / 0.8405 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004747/0.004336, allocations: 131.6 kB / 0.8406 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001927/0.004528, allocations: 119.7 kB / 0.8408 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.417e-05/0.004613, allocations: 12 kB / 0.8408 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.004755, allocations: 75.8 kB / 0.8408 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 9.222e-05/0.004847, allocations: 31.95 kB / 0.8409 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.004873, allocations: 8 kB / 0.8409 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 6.844e-05/0.004942, allocations: 19.98 kB / 0.8409 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.755e-05/0.004969, allocations: 15.92 kB / 0.8409 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.101e-05/0.00502, allocations: 31.97 kB / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.005197, allocations: 95.75 kB / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.0052, allocations: 0 / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.52e-07/0.005201, allocations: 0 / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.005205, allocations: 4 kB / 0.841 GB, free: 11.7 MB / 0.8073 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.0004723/0.005677, allocations: 306.4 kB / 0.8413 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.005715, allocations: 12.03 kB / 0.8413 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.487e-05/0.00576, allocations: 8.922 kB / 0.8414 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.005861, allocations: 117.6 kB / 0.8415 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.005875, allocations: 8.312 kB / 0.8415 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.46e-05/0.005899, allocations: 12.38 kB / 0.8415 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.006025, allocations: 62.92 kB / 0.8415 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.006033, allocations: 192 / 0.8415 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.006041, allocations: 384 / 0.8415 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-06/0.006047, allocations: 4.375 kB / 0.8415 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.128e-05/0.006079, allocations: 15.92 kB / 0.8416 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003181/0.006397, allocations: 184.2 kB / 0.8417 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.405e-05/0.006491, allocations: 34.62 kB / 0.8418 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.146e-05/0.006512, allocations: 8.859 kB / 0.8418 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.006524, allocations: 7.984 kB / 0.8418 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001041/0.006628, allocations: 71.44 kB / 0.8419 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.006629, allocations: 0 / 0.8419 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0001558/0.006785, allocations: 77.59 kB / 0.8419 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.006823, allocations: 55.41 kB / 0.842 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.721e-05/0.0069, allocations: 118.7 kB / 0.8421 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.006922, allocations: 25.7 kB / 0.8421 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.704e-05/0.006969, allocations: 96.06 kB / 0.8422 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/0.006996, allocations: 19.89 kB / 0.8422 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.37e-05/0.00706, allocations: 37.69 kB / 0.8423 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.646e-05/0.007156, allocations: 318.8 kB / 0.8426 GB, free: 9.965 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.077e-05/0.007227, allocations: 53.62 kB / 0.8426 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.378e-05/0.007311, allocations: 85.97 kB / 0.8427 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.007426, allocations: 105.9 kB / 0.8428 GB, free: 9.676 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.007428, allocations: 0 / 0.8428 GB, free: 9.676 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002216/0.00765, allocations: 169 kB / 0.843 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.964e-05/0.007689, allocations: 39.89 kB / 0.843 GB, free: 9.449 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.007698, allocations: 7.938 kB / 0.843 GB, free: 9.441 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.007713, allocations: 3.938 kB / 0.843 GB, free: 9.438 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.238e-05/0.007786, allocations: 16.11 kB / 0.843 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.00779, allocations: 4 kB / 0.843 GB, free: 9.418 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.007907, allocations: 23.92 kB / 0.8431 GB, free: 9.395 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.007925, allocations: 7.984 kB / 0.8431 GB, free: 9.387 MB / 0.8073 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 8.193e-05/0.008007, allocations: 121.8 kB / 0.8432 GB, free: 9.258 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.689e-05/0.008024, allocations: 15.97 kB / 0.8432 GB, free: 9.242 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.29e-05/0.008047, allocations: 8.375 kB / 0.8432 GB, free: 9.238 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.008049, allocations: 0 / 0.8432 GB, free: 9.238 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.008051, allocations: 4 kB / 0.8432 GB, free: 9.234 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.008054, allocations: 4 kB / 0.8432 GB, free: 9.23 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002306/0.008285, allocations: 222.7 kB / 0.8434 GB, free: 8.988 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.008286, allocations: 0 / 0.8434 GB, free: 8.988 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.359e-05/0.00832, allocations: 4 kB / 0.8434 GB, free: 8.984 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.008325, allocations: 3.938 kB / 0.8434 GB, free: 8.98 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-06/0.008331, allocations: 0 / 0.8434 GB, free: 8.98 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.008333, allocations: 0 / 0.8434 GB, free: 8.98 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.008334, allocations: 0 / 0.8434 GB, free: 8.98 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/0.008444, allocations: 159.9 kB / 0.8436 GB, free: 8.809 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.142e-05/0.008455, allocations: 7.938 kB / 0.8436 GB, free: 8.801 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.008474, allocations: 11.94 kB / 0.8436 GB, free: 8.789 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.048e-05/0.008535, allocations: 0 / 0.8436 GB, free: 8.789 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.008568, allocations: 15.92 kB / 0.8436 GB, free: 8.773 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.008573, allocations: 0 / 0.8436 GB, free: 8.773 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.185e-05/0.008595, allocations: 16.84 kB / 0.8436 GB, free: 8.754 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.1e-08/0.008595, allocations: 0 / 0.8436 GB, free: 8.754 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002653/0.008861, allocations: 24 kB / 0.8437 GB, free: 8.73 MB / 0.8073 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.0001713/0.009032, allocations: 89.22 kB / 0.8437 GB, free: 8.633 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001896/0.009222, allocations: 153.9 kB / 0.8439 GB, free: 8.461 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.009224, allocations: 4 kB / 0.8439 GB, free: 8.457 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.027e-05/0.009265, allocations: 24.91 kB / 0.8439 GB, free: 8.43 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.009486, allocations: 15.94 kB / 0.8439 GB, free: 8.414 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003089/0.009795, allocations: 157.1 kB / 0.8441 GB, free: 8.23 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.033e-05/0.009835, allocations: 59.36 kB / 0.8441 GB, free: 8.152 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.134e-05/0.009867, allocations: 12.23 kB / 0.8441 GB, free: 8.141 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.009968, allocations: 67.36 kB / 0.8442 GB, free: 8.074 MB / 0.8073 GB Notification: Performance of SimCode: time 6.71e-07/0.009969, allocations: 0 / 0.8442 GB, free: 8.074 MB / 0.8073 GB Notification: Performance of Templates: time 0.004314/0.01428, allocations: 1.688 MB / 0.8459 GB, free: 6.426 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.489545678719878]