Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 104.4 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.485/1.485, allocations: 230.6 MB / 252.8 MB, free: 9.121 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.29/3.29, allocations: 0.505 GB / 0.8066 GB, free: 23.11 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 70.38 kB / 1.172 GB, free: 17.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3468, allocations: 180.2 MB / 1.348 GB, free: 10 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003667/0.3505, allocations: 2.034 MB / 1.35 GB, free: 7.957 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002353/0.3529, allocations: 1.362 MB / 1.351 GB, free: 6.594 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.353, allocations: 3.938 kB / 1.351 GB, free: 6.59 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0004391/0.3534, allocations: 159.4 kB / 1.351 GB, free: 6.434 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004493/0.3539, allocations: 215.1 kB / 1.351 GB, free: 6.223 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003304/0.3542, allocations: 155.6 kB / 1.352 GB, free: 6.07 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003954/0.3546, allocations: 335.1 kB / 1.352 GB, free: 5.742 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.3547, allocations: 36.95 kB / 1.352 GB, free: 5.699 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002303/0.355, allocations: 167.3 kB / 1.352 GB, free: 5.535 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000209/0.3552, allocations: 163.4 kB / 1.352 GB, free: 5.375 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.352e-05/0.3552, allocations: 20 kB / 1.352 GB, free: 5.355 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.3553, allocations: 59.91 kB / 1.352 GB, free: 5.297 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.3554, allocations: 95.67 kB / 1.352 GB, free: 5.203 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.3556, allocations: 127.1 kB / 1.353 GB, free: 5.078 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004552/0.356, allocations: 378.3 kB / 1.353 GB, free: 4.707 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.356, allocations: 11.92 kB / 1.353 GB, free: 4.695 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.032e-06/0.356, allocations: 0 / 1.353 GB, free: 4.695 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.356, allocations: 0 / 1.353 GB, free: 4.695 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.00101/0.357, allocations: 0.6455 MB / 1.354 GB, free: 4 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.3571, allocations: 15.98 kB / 1.354 GB, free: 3.984 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.701e-05/0.3571, allocations: 34.75 kB / 1.354 GB, free: 3.941 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.344e-05/0.3572, allocations: 40.66 kB / 1.354 GB, free: 3.902 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005321/0.3577, allocations: 386.1 kB / 1.354 GB, free: 3.492 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.3578, allocations: 11.91 kB / 1.354 GB, free: 3.48 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.3578, allocations: 8 kB / 1.354 GB, free: 3.473 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002534/0.358, allocations: 105.6 kB / 1.354 GB, free: 3.363 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.358, allocations: 7.969 kB / 1.354 GB, free: 3.355 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.3581, allocations: 8 kB / 1.354 GB, free: 3.348 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.3581, allocations: 0 / 1.354 GB, free: 3.348 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001777/0.3582, allocations: 55.97 kB / 1.354 GB, free: 3.293 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007931/0.359, allocations: 0.4926 MB / 1.355 GB, free: 2.75 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003854/0.3594, allocations: 130.7 kB / 1.355 GB, free: 2.613 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/0.3595, allocations: 48.78 kB / 1.355 GB, free: 2.562 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.3596, allocations: 0 / 1.355 GB, free: 2.562 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000249/0.3598, allocations: 122.2 kB / 1.355 GB, free: 2.434 MB / 1.045 GB Notification: Performance of pre-optimization done (n=13): time 1.313e-06/0.3598, allocations: 0 / 1.355 GB, free: 2.434 MB / 1.045 GB Notification: Performance of matching and sorting (n=13): time 0.0006032/0.3604, allocations: 225.4 kB / 1.355 GB, free: 2.207 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.3605, allocations: 55.41 kB / 1.355 GB, free: 2.141 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006333/0.3611, allocations: 0.5288 MB / 1.356 GB, free: 1.602 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.3611, allocations: 25.7 kB / 1.356 GB, free: 1.57 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.3613, allocations: 176.5 kB / 1.356 GB, free: 1.395 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.134e-05/0.3613, allocations: 35.73 kB / 1.356 GB, free: 1.359 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.3614, allocations: 69.92 kB / 1.356 GB, free: 1.281 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.3616, allocations: 354.8 kB / 1.356 GB, free: 0.9258 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/0.3618, allocations: 100.5 kB / 1.356 GB, free: 0.8281 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002357/0.362, allocations: 135.6 kB / 1.357 GB, free: 0.6875 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003441/0.3624, allocations: 174.5 kB / 1.357 GB, free: 0.5078 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3624, allocations: 0 / 1.357 GB, free: 0.5078 MB / 1.045 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005791/0.363, allocations: 337.3 kB / 1.357 GB, free: 176 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.363, allocations: 7.938 kB / 1.357 GB, free: 168 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.363, allocations: 0 / 1.357 GB, free: 168 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.363, allocations: 4 kB / 1.357 GB, free: 164 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/0.3632, allocations: 55.91 kB / 1.357 GB, free: 108 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.3632, allocations: 0 / 1.357 GB, free: 108 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.3634, allocations: 23.81 kB / 1.357 GB, free: 84 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.033e-05/0.3634, allocations: 16 kB / 1.357 GB, free: 68 kB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0002056/0.3636, allocations: 181.8 kB / 1.357 GB, free: 15.88 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.763e-05/0.3637, allocations: 39.7 kB / 1.357 GB, free: 15.84 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.129e-05/0.3637, allocations: 47.17 kB / 1.357 GB, free: 15.8 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.3637, allocations: 0 / 1.357 GB, free: 15.8 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.3637, allocations: 0 / 1.357 GB, free: 15.8 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3637, allocations: 0 / 1.357 GB, free: 15.8 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003492/0.3641, allocations: 309.4 kB / 1.358 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3641, allocations: 0 / 1.358 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.146e-05/0.3642, allocations: 19.92 kB / 1.358 GB, free: 15.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.3642, allocations: 7.938 kB / 1.358 GB, free: 15.42 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.3642, allocations: 4 kB / 1.358 GB, free: 15.41 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3642, allocations: 0 / 1.358 GB, free: 15.41 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3642, allocations: 0 / 1.358 GB, free: 15.41 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004157/0.3646, allocations: 208.8 kB / 1.358 GB, free: 15.19 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.3647, allocations: 116.9 kB / 1.358 GB, free: 15.06 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.764e-05/0.3647, allocations: 0 / 1.358 GB, free: 15.06 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.3648, allocations: 15.98 kB / 1.358 GB, free: 15.04 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.266e-05/0.3649, allocations: 19.97 kB / 1.358 GB, free: 15.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.3649, allocations: 4 kB / 1.358 GB, free: 15.02 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004085/0.3653, allocations: 327.1 kB / 1.358 GB, free: 14.7 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3653, allocations: 0 / 1.358 GB, free: 14.7 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002993/0.3656, allocations: 63.89 kB / 1.359 GB, free: 14.64 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: 9 ($whenCondition2,$whenCondition1,intEqu.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002264/0.3679, allocations: 1.068 MB / 1.36 GB, free: 13.7 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004382/0.3683, allocations: 187.8 kB / 1.36 GB, free: 13.52 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3683, allocations: 0 / 1.36 GB, free: 13.52 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.3685, allocations: 51.97 kB / 1.36 GB, free: 13.46 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000466/0.3689, allocations: 94.11 kB / 1.36 GB, free: 13.39 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004257/0.3732, allocations: 3.195 MB / 1.363 GB, free: 10.1 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004673/0.3737, allocations: 0.791 MB / 1.364 GB, free: 9.281 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001566/0.3738, allocations: 58.95 kB / 1.364 GB, free: 9.223 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001918/0.374, allocations: 111.4 kB / 1.364 GB, free: 9.113 MB / 1.061 GB Notification: Performance of SimCode: time 5.21e-07/0.374, allocations: 0 / 1.364 GB, free: 9.113 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03485/0.4089, allocations: 7.366 MB / 1.371 GB, free: 1.848 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.767/9.176, allocations: 13.23 kB / 1.371 GB, free: 1.836 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Equal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable intEqu.u1 in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.csv. Warning: Get data of variable intEqu.u1 from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.csv failed! Error: Could not read variable intEqu.u2 in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.csv. Warning: Get data of variable intEqu.u2 from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.csv failed! Error: Could not read variable intEqu.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.csv. Warning: Get data of variable intEqu.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.10768427606672]