Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_10_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005821/0.005821, allocations: 98.2 kB / 15.73 MB, free: 5.988 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.001711/0.001711, allocations: 186.9 kB / 16.67 MB, free: 5.918 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.238/1.238, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.389/2.389, allocations: 437.1 MB / 0.7106 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002126/0.002126, allocations: 71.89 kB / 1.018 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2506, allocations: 151.6 MB / 1.166 GB, free: 7.215 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002973/0.2536, allocations: 1.927 MB / 1.168 GB, free: 5.266 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001683/0.2553, allocations: 1.111 MB / 1.169 GB, free: 4.148 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.296e-05/0.2554, allocations: 3.938 kB / 1.169 GB, free: 4.145 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002142/0.2556, allocations: 103.6 kB / 1.169 GB, free: 4.043 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002007/0.2558, allocations: 95.53 kB / 1.169 GB, free: 3.949 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000337/0.2562, allocations: 159.5 kB / 1.17 GB, free: 3.793 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002181/0.2564, allocations: 215.4 kB / 1.17 GB, free: 3.582 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.2565, allocations: 49.59 kB / 1.17 GB, free: 3.531 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.2566, allocations: 99.55 kB / 1.17 GB, free: 3.434 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.2568, allocations: 95.66 kB / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.767e-05/0.2568, allocations: 15.94 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.2569, allocations: 63.95 kB / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.441e-05/0.257, allocations: 59.77 kB / 1.17 GB, free: 3.203 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.035e-05/0.2571, allocations: 87.47 kB / 1.17 GB, free: 3.117 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002921/0.2574, allocations: 271.1 kB / 1.17 GB, free: 2.852 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.2574, allocations: 8 kB / 1.17 GB, free: 2.844 MB / 0.92 GB Notification: Performance of FrontEnd: time 7.71e-07/0.2574, allocations: 0 / 1.17 GB, free: 2.844 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.045e-06/0.2574, allocations: 0 / 1.17 GB, free: 2.844 MB / 0.92 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.0006947/0.2581, allocations: 0.5449 MB / 1.171 GB, free: 2.25 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 2.162e-05/0.2581, allocations: 8.031 kB / 1.171 GB, free: 2.242 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.751e-05/0.2582, allocations: 42.73 kB / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.489e-05/0.2582, allocations: 28.8 kB / 1.171 GB, free: 2.164 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003057/0.2585, allocations: 291.2 kB / 1.171 GB, free: 1.844 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.2585, allocations: 7.938 kB / 1.171 GB, free: 1.836 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.2586, allocations: 12 kB / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.2588, allocations: 113.6 kB / 1.171 GB, free: 1.707 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.2588, allocations: 11.86 kB / 1.171 GB, free: 1.695 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.2589, allocations: 7.984 kB / 1.171 GB, free: 1.688 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.344e-06/0.2589, allocations: 0 / 1.171 GB, free: 1.688 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000259/0.2591, allocations: 91.92 kB / 1.172 GB, free: 1.598 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005891/0.2597, allocations: 452.4 kB / 1.172 GB, free: 1.105 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002985/0.26, allocations: 122.7 kB / 1.172 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.2602, allocations: 64.75 kB / 1.172 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.2602, allocations: 4 kB / 1.172 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002407/0.2605, allocations: 125.3 kB / 1.172 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of pre-optimization done (n=16): time 1.472e-06/0.2605, allocations: 0 / 1.172 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of matching and sorting (n=16): time 0.0005814/0.2611, allocations: 245.4 kB / 1.173 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.2611, allocations: 55.41 kB / 1.173 GB, free: 472 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000316/0.2614, allocations: 330.5 kB / 1.173 GB, free: 132 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.2615, allocations: 33.7 kB / 1.173 GB, free: 92 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.2616, allocations: 140.4 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.081e-05/0.2616, allocations: 47.67 kB / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.495e-05/0.2617, allocations: 57.69 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.2618, allocations: 338.8 kB / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/0.262, allocations: 83.95 kB / 1.174 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002298/0.2623, allocations: 130.1 kB / 1.174 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003667/0.2627, allocations: 187.6 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.2627, allocations: 7.938 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005222/0.2632, allocations: 283.1 kB / 1.174 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/0.2632, allocations: 8 kB / 1.174 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.2632, allocations: 4 kB / 1.174 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.2632, allocations: 4 kB / 1.174 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.2634, allocations: 43.91 kB / 1.174 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.2634, allocations: 0 / 1.174 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.2636, allocations: 32.02 kB / 1.174 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.2636, allocations: 12 kB / 1.174 GB, free: 14.68 MB / 0.9356 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.0001331/0.2638, allocations: 165.5 kB / 1.174 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.227e-05/0.2638, allocations: 19.86 kB / 1.174 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.53e-05/0.2638, allocations: 26.17 kB / 1.174 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.2639, allocations: 4 kB / 1.174 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.2639, allocations: 0 / 1.174 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.2639, allocations: 0 / 1.174 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007614/0.2646, allocations: 0.5553 MB / 1.175 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2646, allocations: 0 / 1.175 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.408e-05/0.2647, allocations: 19.92 kB / 1.175 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.2647, allocations: 0 / 1.175 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.2648, allocations: 4 kB / 1.175 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.2648, allocations: 4 kB / 1.175 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.2648, allocations: 0 / 1.175 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004402/0.2652, allocations: 295.2 kB / 1.175 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.115e-05/0.2653, allocations: 109 kB / 1.175 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.618e-05/0.2653, allocations: 0 / 1.175 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.2655, allocations: 19.97 kB / 1.175 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/0.2655, allocations: 19.97 kB / 1.175 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.2655, allocations: 7.938 kB / 1.175 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002035/0.2657, allocations: 210 kB / 1.176 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2658, allocations: 0 / 1.176 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002773/0.266, allocations: 51.92 kB / 1.176 GB, free: 13.09 MB / 0.9356 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.001953/0.268, allocations: 1.145 MB / 1.177 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004176/0.2684, allocations: 187.7 kB / 1.177 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-06/0.2684, allocations: 0 / 1.177 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001794/0.2686, allocations: 79.88 kB / 1.177 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.269, allocations: 52.89 kB / 1.177 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002969/0.272, allocations: 2.57 MB / 1.18 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.2723, allocations: 0.7518 MB / 1.18 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.285e-05/0.2724, allocations: 33.92 kB / 1.18 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.2725, allocations: 75.41 kB / 1.18 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of SimCode: time 2.6e-07/0.2725, allocations: 3.938 kB / 1.18 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7958/1.068, allocations: 5.419 MB / 1.186 GB, free: 2.922 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.751/9.82, allocations: 11.98 kB / 1.186 GB, free: 2.91 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Change_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Change.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches