Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_11_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.003803/0.003804, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001114/0.001114, allocations: 195.3 kB / 16.67 MB, free: 5.977 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.244/1.244, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.459/2.459, allocations: 469.8 MB / 0.7425 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 63.89 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.2437, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002729/0.2464, allocations: 1.937 MB / 1.222 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001498/0.2479, allocations: 1.122 MB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.372e-05/0.248, allocations: 0 / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000276/0.2483, allocations: 95.56 kB / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002109/0.2485, allocations: 95.58 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003137/0.2489, allocations: 166.7 kB / 1.224 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002356/0.2491, allocations: 215.5 kB / 1.224 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.2492, allocations: 41.66 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.2494, allocations: 95.61 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.2495, allocations: 111.5 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.899e-05/0.2495, allocations: 16 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.2496, allocations: 51.98 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.126e-05/0.2497, allocations: 59.81 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.554e-05/0.2498, allocations: 87.41 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002965/0.2501, allocations: 274.8 kB / 1.224 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.2501, allocations: 0 / 1.224 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2501, allocations: 0 / 1.224 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.2501, allocations: 0 / 1.224 GB, free: 9.961 MB / 0.9825 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.0007429/0.2509, allocations: 0.5489 MB / 1.225 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 2.608e-05/0.2509, allocations: 12.03 kB / 1.225 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.024e-05/0.251, allocations: 46.73 kB / 1.225 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.634e-05/0.251, allocations: 24.75 kB / 1.225 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003077/0.2513, allocations: 291.2 kB / 1.225 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.2513, allocations: 12 kB / 1.225 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/0.2514, allocations: 4 kB / 1.225 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002548/0.2516, allocations: 119.9 kB / 1.225 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.2517, allocations: 7.938 kB / 1.225 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.2517, allocations: 4 kB / 1.225 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.2517, allocations: 4 kB / 1.225 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002487/0.2519, allocations: 83.86 kB / 1.226 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005998/0.2525, allocations: 452.4 kB / 1.226 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003048/0.2529, allocations: 134.6 kB / 1.226 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.253, allocations: 56.83 kB / 1.226 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.253, allocations: 3.984 kB / 1.226 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002504/0.2533, allocations: 134.1 kB / 1.226 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 4.558e-06/0.2533, allocations: 0 / 1.226 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.000575/0.2539, allocations: 253.2 kB / 1.227 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.2539, allocations: 55.41 kB / 1.227 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00031/0.2542, allocations: 326.6 kB / 1.227 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.2543, allocations: 37.64 kB / 1.227 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.876e-05/0.2544, allocations: 136.5 kB / 1.227 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.985e-05/0.2544, allocations: 47.67 kB / 1.227 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.693e-05/0.2545, allocations: 53.7 kB / 1.227 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.2546, allocations: 334.8 kB / 1.227 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002003/0.2548, allocations: 95.94 kB / 1.228 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.2551, allocations: 138 kB / 1.228 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003558/0.2554, allocations: 185 kB / 1.228 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2554, allocations: 0 / 1.228 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005027/0.256, allocations: 279.3 kB / 1.228 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.256, allocations: 8 kB / 1.228 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.256, allocations: 0 / 1.228 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.256, allocations: 8.156 kB / 1.228 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.2562, allocations: 39.91 kB / 1.228 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.2562, allocations: 4 kB / 1.228 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.2563, allocations: 23.88 kB / 1.228 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.2564, allocations: 15.98 kB / 1.228 GB, free: 5.793 MB / 0.9825 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.00013/0.2565, allocations: 157.7 kB / 1.228 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.195e-05/0.2565, allocations: 23.86 kB / 1.228 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.626e-05/0.2566, allocations: 30.17 kB / 1.228 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.2566, allocations: 0 / 1.228 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.2566, allocations: 4 kB / 1.228 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.2566, allocations: 0 / 1.228 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007228/0.2573, allocations: 0.5528 MB / 1.229 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2573, allocations: 0 / 1.229 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.884e-05/0.2574, allocations: 11.98 kB / 1.229 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.2574, allocations: 8 kB / 1.229 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.2575, allocations: 11.92 kB / 1.229 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2575, allocations: 0 / 1.229 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.2575, allocations: 0 / 1.229 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000427/0.2579, allocations: 293.2 kB / 1.229 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.614e-05/0.258, allocations: 104.9 kB / 1.229 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.995e-05/0.258, allocations: 4 kB / 1.229 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.2581, allocations: 23.97 kB / 1.229 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.391e-05/0.2582, allocations: 11.98 kB / 1.229 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.2582, allocations: 11.94 kB / 1.229 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001839/0.2584, allocations: 209.9 kB / 1.23 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2584, allocations: 0 / 1.23 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002712/0.2587, allocations: 43.94 kB / 1.23 GB, free: 4.211 MB / 0.9825 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.001908/0.2606, allocations: 1.144 MB / 1.231 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004122/0.261, allocations: 184 kB / 1.231 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.261, allocations: 0 / 1.231 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001716/0.2612, allocations: 71.89 kB / 1.231 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.2616, allocations: 63.67 kB / 1.231 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002859/0.2644, allocations: 2.585 MB / 1.234 GB, free: 216 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.2648, allocations: 0.7519 MB / 1.234 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.891e-05/0.2649, allocations: 41.92 kB / 1.234 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.265, allocations: 67.41 kB / 1.234 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of SimCode: time 2.11e-07/0.265, allocations: 0 / 1.234 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.736/2.001, allocations: 5.432 MB / 1.24 GB, free: 10 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/14.28, allocations: 5.922 kB / 1.24 GB, free: 10 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Change_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Change.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches