Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.619/1.619, allocations: 288.4 MB / 303.3 MB, free: 8.191 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.0009889/0.0009889, allocations: 184.5 kB / 372 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.616/1.616, allocations: 205.4 MB / 0.6307 GB, free: 10 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.001111/0.001111, allocations: 98.8 kB / 0.744 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004487/0.0004487, allocations: 12.22 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2657, allocations: 115.3 MB / 0.9797 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002293/0.2681, allocations: 1.578 MB / 0.9812 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001354/0.2694, allocations: 0.9727 MB / 0.9821 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.2696, allocations: 7.938 kB / 0.9822 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003649/0.2699, allocations: 83.75 kB / 0.9822 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001996/0.2701, allocations: 79.67 kB / 0.9823 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002918/0.2704, allocations: 111.8 kB / 0.9824 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002088/0.2707, allocations: 179.5 kB / 0.9826 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.2708, allocations: 37.83 kB / 0.9826 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.271, allocations: 83.56 kB / 0.9827 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.2711, allocations: 91.59 kB / 0.9828 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.2711, allocations: 4 kB / 0.9828 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.2712, allocations: 47.97 kB / 0.9828 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.14e-05/0.2713, allocations: 47.77 kB / 0.9829 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.745e-05/0.2713, allocations: 53.64 kB / 0.9829 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.2716, allocations: 207.8 kB / 0.9831 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.687e-06/0.2716, allocations: 0 / 0.9831 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.787e-06/0.2716, allocations: 0 / 0.9831 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.962e-06/0.2716, allocations: 3.938 kB / 0.9831 GB, free: 23.96 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.0008112/0.2724, allocations: 0.514 MB / 0.9836 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.2725, allocations: 12.02 kB / 0.9837 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.803e-05/0.2726, allocations: 46.5 kB / 0.9837 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.933e-05/0.2726, allocations: 27.72 kB / 0.9837 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003304/0.2729, allocations: 274.7 kB / 0.984 GB, free: 23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.273, allocations: 8.188 kB / 0.984 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.273, allocations: 12 kB / 0.984 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002812/0.2733, allocations: 123.1 kB / 0.9841 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.2733, allocations: 0 / 0.9841 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.2733, allocations: 7.953 kB / 0.9841 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.2733, allocations: 0 / 0.9841 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002649/0.2736, allocations: 100.5 kB / 0.9842 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006827/0.2743, allocations: 472.4 kB / 0.9847 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003038/0.2746, allocations: 130.6 kB / 0.9848 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.2748, allocations: 64.81 kB / 0.9849 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.216e-05/0.2748, allocations: 3.938 kB / 0.9849 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002626/0.2751, allocations: 123.3 kB / 0.985 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.513e-06/0.2751, allocations: 0 / 0.985 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.0006356/0.2757, allocations: 263.2 kB / 0.9852 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.2758, allocations: 59.34 kB / 0.9853 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.2761, allocations: 326.4 kB / 0.9856 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.2761, allocations: 37.7 kB / 0.9856 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.349e-05/0.2762, allocations: 144.5 kB / 0.9858 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.597e-05/0.2762, allocations: 43.45 kB / 0.9858 GB, free: 21 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.126e-05/0.2763, allocations: 4 kB / 0.9858 GB, free: 21 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.877e-05/0.2763, allocations: 338.8 kB / 0.9861 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.2765, allocations: 83.95 kB / 0.9862 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/0.2768, allocations: 145.9 kB / 0.9864 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002012/0.277, allocations: 96.72 kB / 0.9865 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.277, allocations: 0 / 0.9865 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004893/0.2775, allocations: 299.1 kB / 0.9867 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.2775, allocations: 8 kB / 0.9867 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2775, allocations: 0 / 0.9867 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.2775, allocations: 7.984 kB / 0.9868 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.2777, allocations: 47.91 kB / 0.9868 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.2778, allocations: 4 kB / 0.9868 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001495/0.2779, allocations: 27.95 kB / 0.9868 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.344e-05/0.278, allocations: 8 kB / 0.9868 GB, free: 19.92 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.0001321/0.2781, allocations: 176 kB / 0.987 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.484e-05/0.2781, allocations: 19.81 kB / 0.987 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.056e-05/0.2782, allocations: 26.17 kB / 0.9871 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.2782, allocations: 4 kB / 0.9871 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.2782, allocations: 0 / 0.9871 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.2782, allocations: 4 kB / 0.9871 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006736/0.2789, allocations: 0.5567 MB / 0.9876 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.2789, allocations: 0 / 0.9876 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.203e-05/0.279, allocations: 19.98 kB / 0.9876 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.279, allocations: 4 kB / 0.9876 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.279, allocations: 3.984 kB / 0.9876 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.279, allocations: 0 / 0.9876 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.279, allocations: 0 / 0.9876 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004279/0.2795, allocations: 308 kB / 0.9879 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.351e-05/0.2795, allocations: 108.8 kB / 0.988 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.203e-05/0.2796, allocations: 3.984 kB / 0.988 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.2797, allocations: 23.92 kB / 0.9881 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.645e-05/0.2798, allocations: 15.98 kB / 0.9881 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.2798, allocations: 11.98 kB / 0.9881 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001609/0.28, allocations: 205.9 kB / 0.9883 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.28, allocations: 0 / 0.9883 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003017/0.2803, allocations: 55.89 kB / 0.9883 GB, free: 18.3 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.001381/0.2817, allocations: 1.15 MB / 0.9895 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004236/0.2821, allocations: 195.8 kB / 0.9896 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2821, allocations: 0 / 0.9896 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001643/0.2823, allocations: 79.89 kB / 0.9897 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003948/0.2827, allocations: 41.36 kB / 0.9898 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002291/0.285, allocations: 1.522 MB / 0.9912 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.2853, allocations: 0.744 MB / 0.992 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001062/0.2854, allocations: 49.84 kB / 0.992 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.2855, allocations: 75.41 kB / 0.9921 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of SimCode: time 3.41e-07/0.2855, allocations: 0 / 0.9921 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01646/0.302, allocations: 5.054 MB / 0.997 GB, free: 9.559 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001425/0.3022, allocations: 242.6 kB / 0.9973 GB, free: 9.316 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.921/2.224, allocations: 0 / 0.9973 GB, free: 9.316 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Change_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Change.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)