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.0009971/0.0009971, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001193/0.001193, allocations: 161 kB / 24.17 MB, free: 332 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.9672/0.9672, allocations: 177.2 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.965/1.965, allocations: 377.9 MB / 0.624 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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 2.495e-06/2.495e-06, allocations: 0 / 0.76 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.151e-05/2.401e-05, allocations: 7.578 kB / 0.76 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001458/0.001482, allocations: 0.754 MB / 0.7608 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001231/0.002712, allocations: 1.2 MB / 0.7619 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.689e-05/0.002759, allocations: 2.625 kB / 0.7619 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.703e-05/0.002786, allocations: 3.938 kB / 0.7619 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.336e-05/0.00286, allocations: 15.86 kB / 0.762 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004094/0.003269, allocations: 132.8 kB / 0.7621 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.003417, allocations: 115.6 kB / 0.7622 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.636e-05/0.003493, allocations: 16.62 kB / 0.7622 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.003601, allocations: 66.23 kB / 0.7623 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.878e-05/0.003679, allocations: 46.08 kB / 0.7623 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.0037, allocations: 12 kB / 0.7623 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.667e-05/0.003757, allocations: 23.94 kB / 0.7624 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.236e-05/0.003779, allocations: 12.7 kB / 0.7624 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.953e-05/0.003819, allocations: 35.91 kB / 0.7624 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.003947, allocations: 92.72 kB / 0.7625 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.003949, allocations: 4 kB / 0.7625 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.743e-06/0.003951, allocations: 3.984 kB / 0.7625 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.296e-06/0.003954, allocations: 0.5312 kB / 0.7625 GB, free: 4.133 MB / 0.7136 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.0003681/0.004322, allocations: 299.8 kB / 0.7628 GB, free: 3.809 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.004359, allocations: 8.031 kB / 0.7628 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/0.004394, allocations: 12.92 kB / 0.7628 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.889e-05/0.004473, allocations: 114.3 kB / 0.7629 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.004486, allocations: 8.375 kB / 0.7629 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.004502, allocations: 5.594 kB / 0.7629 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.877e-05/0.004601, allocations: 70.86 kB / 0.763 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.00461, allocations: 4.172 kB / 0.763 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.004618, allocations: 9.141 kB / 0.763 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.004624, allocations: 384 / 0.763 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.42e-05/0.004648, allocations: 9.219 kB / 0.763 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002689/0.004917, allocations: 172.3 kB / 0.7632 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.144e-05/0.004999, allocations: 35.25 kB / 0.7632 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.028e-05/0.005019, allocations: 21.73 kB / 0.7632 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-06/0.005026, allocations: 0 / 0.7632 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.056e-05/0.005117, allocations: 67.94 kB / 0.7633 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/0.005118, allocations: 1.688 kB / 0.7633 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0001382/0.005257, allocations: 81.53 kB / 0.7634 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.005294, allocations: 51.41 kB / 0.7634 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.656e-05/0.005361, allocations: 130.6 kB / 0.7636 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.00538, allocations: 31.05 kB / 0.7636 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.218e-05/0.005422, allocations: 96.05 kB / 0.7637 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/0.005439, allocations: 15.84 kB / 0.7637 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.686e-05/0.005486, allocations: 37.69 kB / 0.7637 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.598e-05/0.005562, allocations: 324.1 kB / 0.764 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.946e-05/0.005611, allocations: 49.69 kB / 0.7641 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.193e-05/0.005673, allocations: 89.95 kB / 0.7642 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.044e-05/0.005754, allocations: 98.62 kB / 0.7643 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.005756, allocations: 0 / 0.7643 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001421/0.005898, allocations: 180.9 kB / 0.7644 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.005923, allocations: 29.7 kB / 0.7645 GB, free: 1.902 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.005928, allocations: 4 kB / 0.7645 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.00594, allocations: 3.938 kB / 0.7645 GB, free: 1.895 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.791e-05/0.005998, allocations: 18.95 kB / 0.7645 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.006002, allocations: 4 kB / 0.7645 GB, free: 1.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.25e-05/0.006085, allocations: 27.94 kB / 0.7645 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.006098, allocations: 8.047 kB / 0.7645 GB, free: 1.84 MB / 0.7136 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 6.44e-05/0.006162, allocations: 115.4 kB / 0.7646 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.151e-05/0.006173, allocations: 12 kB / 0.7646 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.196e-05/0.006195, allocations: 13.92 kB / 0.7647 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.006198, allocations: 3.938 kB / 0.7647 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.0062, allocations: 0 / 0.7647 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.006202, allocations: 0 / 0.7647 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.006384, allocations: 231.3 kB / 0.7649 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.006385, allocations: 0 / 0.7649 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.395e-05/0.006409, allocations: 5.5 kB / 0.7649 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.006411, allocations: 0 / 0.7649 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.006417, allocations: 3.938 kB / 0.7649 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.006419, allocations: 6.375 kB / 0.7649 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.00642, allocations: 0 / 0.7649 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.965e-05/0.006499, allocations: 147.5 kB / 0.765 GB, free: 1.27 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.065e-06/0.006507, allocations: 11.95 kB / 0.7651 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.006524, allocations: 11.86 kB / 0.7651 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.449e-05/0.006558, allocations: 4 kB / 0.7651 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.671e-05/0.006585, allocations: 7.984 kB / 0.7651 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.00659, allocations: 6.75 kB / 0.7651 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.727e-05/0.006608, allocations: 20.83 kB / 0.7651 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006608, allocations: 0 / 0.7651 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000154/0.006762, allocations: 20 kB / 0.7651 GB, free: 1.188 MB / 0.7136 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.0001563/0.006918, allocations: 88.36 kB / 0.7652 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002102/0.007128, allocations: 150.7 kB / 0.7654 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.007133, allocations: 5.156 kB / 0.7654 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.21e-05/0.007175, allocations: 20.84 kB / 0.7654 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001928/0.007368, allocations: 13.81 kB / 0.7654 GB, free: 0.8867 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003473/0.007715, allocations: 157 kB / 0.7655 GB, free: 0.7031 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.622e-05/0.007762, allocations: 69.77 kB / 0.7656 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.932e-05/0.007791, allocations: 4 kB / 0.7656 GB, free: 0.6133 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.115e-05/0.007882, allocations: 71.34 kB / 0.7657 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of SimCode: time 1.203e-06/0.007883, allocations: 0 / 0.7657 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of Templates: time 0.003675/0.01156, allocations: 1.65 MB / 0.7673 GB, free: 14.98 MB / 0.7292 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.133857170119882]