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.001142/0.001142, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001212/0.001212, allocations: 195 kB / 16.14 MB, free: 6.648 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.222/1.222, allocations: 222.9 MB / 239.8 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.443/2.443, allocations: 461.8 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 68.16 kB / 0.8985 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2395, allocations: 157.4 MB / 1.052 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003088/0.2426, allocations: 1.998 MB / 1.054 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00165/0.2443, allocations: 1.103 MB / 1.055 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.2444, allocations: 11.88 kB / 1.055 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003197/0.2448, allocations: 83.75 kB / 1.055 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002306/0.245, allocations: 83.72 kB / 1.055 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003629/0.2454, allocations: 138.5 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002285/0.2456, allocations: 199.5 kB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.2458, allocations: 45.66 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/0.2459, allocations: 91.55 kB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.2461, allocations: 99.53 kB / 1.056 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.2461, allocations: 8 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.2462, allocations: 47.97 kB / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.124e-05/0.2463, allocations: 55.81 kB / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.891e-05/0.2464, allocations: 87.42 kB / 1.056 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000275/0.2467, allocations: 259.3 kB / 1.056 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.2467, allocations: 0 / 1.056 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.41e-07/0.2467, allocations: 0 / 1.056 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.2467, allocations: 0 / 1.056 GB, free: 3.941 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.0007999/0.2475, allocations: 0.5336 MB / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.2475, allocations: 16.02 kB / 1.057 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.734e-05/0.2476, allocations: 34.75 kB / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.878e-05/0.2477, allocations: 32.56 kB / 1.057 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003197/0.248, allocations: 287.2 kB / 1.057 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.248, allocations: 8 kB / 1.057 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.301e-05/0.248, allocations: 15.94 kB / 1.057 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002725/0.2483, allocations: 118.4 kB / 1.057 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.485e-06/0.2483, allocations: 0 / 1.057 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.2483, allocations: 7.922 kB / 1.057 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.2484, allocations: 0 / 1.057 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002586/0.2486, allocations: 92.48 kB / 1.057 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006285/0.2493, allocations: 452.3 kB / 1.058 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003156/0.2496, allocations: 134.5 kB / 1.058 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.2497, allocations: 60.81 kB / 1.058 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.2498, allocations: 0 / 1.058 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000258/0.25, allocations: 125.9 kB / 1.058 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.25, allocations: 0 / 1.058 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.0005992/0.2506, allocations: 253.1 kB / 1.058 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.2507, allocations: 51.41 kB / 1.059 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002921/0.251, allocations: 330.5 kB / 1.059 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.251, allocations: 29.7 kB / 1.059 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.947e-05/0.2511, allocations: 144.4 kB / 1.059 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.683e-05/0.2512, allocations: 43.48 kB / 1.059 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.292e-05/0.2512, allocations: 61.59 kB / 1.059 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.2514, allocations: 338.8 kB / 1.059 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/0.2516, allocations: 79.95 kB / 1.06 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/0.2518, allocations: 129.1 kB / 1.06 GB, free: 392 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003547/0.2521, allocations: 195 kB / 1.06 GB, free: 180 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2522, allocations: 0 / 1.06 GB, free: 180 kB / 0.8106 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000529/0.2527, allocations: 275.5 kB / 1.06 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.2527, allocations: 4 kB / 1.06 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.443e-06/0.2527, allocations: 4 kB / 1.06 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.2527, allocations: 12.08 kB / 1.06 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.2529, allocations: 43.97 kB / 1.06 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.253, allocations: 7.938 kB / 1.06 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.2531, allocations: 23.88 kB / 1.06 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.344e-05/0.2531, allocations: 8 kB / 1.06 GB, free: 15.8 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.0001256/0.2533, allocations: 157.5 kB / 1.06 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.411e-05/0.2533, allocations: 23.75 kB / 1.06 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.338e-05/0.2534, allocations: 38.11 kB / 1.06 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.2534, allocations: 0 / 1.06 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2534, allocations: 4 kB / 1.06 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.2534, allocations: 4 kB / 1.06 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007198/0.2541, allocations: 0.5474 MB / 1.061 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.2541, allocations: 3.984 kB / 1.061 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.347e-05/0.2542, allocations: 19.92 kB / 1.061 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.2542, allocations: 4 kB / 1.061 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.2542, allocations: 0 / 1.061 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.2542, allocations: 0 / 1.061 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2542, allocations: 0 / 1.061 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004251/0.2547, allocations: 291.2 kB / 1.061 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.471e-05/0.2547, allocations: 100.8 kB / 1.061 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.556e-05/0.2548, allocations: 12 kB / 1.061 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.2549, allocations: 11.98 kB / 1.061 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.735e-05/0.255, allocations: 19.91 kB / 1.061 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.255, allocations: 12 kB / 1.061 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001947/0.2552, allocations: 205.9 kB / 1.062 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2552, allocations: 0 / 1.062 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002998/0.2555, allocations: 55.89 kB / 1.062 GB, free: 14.21 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.001439/0.257, allocations: 1.13 MB / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004165/0.2574, allocations: 191.7 kB / 1.063 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2574, allocations: 4 kB / 1.063 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.2576, allocations: 71.89 kB / 1.063 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.258, allocations: 52.47 kB / 1.063 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002866/0.2608, allocations: 2.613 MB / 1.066 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.2611, allocations: 0.756 MB / 1.066 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.461e-05/0.2612, allocations: 37.91 kB / 1.066 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.2613, allocations: 71.41 kB / 1.066 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.2613, allocations: 0 / 1.066 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1135/0.3748, allocations: 5.037 MB / 1.071 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002382/0.3751, allocations: 261 kB / 1.072 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.743/2.119, allocations: 0 / 1.072 GB, free: 4.113 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