Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.001323/0.001323, allocations: 113.3 kB / 18.94 MB, free: 2.934 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.001501/0.001501, allocations: 212.2 kB / 22.25 MB, free: 5.082 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.481/1.481, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.786/2.786, allocations: 476.7 MB / 0.7707 GB, free: 4.242 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",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.002029/0.002029, allocations: 64.36 kB / 1.117 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3533, allocations: 170 MB / 1.283 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.003149/0.3565, allocations: 1.539 MB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001598/0.3581, allocations: 0.8118 MB / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.171e-05/0.3581, allocations: 8 kB / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.668e-05/0.3581, allocations: 3.938 kB / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.517e-05/0.3582, allocations: 15.84 kB / 1.286 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005862/0.3588, allocations: 139.5 kB / 1.286 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.3589, allocations: 79.77 kB / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.359, allocations: 15.97 kB / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.3592, allocations: 43.84 kB / 1.286 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.298e-05/0.3592, allocations: 39.83 kB / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.3593, allocations: 12 kB / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002788/0.3595, allocations: 135.8 kB / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.466e-05/0.3596, allocations: 15.98 kB / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.522e-05/0.3596, allocations: 39.78 kB / 1.286 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000248/0.3599, allocations: 147.6 kB / 1.286 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.3599, allocations: 4 kB / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.858e-06/0.3599, allocations: 4 kB / 1.286 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.3599, allocations: 0 / 1.286 GB, free: 8.691 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006948/0.3606, allocations: 347.6 kB / 1.287 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.3606, allocations: 12.03 kB / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.935e-05/0.3607, allocations: 38.73 kB / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003234/0.361, allocations: 24.92 kB / 1.287 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.3613, allocations: 134.4 kB / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.3613, allocations: 4.375 kB / 1.287 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.3613, allocations: 4.375 kB / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.3615, allocations: 77.52 kB / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.3615, allocations: 4 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.3615, allocations: 11.88 kB / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3615, allocations: 0 / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.3617, allocations: 39.97 kB / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006173/0.3623, allocations: 279.9 kB / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.3624, allocations: 50.5 kB / 1.287 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.582e-05/0.3625, allocations: 32.97 kB / 1.287 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.3625, allocations: 3.984 kB / 1.287 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001752/0.3627, allocations: 67.39 kB / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.3627, allocations: 0 / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004442/0.3631, allocations: 149.6 kB / 1.288 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.469e-05/0.3632, allocations: 59.34 kB / 1.288 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.3633, allocations: 124.3 kB / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.3633, allocations: 29.7 kB / 1.288 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.055e-05/0.3634, allocations: 92.09 kB / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.576e-05/0.3635, allocations: 15.84 kB / 1.288 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.063e-05/0.3635, allocations: 25.7 kB / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.3637, allocations: 326.8 kB / 1.288 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.589e-05/0.3638, allocations: 31.98 kB / 1.288 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.3639, allocations: 46.55 kB / 1.288 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.364, allocations: 70.5 kB / 1.288 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.364, allocations: 4 kB / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000242/0.3643, allocations: 117.5 kB / 1.288 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.3643, allocations: 4 kB / 1.288 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.3643, allocations: 0 / 1.288 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.3643, allocations: 4 kB / 1.288 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.3645, allocations: 11.98 kB / 1.288 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.3645, allocations: 0 / 1.288 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.112e-05/0.3646, allocations: 4 kB / 1.288 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.3646, allocations: 15.92 kB / 1.288 GB, free: 6.254 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001093/0.3647, allocations: 125.8 kB / 1.289 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.132e-05/0.3647, allocations: 7.953 kB / 1.289 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.705e-05/0.3648, allocations: 4.375 kB / 1.289 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.3648, allocations: 4 kB / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.3648, allocations: 0 / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3648, allocations: 0 / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005472/0.3653, allocations: 353.9 kB / 1.289 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3653, allocations: 0 / 1.289 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.175e-05/0.3654, allocations: 11.92 kB / 1.289 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3654, allocations: 0 / 1.289 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.3654, allocations: 4 kB / 1.289 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.3654, allocations: 3.938 kB / 1.289 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3654, allocations: 0 / 1.289 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003589/0.3657, allocations: 223.4 kB / 1.289 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.71e-05/0.3658, allocations: 11.89 kB / 1.289 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.3658, allocations: 0 / 1.289 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.138e-05/0.3659, allocations: 11.94 kB / 1.289 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-05/0.3659, allocations: 11.98 kB / 1.289 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-06/0.3659, allocations: 0 / 1.289 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.2e-05/0.366, allocations: 96.39 kB / 1.289 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.366, allocations: 0 / 1.289 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002944/0.3663, allocations: 39.92 kB / 1.289 GB, free: 5.285 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: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000935/0.3672, allocations: 0.7963 MB / 1.29 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002441/0.3675, allocations: 79.88 kB / 1.29 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.3675, allocations: 3.938 kB / 1.29 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.3676, allocations: 31.98 kB / 1.29 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.3678, allocations: 11.92 kB / 1.29 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00177/0.3696, allocations: 1.496 MB / 1.292 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004223/0.37, allocations: 0.6885 MB / 1.292 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.786e-05/0.37, allocations: 7.984 kB / 1.292 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.269e-05/0.3701, allocations: 23.38 kB / 1.292 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of SimCode: time 3.51e-07/0.3701, allocations: 4 kB / 1.292 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03068/0.4008, allocations: 2.824 MB / 1.295 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.41, allocations: 11.09 kB / 1.295 GB, free: 15.33 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable win.occ in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.csv. Warning: Get data of variable win.on from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.csv failed! " [Timeout remaining time 300] "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:time,win.TOut,win.p,TOut.amplitude,TOut.f,TOut.offset [Calling sys.exit(0), Time elapsed: 18.390600656999595]