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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001712/0.001712, allocations: 103 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001814/0.001814, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 225.6 MB / 247.8 MB, free: 3.723 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.904/2.904, allocations: 497.2 MB / 0.7812 GB, free: 11.89 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 67.91 kB / 1.134 GB, free: 13.09 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.955/0.957, allocations: 173.9 MB / 1.304 GB, free: 32.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002868/0.9599, allocations: 1.935 MB / 1.306 GB, free: 30.72 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001428/0.9613, allocations: 1.14 MB / 1.307 GB, free: 29.94 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.095e-05/0.9614, allocations: 0 / 1.307 GB, free: 29.94 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0003195/0.9617, allocations: 96.34 kB / 1.307 GB, free: 29.91 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002195/0.9619, allocations: 98 kB / 1.307 GB, free: 29.86 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003049/0.9622, allocations: 154.6 kB / 1.307 GB, free: 29.78 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002102/0.9624, allocations: 218.8 kB / 1.308 GB, free: 29.68 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.9626, allocations: 30.78 kB / 1.308 GB, free: 29.66 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.9627, allocations: 107.4 kB / 1.308 GB, free: 29.62 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.9628, allocations: 111.2 kB / 1.308 GB, free: 29.57 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.497e-05/0.9628, allocations: 11.38 kB / 1.308 GB, free: 29.57 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.9629, allocations: 60 kB / 1.308 GB, free: 29.55 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.219e-05/0.963, allocations: 55.42 kB / 1.308 GB, free: 29.52 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.347e-05/0.9631, allocations: 97.16 kB / 1.308 GB, free: 29.46 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002747/0.9634, allocations: 268.9 kB / 1.308 GB, free: 29.35 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.247e-06/0.9634, allocations: 0 / 1.308 GB, free: 29.35 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.222e-06/0.9634, allocations: 2.875 kB / 1.308 GB, free: 29.35 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.9634, allocations: 0 / 1.308 GB, free: 29.35 MB / 1.061 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.0007533/0.9641, allocations: 0.5438 MB / 1.309 GB, free: 28.87 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.9642, allocations: 15.06 kB / 1.309 GB, free: 28.86 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.837e-05/0.9642, allocations: 49.19 kB / 1.309 GB, free: 28.81 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.765e-05/0.9642, allocations: 28.02 kB / 1.309 GB, free: 28.8 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000301/0.9645, allocations: 287.9 kB / 1.309 GB, free: 28.54 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.9646, allocations: 6 kB / 1.309 GB, free: 28.54 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.9646, allocations: 11.88 kB / 1.309 GB, free: 28.54 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002553/0.9648, allocations: 115.7 kB / 1.309 GB, free: 28.48 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.9648, allocations: 3.938 kB / 1.309 GB, free: 28.48 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.9649, allocations: 4 kB / 1.309 GB, free: 28.48 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.9649, allocations: 6.906 kB / 1.309 GB, free: 28.47 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002391/0.9651, allocations: 86.14 kB / 1.309 GB, free: 28.45 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005875/0.9657, allocations: 454.7 kB / 1.31 GB, free: 28.11 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002847/0.966, allocations: 120.7 kB / 1.31 GB, free: 28.05 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.9661, allocations: 49.41 kB / 1.31 GB, free: 28.03 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.9661, allocations: 2.875 kB / 1.31 GB, free: 28.03 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002335/0.9664, allocations: 134.7 kB / 1.31 GB, free: 27.95 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.744e-06/0.9664, allocations: 7.938 kB / 1.31 GB, free: 27.95 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.0005696/0.9669, allocations: 249.4 kB / 1.31 GB, free: 27.85 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.967, allocations: 54.16 kB / 1.31 GB, free: 27.79 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002513/0.9672, allocations: 324.8 kB / 1.311 GB, free: 27.62 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.9672, allocations: 35.66 kB / 1.311 GB, free: 27.58 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.673e-05/0.9673, allocations: 141.2 kB / 1.311 GB, free: 27.46 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.003e-05/0.9673, allocations: 38.98 kB / 1.311 GB, free: 27.43 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.208e-05/0.9674, allocations: 61.38 kB / 1.311 GB, free: 27.39 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.432e-05/0.9675, allocations: 340.8 kB / 1.311 GB, free: 27.07 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/0.9676, allocations: 79.53 kB / 1.311 GB, free: 27.05 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/0.9678, allocations: 138.9 kB / 1.311 GB, free: 26.96 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003066/0.9681, allocations: 182.7 kB / 1.312 GB, free: 26.86 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.9682, allocations: 4 kB / 1.312 GB, free: 26.86 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000469/0.9686, allocations: 282 kB / 1.312 GB, free: 26.74 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.9686, allocations: 5.719 kB / 1.312 GB, free: 26.74 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.9686, allocations: 2.906 kB / 1.312 GB, free: 26.74 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.9687, allocations: 3.094 kB / 1.312 GB, free: 26.74 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/0.9688, allocations: 47.92 kB / 1.312 GB, free: 26.73 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.9688, allocations: 2.75 kB / 1.312 GB, free: 26.73 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.969, allocations: 30.14 kB / 1.312 GB, free: 26.72 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.969, allocations: 5.938 kB / 1.312 GB, free: 26.72 MB / 1.061 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.0001115/0.9691, allocations: 167.1 kB / 1.312 GB, free: 26.57 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.989e-05/0.9691, allocations: 23.44 kB / 1.312 GB, free: 26.56 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.935e-05/0.9692, allocations: 25.75 kB / 1.312 GB, free: 26.55 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.9692, allocations: 2.844 kB / 1.312 GB, free: 26.55 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.9692, allocations: 7.938 kB / 1.312 GB, free: 26.54 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.9692, allocations: 0 / 1.312 GB, free: 26.54 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006373/0.9698, allocations: 0.5523 MB / 1.313 GB, free: 26.14 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.9698, allocations: 3.469 kB / 1.313 GB, free: 26.14 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.585e-05/0.9699, allocations: 11.78 kB / 1.313 GB, free: 26.14 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.9699, allocations: 2.594 kB / 1.313 GB, free: 26.14 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.9699, allocations: 2.469 kB / 1.313 GB, free: 26.14 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.9699, allocations: 4 kB / 1.313 GB, free: 26.14 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.9699, allocations: 0 / 1.313 GB, free: 26.14 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003676/0.9703, allocations: 296.7 kB / 1.313 GB, free: 25.95 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.482e-05/0.9704, allocations: 101.3 kB / 1.313 GB, free: 25.84 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.457e-05/0.9704, allocations: 6.938 kB / 1.313 GB, free: 25.84 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.9705, allocations: 23.52 kB / 1.313 GB, free: 25.83 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.578e-05/0.9706, allocations: 16.86 kB / 1.313 GB, free: 25.82 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.9706, allocations: 16.75 kB / 1.313 GB, free: 25.82 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001485/0.9707, allocations: 205.2 kB / 1.313 GB, free: 25.71 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9707, allocations: 0 / 1.313 GB, free: 25.71 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003002/0.9711, allocations: 52.02 kB / 1.313 GB, free: 25.7 MB / 1.061 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.00198/0.973, allocations: 1.142 MB / 1.315 GB, free: 24.88 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004449/0.9735, allocations: 175.3 kB / 1.315 GB, free: 24.84 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.9735, allocations: 2.281 kB / 1.315 GB, free: 24.84 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001583/0.9736, allocations: 65.41 kB / 1.315 GB, free: 24.82 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004094/0.974, allocations: 55.73 kB / 1.315 GB, free: 24.8 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002825/0.9769, allocations: 2.583 MB / 1.317 GB, free: 23.09 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/0.9771, allocations: 0.7549 MB / 1.318 GB, free: 22.39 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001046/0.9772, allocations: 38.48 kB / 1.318 GB, free: 22.38 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.9773, allocations: 74.34 kB / 1.318 GB, free: 22.32 MB / 1.061 GB Notification: Performance of SimCode: time 1.032e-06/0.9773, allocations: 0 / 1.318 GB, free: 22.32 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03036/1.008, allocations: 5.455 MB / 1.324 GB, free: 21.46 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.447/9.455, allocations: 2.062 kB / 1.324 GB, free: 21.46 MB / 1.061 GB " [Timeout remaining time 290] (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 --stepSize=0.0004 --timeout=800 --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) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.99131083721295]