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.001186/0.001186, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00117/0.00117, allocations: 188.3 kB / 16.25 MB, free: 6.598 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.331/1.331, allocations: 222.9 MB / 239.9 MB, free: 4.562 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.417/2.417, allocations: 437 MB / 0.7101 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 67.89 kB / 0.8689 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6498/0.6511, allocations: 151.6 MB / 1.017 GB, free: 2.695 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003547/0.6547, allocations: 1.976 MB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001753/0.6565, allocations: 1.108 MB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.6567, allocations: 0 / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004187/0.6571, allocations: 91.7 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003185/0.6574, allocations: 95.7 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004338/0.6579, allocations: 131.7 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002897/0.6582, allocations: 211.5 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.6584, allocations: 57.62 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001847/0.6586, allocations: 95.56 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.6587, allocations: 107.6 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.31e-05/0.6587, allocations: 12 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.6589, allocations: 51.92 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.323e-05/0.659, allocations: 63.8 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.294e-05/0.6591, allocations: 87.42 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003331/0.6594, allocations: 265.4 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.6594, allocations: 11.88 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.665e-06/0.6594, allocations: 4 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.6595, allocations: 0 / 1.021 GB, free: 14.33 MB / 0.7794 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.0009229/0.6604, allocations: 0.5351 MB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.6604, allocations: 8.031 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.165e-05/0.6605, allocations: 46.67 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.536e-05/0.6606, allocations: 24.66 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003534/0.6609, allocations: 291.1 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.661, allocations: 12 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.661, allocations: 12 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002964/0.6613, allocations: 120.7 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.6613, allocations: 0 / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.6613, allocations: 7.938 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.6613, allocations: 7.938 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000271/0.6616, allocations: 79.92 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006773/0.6623, allocations: 456.5 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003149/0.6626, allocations: 126.7 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.6628, allocations: 60.81 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.6628, allocations: 4 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000273/0.6631, allocations: 132.6 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.814e-06/0.6631, allocations: 4 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.00062/0.6637, allocations: 238.6 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.6638, allocations: 63.39 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003251/0.6641, allocations: 326.5 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.6642, allocations: 33.7 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.837e-05/0.6643, allocations: 136.4 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.691e-05/0.6643, allocations: 39.55 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.572e-05/0.6644, allocations: 61.69 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.6645, allocations: 330.8 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002033/0.6647, allocations: 83.94 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000221/0.665, allocations: 133 kB / 1.024 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003486/0.6653, allocations: 181 kB / 1.025 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.6653, allocations: 8 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005331/0.6659, allocations: 283.1 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.6659, allocations: 7.938 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.6659, allocations: 0 / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.6659, allocations: 4 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001917/0.6661, allocations: 43.91 kB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.6661, allocations: 4.156 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.6663, allocations: 27.91 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/0.6663, allocations: 12 kB / 1.025 GB, free: 10.2 MB / 0.7794 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.0001496/0.6665, allocations: 162.2 kB / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.888e-05/0.6665, allocations: 23.66 kB / 1.025 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.653e-05/0.6666, allocations: 26.17 kB / 1.025 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.6666, allocations: 4 kB / 1.025 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.6666, allocations: 0 / 1.025 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.6666, allocations: 4 kB / 1.025 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007507/0.6674, allocations: 0.546 MB / 1.026 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.6674, allocations: 0 / 1.026 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.478e-05/0.6675, allocations: 15.98 kB / 1.026 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.6675, allocations: 0 / 1.026 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.6675, allocations: 15.98 kB / 1.026 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.6675, allocations: 7.938 kB / 1.026 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.6675, allocations: 0 / 1.026 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004246/0.6679, allocations: 295.8 kB / 1.026 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.244e-05/0.668, allocations: 100.8 kB / 1.026 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.663e-05/0.6681, allocations: 7.984 kB / 1.026 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.6682, allocations: 15.98 kB / 1.026 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.026e-05/0.6683, allocations: 15.98 kB / 1.026 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.6683, allocations: 7.984 kB / 1.026 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001913/0.6685, allocations: 213.9 kB / 1.026 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6685, allocations: 0 / 1.026 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003109/0.6688, allocations: 47.98 kB / 1.026 GB, free: 8.609 MB / 0.7794 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.001571/0.6704, allocations: 1.144 MB / 1.028 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004582/0.6709, allocations: 191.8 kB / 1.028 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.6709, allocations: 4.312 kB / 1.028 GB, free: 7.41 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001797/0.6711, allocations: 70.84 kB / 1.028 GB, free: 7.344 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/0.6715, allocations: 53.94 kB / 1.028 GB, free: 7.289 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003522/0.675, allocations: 2.612 MB / 1.03 GB, free: 4.562 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.6754, allocations: 0.744 MB / 1.031 GB, free: 3.793 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001114/0.6755, allocations: 41.91 kB / 1.031 GB, free: 3.754 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.6756, allocations: 75.41 kB / 1.031 GB, free: 3.68 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.6756, allocations: 0 / 1.031 GB, free: 3.68 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05849/0.7341, allocations: 5.185 MB / 1.036 GB, free: 14.63 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/0.7344, allocations: 240 kB / 1.037 GB, free: 14.38 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.852/2.586, allocations: 0 / 1.037 GB, free: 14.38 MB / 0.795 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=50 --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