Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_latest_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.0008412/0.0008412, allocations: 90.52 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.004955/0.004955, allocations: 173.9 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.268/1.268, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.487/2.487, allocations: 462.7 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002904/0.0002904, allocations: 8.281 kB / 0.9029 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2697, allocations: 159.6 MB / 1.059 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.001715/0.2715, allocations: 1.643 MB / 1.06 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001359/0.2728, allocations: 1.076 MB / 1.061 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.231e-05/0.2729, allocations: 4 kB / 1.061 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001825/0.2731, allocations: 91.67 kB / 1.062 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001482/0.2732, allocations: 79.73 kB / 1.062 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002644/0.2735, allocations: 138.3 kB / 1.062 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001814/0.2737, allocations: 203.4 kB / 1.062 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.704e-05/0.2738, allocations: 41.66 kB / 1.062 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.936e-05/0.2739, allocations: 83.61 kB / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.99e-05/0.274, allocations: 91.61 kB / 1.062 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.274, allocations: 4 kB / 1.062 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.314e-05/0.2741, allocations: 51.91 kB / 1.062 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.298e-05/0.2742, allocations: 55.75 kB / 1.062 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.426e-05/0.2743, allocations: 105.1 kB / 1.062 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000216/0.2745, allocations: 251.4 kB / 1.063 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.2745, allocations: 0 / 1.063 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.21e-07/0.2745, allocations: 0 / 1.063 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.2745, allocations: 0 / 1.063 GB, free: 0.9531 MB / 0.8106 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.0005912/0.2751, allocations: 0.5103 MB / 1.063 GB, free: 404 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.369e-05/0.2751, allocations: 15.91 kB / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.161e-05/0.2752, allocations: 46.73 kB / 1.063 GB, free: 332 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.581e-05/0.2752, allocations: 24.66 kB / 1.063 GB, free: 308 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/0.2755, allocations: 283.3 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.2755, allocations: 8 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.2755, allocations: 16 kB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002391/0.2758, allocations: 128.5 kB / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.278e-06/0.2758, allocations: 0 / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.2758, allocations: 7.844 kB / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2758, allocations: 4 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002582/0.2761, allocations: 99.92 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005242/0.2766, allocations: 456.4 kB / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002805/0.2769, allocations: 130.7 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.2771, allocations: 64.81 kB / 1.064 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.2771, allocations: 0 / 1.064 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002259/0.2773, allocations: 135.3 kB / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.313e-06/0.2773, allocations: 0 / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0005471/0.2779, allocations: 265.2 kB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.2779, allocations: 59.34 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002837/0.2782, allocations: 326.6 kB / 1.065 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.2782, allocations: 33.7 kB / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.569e-05/0.2783, allocations: 144.3 kB / 1.065 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.033e-05/0.2784, allocations: 35.55 kB / 1.065 GB, free: 14 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-05/0.2784, allocations: 33.7 kB / 1.065 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.421e-05/0.2785, allocations: 338.8 kB / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.2787, allocations: 91.89 kB / 1.066 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/0.2789, allocations: 129.1 kB / 1.066 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003508/0.2793, allocations: 205 kB / 1.066 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.2793, allocations: 4 kB / 1.066 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004928/0.2798, allocations: 283.2 kB / 1.066 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.656e-06/0.2798, allocations: 4 kB / 1.066 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.005e-06/0.2798, allocations: 4.156 kB / 1.066 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.274e-06/0.2798, allocations: 8 kB / 1.066 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.28, allocations: 47.91 kB / 1.066 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.28, allocations: 0 / 1.066 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.2802, allocations: 31.83 kB / 1.066 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.2802, allocations: 8 kB / 1.066 GB, free: 12.78 MB / 0.8262 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.0001186/0.2803, allocations: 173.4 kB / 1.067 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.983e-05/0.2803, allocations: 27.64 kB / 1.067 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.067e-05/0.2804, allocations: 22.19 kB / 1.067 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.2804, allocations: 4 kB / 1.067 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.2804, allocations: 0 / 1.067 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2804, allocations: 3.984 kB / 1.067 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006888/0.2811, allocations: 0.5634 MB / 1.067 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2811, allocations: 0 / 1.067 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.119e-05/0.2812, allocations: 15.98 kB / 1.067 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.2812, allocations: 0 / 1.067 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.2812, allocations: 7.938 kB / 1.067 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.2812, allocations: 3.938 kB / 1.067 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2812, allocations: 4 kB / 1.067 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004052/0.2817, allocations: 303.1 kB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.711e-05/0.2817, allocations: 104.8 kB / 1.068 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.859e-05/0.2818, allocations: 12 kB / 1.068 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.2819, allocations: 23.97 kB / 1.068 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.662e-05/0.2819, allocations: 11.98 kB / 1.068 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.282, allocations: 8 kB / 1.068 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001701/0.2821, allocations: 209.9 kB / 1.068 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2821, allocations: 0 / 1.068 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002861/0.2824, allocations: 48 kB / 1.068 GB, free: 11.15 MB / 0.8262 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.001365/0.2838, allocations: 1.155 MB / 1.069 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003943/0.2842, allocations: 191.7 kB / 1.069 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2842, allocations: 0 / 1.069 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001716/0.2844, allocations: 80.2 kB / 1.069 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.2848, allocations: 53.98 kB / 1.069 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002748/0.2875, allocations: 2.645 MB / 1.072 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/0.2878, allocations: 0.7443 MB / 1.073 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.549e-05/0.2879, allocations: 41.92 kB / 1.073 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.288, allocations: 75.41 kB / 1.073 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.288, allocations: 0 / 1.073 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.3/1.587, allocations: 4.84 MB / 1.077 GB, free: 1.48 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002175/1.588, allocations: 251 kB / 1.078 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.774/3.362, allocations: 0 / 1.078 GB, free: 1.227 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Change_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Change.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches