Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008861/0.008861, allocations: 172 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.603/1.603, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.253/3.253, allocations: 473.4 MB / 0.7469 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003823/0.0003823, allocations: 14.72 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4145/0.4149, allocations: 162.2 MB / 1.074 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002822/0.4178, allocations: 1.626 MB / 1.076 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001982/0.4198, allocations: 1.084 MB / 1.077 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.42, allocations: 7.938 kB / 1.077 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004107/0.4204, allocations: 91.67 kB / 1.077 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002506/0.4207, allocations: 79.73 kB / 1.077 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000407/0.4211, allocations: 143.7 kB / 1.077 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002917/0.4214, allocations: 199.5 kB / 1.077 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.4216, allocations: 37.66 kB / 1.077 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001644/0.4217, allocations: 83.56 kB / 1.077 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.4219, allocations: 95.59 kB / 1.078 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.7e-05/0.4219, allocations: 7.938 kB / 1.078 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.422, allocations: 51.95 kB / 1.078 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.71e-05/0.4221, allocations: 47.83 kB / 1.078 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.4222, allocations: 109.1 kB / 1.078 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003227/0.4226, allocations: 255.3 kB / 1.078 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.4226, allocations: 0 / 1.078 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.495e-06/0.4226, allocations: 0 / 1.078 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.4226, allocations: 0 / 1.078 GB, free: 3.609 MB / 0.8262 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.000911/0.4235, allocations: 0.5103 MB / 1.078 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.4236, allocations: 12.03 kB / 1.078 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.863e-05/0.4236, allocations: 24.66 kB / 1.078 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003867/0.424, allocations: 279.5 kB / 1.079 GB, free: 2.703 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/0.4241, allocations: 12 kB / 1.079 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.4241, allocations: 7.938 kB / 1.079 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003342/0.4245, allocations: 130.3 kB / 1.079 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.006e-06/0.4245, allocations: 3.938 kB / 1.079 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/0.4245, allocations: 7.938 kB / 1.079 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.4245, allocations: 4 kB / 1.079 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002988/0.4248, allocations: 97.05 kB / 1.079 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000729/0.4256, allocations: 460.3 kB / 1.079 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003583/0.4259, allocations: 134.7 kB / 1.08 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/0.4261, allocations: 64.81 kB / 1.08 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.4261, allocations: 7.938 kB / 1.08 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000332/0.4265, allocations: 123.3 kB / 1.08 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.844e-06/0.4265, allocations: 0 / 1.08 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0006919/0.4272, allocations: 264.2 kB / 1.08 GB, free: 1.332 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.4273, allocations: 59.41 kB / 1.08 GB, free: 1.262 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003548/0.4276, allocations: 326.5 kB / 1.08 GB, free: 0.9336 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.4277, allocations: 37.7 kB / 1.08 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.4278, allocations: 140.3 kB / 1.081 GB, free: 0.75 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.547e-05/0.4278, allocations: 39.53 kB / 1.081 GB, free: 0.7109 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.218e-05/0.4279, allocations: 33.7 kB / 1.081 GB, free: 0.6719 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.428, allocations: 338.8 kB / 1.081 GB, free: 340 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002168/0.4282, allocations: 87.95 kB / 1.081 GB, free: 252 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002427/0.4285, allocations: 130.3 kB / 1.081 GB, free: 104 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004194/0.4289, allocations: 204 kB / 1.081 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.4289, allocations: 7.875 kB / 1.081 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005645/0.4295, allocations: 293 kB / 1.082 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.4295, allocations: 4 kB / 1.082 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.4296, allocations: 4 kB / 1.082 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.4296, allocations: 0 / 1.082 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/0.4298, allocations: 56.05 kB / 1.082 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.4298, allocations: 0 / 1.082 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001569/0.43, allocations: 27.98 kB / 1.082 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.871e-05/0.43, allocations: 12 kB / 1.082 GB, free: 15.48 MB / 0.8419 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 0.000145/0.4302, allocations: 153.8 kB / 1.082 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.807e-05/0.4302, allocations: 27.64 kB / 1.082 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.588e-05/0.4303, allocations: 26.19 kB / 1.082 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.4303, allocations: 4 kB / 1.082 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.4303, allocations: 0 / 1.082 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.4303, allocations: 3.984 kB / 1.082 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008348/0.4311, allocations: 0.5645 MB / 1.082 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.4311, allocations: 0 / 1.082 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.311e-05/0.4312, allocations: 19.92 kB / 1.083 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.4313, allocations: 0 / 1.083 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.4313, allocations: 11.94 kB / 1.083 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4313, allocations: 0 / 1.083 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4313, allocations: 0 / 1.083 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004991/0.4318, allocations: 307 kB / 1.083 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.988e-05/0.4319, allocations: 100.8 kB / 1.083 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.948e-05/0.4319, allocations: 4 kB / 1.083 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.4321, allocations: 27.97 kB / 1.083 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.931e-05/0.4322, allocations: 11.98 kB / 1.083 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.4322, allocations: 8 kB / 1.083 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002214/0.4325, allocations: 205.9 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of sort global known variables: time 4e-07/0.4325, allocations: 0 / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003377/0.4328, allocations: 51.94 kB / 1.083 GB, free: 13.88 MB / 0.8419 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 (16): * Single equations (assignments): 11 * 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.001198/0.434, allocations: 438.6 kB / 1.084 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005249/0.4345, allocations: 183.8 kB / 1.084 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4346, allocations: 0 / 1.084 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002034/0.4348, allocations: 84.2 kB / 1.084 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004566/0.4352, allocations: 56.88 kB / 1.084 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008055/0.436, allocations: 456.7 kB / 1.084 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003896/0.4365, allocations: 0.7522 MB / 1.085 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000109/0.4366, allocations: 37.91 kB / 1.085 GB, free: 12 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.669e-05/0.4366, allocations: 27.42 kB / 1.085 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of SimCode: time 6.01e-07/0.4367, allocations: 0 / 1.085 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of Templates: time 0.006942/0.4436, allocations: 2.804 MB / 1.088 GB, free: 9.188 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)