Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.0009667/0.0009667, allocations: 90.44 kB / 15.36 MB, free: 0.7383 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.008999/0.008999, allocations: 172.6 kB / 16.26 MB, free: 6.613 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.703/1.703, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.247/3.247, allocations: 473.4 MB / 0.7469 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000419/0.0004193, allocations: 13.97 kB / 0.9158 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4173/0.4177, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002612/0.4204, allocations: 1.626 MB / 1.076 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001939/0.4223, allocations: 1.088 MB / 1.077 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.4225, allocations: 3.938 kB / 1.077 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003921/0.4229, allocations: 91.7 kB / 1.077 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002435/0.4231, allocations: 87.66 kB / 1.077 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003837/0.4235, allocations: 139.7 kB / 1.077 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002898/0.4238, allocations: 195.5 kB / 1.077 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.424, allocations: 45.66 kB / 1.077 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.4242, allocations: 87.55 kB / 1.077 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.4243, allocations: 95.53 kB / 1.078 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.317e-05/0.4243, allocations: 4 kB / 1.078 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.4245, allocations: 43.98 kB / 1.078 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.477e-05/0.4246, allocations: 51.81 kB / 1.078 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.4247, allocations: 105.1 kB / 1.078 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000315/0.425, allocations: 255.3 kB / 1.078 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.425, allocations: 4 kB / 1.078 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.793e-06/0.425, allocations: 0 / 1.078 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.425, allocations: 0 / 1.078 GB, free: 3.625 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.0008731/0.4259, allocations: 0.5103 MB / 1.078 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.426, allocations: 8.031 kB / 1.078 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.8e-05/0.426, allocations: 24.66 kB / 1.078 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003604/0.4264, allocations: 287.4 kB / 1.079 GB, free: 2.715 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.72e-05/0.4264, allocations: 11.98 kB / 1.079 GB, free: 2.703 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.035e-05/0.4265, allocations: 12 kB / 1.079 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003236/0.4268, allocations: 114.9 kB / 1.079 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.4268, allocations: 3.938 kB / 1.079 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.4269, allocations: 11.94 kB / 1.079 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.4269, allocations: 0 / 1.079 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002988/0.4272, allocations: 99.92 kB / 1.079 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008313/0.428, allocations: 460.3 kB / 1.079 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003821/0.4284, allocations: 134.6 kB / 1.08 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001794/0.4286, allocations: 64.83 kB / 1.08 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.433e-05/0.4286, allocations: 4 kB / 1.08 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000337/0.429, allocations: 131.3 kB / 1.08 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.954e-06/0.429, allocations: 0 / 1.08 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0007789/0.4298, allocations: 267.9 kB / 1.08 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.144e-05/0.4299, allocations: 59.33 kB / 1.08 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000459/0.4303, allocations: 330.5 kB / 1.08 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.4304, allocations: 29.7 kB / 1.08 GB, free: 0.9062 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.4305, allocations: 140.3 kB / 1.081 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.7e-05/0.4306, allocations: 39.55 kB / 1.081 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.849e-05/0.4306, allocations: 33.7 kB / 1.081 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001865/0.4308, allocations: 334.8 kB / 1.081 GB, free: 360 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002305/0.4311, allocations: 95.94 kB / 1.081 GB, free: 264 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002621/0.4313, allocations: 134.3 kB / 1.081 GB, free: 112 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004742/0.4318, allocations: 195.8 kB / 1.081 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.4318, allocations: 7.875 kB / 1.081 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006484/0.4325, allocations: 293.2 kB / 1.082 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.4325, allocations: 8 kB / 1.082 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.4325, allocations: 0 / 1.082 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/0.4326, allocations: 4 kB / 1.082 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.4328, allocations: 43.91 kB / 1.082 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.4328, allocations: 4 kB / 1.082 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/0.433, allocations: 19.98 kB / 1.082 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-05/0.433, allocations: 23.94 kB / 1.082 GB, free: 15.5 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.0001895/0.4332, allocations: 153.8 kB / 1.082 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.568e-05/0.4333, allocations: 27.66 kB / 1.082 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.121e-05/0.4334, allocations: 26.17 kB / 1.082 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.4334, allocations: 0 / 1.082 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/0.4334, allocations: 0 / 1.082 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.4334, allocations: 3.938 kB / 1.082 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000967/0.4344, allocations: 0.5606 MB / 1.082 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4344, allocations: 0 / 1.082 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.943e-05/0.4345, allocations: 19.92 kB / 1.082 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-06/0.4345, allocations: 4 kB / 1.082 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.414e-05/0.4346, allocations: 11.98 kB / 1.083 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.4346, allocations: 0 / 1.083 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.4346, allocations: 0 / 1.083 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005214/0.4351, allocations: 311.1 kB / 1.083 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.878e-05/0.4352, allocations: 100.8 kB / 1.083 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.624e-05/0.4352, allocations: 4 kB / 1.083 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.4354, allocations: 15.98 kB / 1.083 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.219e-05/0.4355, allocations: 19.97 kB / 1.083 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.4355, allocations: 4 kB / 1.083 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002407/0.4358, allocations: 213.9 kB / 1.083 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.11e-07/0.4358, allocations: 0 / 1.083 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003325/0.4361, allocations: 55.92 kB / 1.083 GB, free: 13.89 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.001168/0.4373, allocations: 425 kB / 1.084 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005293/0.4378, allocations: 201.8 kB / 1.084 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4379, allocations: 0 / 1.084 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001926/0.438, allocations: 71.97 kB / 1.084 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000435/0.4385, allocations: 47.23 kB / 1.084 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008801/0.4394, allocations: 465 kB / 1.084 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004863/0.4399, allocations: 0.7482 MB / 1.085 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000116/0.44, allocations: 45.84 kB / 1.085 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.088e-05/0.4401, allocations: 19.44 kB / 1.085 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of SimCode: time 8.71e-07/0.4401, allocations: 0 / 1.085 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of Templates: time 0.007311/0.4474, allocations: 2.814 MB / 1.088 GB, free: 9.199 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)