Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.704/2.704, allocations: 287.3 MB / 302.3 MB, free: 8.352 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001613/0.001613, allocations: 185.2 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.173/2.173, allocations: 205.4 MB / 0.6295 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001135/0.001135, allocations: 100.2 kB / 0.7428 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008829/0.0008834, allocations: 17.12 kB / 0.8657 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2489, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002421/0.2514, allocations: 1.574 MB / 0.9798 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001988/0.2534, allocations: 0.9612 MB / 0.9808 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000164/0.2537, allocations: 7.938 kB / 0.9808 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003937/0.2541, allocations: 75.77 kB / 0.9809 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002967/0.2544, allocations: 83.69 kB / 0.9809 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005455/0.2549, allocations: 105.4 kB / 0.981 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002666/0.2552, allocations: 127.8 kB / 0.9812 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001772/0.2554, allocations: 41.84 kB / 0.9812 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001793/0.2556, allocations: 95.59 kB / 0.9813 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.2558, allocations: 75.61 kB / 0.9814 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.862e-05/0.2558, allocations: 8 kB / 0.9814 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001607/0.256, allocations: 31.92 kB / 0.9814 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.7e-05/0.2561, allocations: 55.81 kB / 0.9815 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.665e-05/0.2561, allocations: 65.56 kB / 0.9815 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002942/0.2564, allocations: 191.8 kB / 0.9817 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.2565, allocations: 0 / 0.9817 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2565, allocations: 4 kB / 0.9817 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.473e-06/0.2565, allocations: 0 / 0.9817 GB, free: 24.76 MB / 0.6198 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.001011/0.2575, allocations: 0.5139 MB / 0.9822 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.2576, allocations: 16.02 kB / 0.9822 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.524e-05/0.2576, allocations: 42.55 kB / 0.9823 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.328e-05/0.2577, allocations: 23.72 kB / 0.9823 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000455/0.2582, allocations: 282.7 kB / 0.9826 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.2582, allocations: 4.188 kB / 0.9826 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.472e-05/0.2582, allocations: 12 kB / 0.9826 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004103/0.2587, allocations: 119.1 kB / 0.9827 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.2587, allocations: 7.953 kB / 0.9827 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.571e-05/0.2588, allocations: 4 kB / 0.9827 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.2588, allocations: 4 kB / 0.9827 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004412/0.2592, allocations: 96.42 kB / 0.9828 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009362/0.2602, allocations: 460.5 kB / 0.9832 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004915/0.2607, allocations: 138.6 kB / 0.9834 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.719e-05/0.2608, allocations: 4 kB / 0.9834 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004/0.2612, allocations: 131.3 kB / 0.9835 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 3.346e-06/0.2612, allocations: 4 kB / 0.9835 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.001012/0.2622, allocations: 259.1 kB / 0.9837 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/0.2623, allocations: 59.41 kB / 0.9838 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004739/0.2628, allocations: 326.5 kB / 0.9841 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.035e-05/0.2628, allocations: 33.92 kB / 0.9841 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.2629, allocations: 140.5 kB / 0.9843 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.775e-05/0.263, allocations: 43.45 kB / 0.9843 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.93e-05/0.263, allocations: 4 kB / 0.9843 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.348e-05/0.2631, allocations: 338.8 kB / 0.9846 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003241/0.2634, allocations: 91.95 kB / 0.9847 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003525/0.2638, allocations: 141.9 kB / 0.9849 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003438/0.2642, allocations: 99.89 kB / 0.985 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.2642, allocations: 4 kB / 0.985 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008687/0.2651, allocations: 292.3 kB / 0.9852 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.2651, allocations: 8 kB / 0.9852 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.2651, allocations: 0 / 0.9852 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.617e-05/0.2652, allocations: 7.938 kB / 0.9853 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003416/0.2655, allocations: 48.09 kB / 0.9853 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.2655, allocations: 8 kB / 0.9853 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002667/0.2658, allocations: 27.89 kB / 0.9853 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.802e-05/0.2659, allocations: 8 kB / 0.9853 GB, free: 20.79 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.cha.y,$PRE.decreaseSampler.y,decreaseSampler.y,$PRE.increaseSampler.y,increaseSampler.y,$PRE.changeSampler.y,changeSampler.y,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition1,$PRE.cha.u,cha.u,cha.y,cha.up,cha.down,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002012/0.2661, allocations: 171 kB / 0.9855 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.418e-05/0.2661, allocations: 19.81 kB / 0.9855 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.831e-05/0.2662, allocations: 22.19 kB / 0.9855 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.2662, allocations: 8 kB / 0.9856 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.2662, allocations: 3.984 kB / 0.9856 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.2663, allocations: 4 kB / 0.9856 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/0.2674, allocations: 0.5684 MB / 0.9861 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.2674, allocations: 0 / 0.9861 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001532/0.2676, allocations: 19.92 kB / 0.9861 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.2676, allocations: 0 / 0.9861 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/0.2676, allocations: 0 / 0.9861 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.2677, allocations: 4 kB / 0.9861 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2677, allocations: 0 / 0.9861 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007041/0.2684, allocations: 309.1 kB / 0.9864 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.773e-05/0.2685, allocations: 100.8 kB / 0.9865 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.198e-05/0.2686, allocations: 0 / 0.9865 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002546/0.2688, allocations: 27.97 kB / 0.9866 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.2689, allocations: 15.98 kB / 0.9866 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.824e-05/0.269, allocations: 7.984 kB / 0.9866 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002988/0.2693, allocations: 205.9 kB / 0.9868 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2693, allocations: 3.938 kB / 0.9868 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004967/0.2698, allocations: 51.89 kB / 0.9868 GB, free: 19.17 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002216/0.272, allocations: 1.153 MB / 0.988 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008994/0.273, allocations: 199.8 kB / 0.9881 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.273, allocations: 0 / 0.9881 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003118/0.2734, allocations: 80.27 kB / 0.9882 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005436/0.2739, allocations: 40.53 kB / 0.9883 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.2756, allocations: 1.631 MB / 0.9899 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.276, allocations: 0.7518 MB / 0.9906 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002153/0.2762, allocations: 41.92 kB / 0.9906 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000181/0.2764, allocations: 71.41 kB / 0.9907 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of SimCode: time 1.493e-06/0.2764, allocations: 0 / 0.9907 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03187/0.3083, allocations: 4.957 MB / 0.9955 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002771/0.3086, allocations: 225.4 kB / 0.9958 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.574/2.883, allocations: 0 / 0.9958 GB, free: 10.2 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Change_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Change.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)