Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.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.001373/0.001373, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001456/0.001456, allocations: 161 kB / 24.16 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.9686/0.9686, allocations: 177.1 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.952/1.952, allocations: 377.9 MB / 0.624 GB, free: 8.328 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.Integers.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaToInt.y|cha.u|cha.up|cha.y|cha.down|changeSampler.u|changeSampler.y|increaseSampler.u|increaseSampler.y|decreaseSampler.u|decreaseSampler.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaToInt.y|cha.u|cha.up|cha.y|cha.down|changeSampler.u|changeSampler.y|increaseSampler.u|increaseSampler.y|decreaseSampler.u|decreaseSampler.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.225e-06/2.225e-06, allocations: 0 / 0.76 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.421e-05/2.643e-05, allocations: 7.078 kB / 0.76 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.006283/0.00631, allocations: 1.968 MB / 0.762 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.004865/0.01118, allocations: 1.254 MB / 0.7632 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001508/0.01133, allocations: 9.438 kB / 0.7632 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0003812/0.01171, allocations: 101.3 kB / 0.7633 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0003925/0.0121, allocations: 145.9 kB / 0.7634 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003391/0.01244, allocations: 124.4 kB / 0.7635 GB, free: 3 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000287/0.01273, allocations: 235.3 kB / 0.7638 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.01286, allocations: 27.02 kB / 0.7638 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00358/0.01644, allocations: 169.3 kB / 0.764 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.01659, allocations: 89.05 kB / 0.764 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.822e-05/0.01662, allocations: 16 kB / 0.7641 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.01674, allocations: 59.84 kB / 0.7641 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.509e-05/0.01682, allocations: 59.81 kB / 0.7642 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.125e-05/0.01688, allocations: 49.11 kB / 0.7642 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003186/0.0172, allocations: 203.2 kB / 0.7644 GB, free: 2.129 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.0172, allocations: 0 / 0.7644 GB, free: 2.129 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.423e-06/0.0172, allocations: 0 / 0.7644 GB, free: 2.129 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.167e-06/0.01721, allocations: 1.438 kB / 0.7644 GB, free: 2.129 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005802/0.01779, allocations: 447.5 kB / 0.7648 GB, free: 1.668 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.01782, allocations: 8.031 kB / 0.7648 GB, free: 1.66 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.119e-05/0.01787, allocations: 30.16 kB / 0.7649 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.0181, allocations: 200.8 kB / 0.7651 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.01812, allocations: 12.12 kB / 0.7651 GB, free: 1.398 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.01814, allocations: 12.91 kB / 0.7651 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.01832, allocations: 104 kB / 0.7652 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.01833, allocations: 0 / 0.7652 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.01834, allocations: 0 / 0.7652 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.01834, allocations: 4.688 kB / 0.7652 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.775e-05/0.0184, allocations: 31.86 kB / 0.7652 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004067/0.01881, allocations: 259.6 kB / 0.7655 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.01896, allocations: 120 kB / 0.7656 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.425e-05/0.01899, allocations: 21.91 kB / 0.7656 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.01901, allocations: 7.938 kB / 0.7656 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002696/0.0217, allocations: 94.91 kB / 0.7657 GB, free: 0.707 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.893e-06/0.02171, allocations: 0.75 kB / 0.7657 GB, free: 0.707 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0002267/0.02193, allocations: 112 kB / 0.7658 GB, free: 0.5938 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.02197, allocations: 57.47 kB / 0.7659 GB, free: 0.5273 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002048/0.02218, allocations: 247.8 kB / 0.7661 GB, free: 284 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.0222, allocations: 33.7 kB / 0.7661 GB, free: 244 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.87e-05/0.02226, allocations: 125 kB / 0.7663 GB, free: 116 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.595e-05/0.0223, allocations: 39.67 kB / 0.7663 GB, free: 76 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.413e-05/0.02237, allocations: 62.84 kB / 0.7663 GB, free: 8 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.02248, allocations: 342.8 kB / 0.7667 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.783e-05/0.02253, allocations: 22.83 kB / 0.7667 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.952e-05/0.0226, allocations: 73.95 kB / 0.7668 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.02273, allocations: 114.5 kB / 0.7669 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.02273, allocations: 4 kB / 0.7669 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001875/0.02292, allocations: 141.5 kB / 0.767 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.02293, allocations: 8 kB / 0.767 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.02294, allocations: 0 / 0.767 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.02295, allocations: 7.984 kB / 0.767 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.02311, allocations: 47.91 kB / 0.7671 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.02312, allocations: 5.344 kB / 0.7671 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.796e-05/0.02319, allocations: 19.94 kB / 0.7671 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.02322, allocations: 8 kB / 0.7671 GB, free: 15.18 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 19 (decreaseSampler.y,$PRE.decreaseSampler.y,increaseSampler.y,$PRE.increaseSampler.y,changeSampler.y,$PRE.changeSampler.y,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition2,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,cha.down,cha.up,cha.y,cha.u,$PRE.cha.u,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * 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 9.782e-05/0.02331, allocations: 141.2 kB / 0.7672 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.02334, allocations: 20.91 kB / 0.7673 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001515/0.02349, allocations: 101.6 kB / 0.7674 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.686e-06/0.0235, allocations: 5.156 kB / 0.7674 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.0235, allocations: 0 / 0.7674 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.0235, allocations: 3.938 kB / 0.7674 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003425/0.02384, allocations: 364.2 kB / 0.7677 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.02384, allocations: 4 kB / 0.7677 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.878e-05/0.02389, allocations: 11.94 kB / 0.7677 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.0239, allocations: 0 / 0.7677 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.02391, allocations: 12.64 kB / 0.7677 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.02391, allocations: 0 / 0.7677 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.02391, allocations: 0.6562 kB / 0.7677 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.02407, allocations: 243 kB / 0.768 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.863e-05/0.0241, allocations: 27.8 kB / 0.768 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.02413, allocations: 3.438 kB / 0.768 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.014e-05/0.02421, allocations: 11.98 kB / 0.768 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-05/0.02425, allocations: 19.97 kB / 0.768 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.02426, allocations: 4 kB / 0.768 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.104e-05/0.02435, allocations: 82.7 kB / 0.7681 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.02435, allocations: 0 / 0.7681 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002738/0.02462, allocations: 51.88 kB / 0.7682 GB, free: 14.05 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 (cha.y,cha.up,cha.down,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cha.u,changeSampler.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,increaseSampler.y,decreaseSampler.y) * Number of discrete states: 3 (timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001286/0.02591, allocations: 0.5111 MB / 0.7687 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001825/0.02609, allocations: 100.6 kB / 0.7688 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.02609, allocations: 4 kB / 0.7688 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.855e-05/0.02616, allocations: 42.91 kB / 0.7688 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.02644, allocations: 65.08 kB / 0.7689 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005741/0.02702, allocations: 370.8 kB / 0.7692 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.995e-05/0.02708, allocations: 88.31 kB / 0.7693 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.918e-05/0.02716, allocations: 33.28 kB / 0.7693 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.02728, allocations: 87.36 kB / 0.7694 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of SimCode: time 8.12e-07/0.02728, allocations: 4 kB / 0.7694 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of Templates: time 0.006935/0.03421, allocations: 3.487 MB / 0.7728 GB, free: 9.668 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_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.220247656106949]