Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.001406/0.001406, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001607/0.001607, allocations: 209.3 kB / 22.24 MB, free: 5.262 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.573/1.573, allocations: 230.6 MB / 256 MB, free: 7.738 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 MB / 0.7699 GB, free: 4.711 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.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",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.002185/0.002185, allocations: 65.89 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3483, allocations: 170 MB / 1.283 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002904/0.3512, allocations: 1.514 MB / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001603/0.3528, allocations: 0.7575 MB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.078e-05/0.3529, allocations: 0 / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.25e-05/0.3529, allocations: 7.875 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.711e-05/0.353, allocations: 15.91 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006895/0.3536, allocations: 139.5 kB / 1.285 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.3538, allocations: 83.75 kB / 1.285 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.964e-05/0.3539, allocations: 4.188 kB / 1.285 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.3541, allocations: 47.91 kB / 1.285 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.358e-05/0.3541, allocations: 31.83 kB / 1.285 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.3541, allocations: 8 kB / 1.285 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003199/0.3545, allocations: 139.8 kB / 1.285 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.19e-05/0.3545, allocations: 19.91 kB / 1.285 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.214e-05/0.3546, allocations: 27.86 kB / 1.285 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003017/0.3549, allocations: 152.9 kB / 1.285 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3549, allocations: 0 / 1.285 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3549, allocations: 0 / 1.285 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.3549, allocations: 0 / 1.285 GB, free: 9.484 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.0006668/0.3555, allocations: 351.5 kB / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.3556, allocations: 12.03 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.223e-05/0.3556, allocations: 42.67 kB / 1.286 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003341/0.356, allocations: 28.92 kB / 1.286 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.3562, allocations: 138.3 kB / 1.286 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.3562, allocations: 4.375 kB / 1.286 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.3562, allocations: 8.375 kB / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.3564, allocations: 65.59 kB / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.3564, allocations: 0 / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.3564, allocations: 3.938 kB / 1.286 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.3564, allocations: 4 kB / 1.286 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.3566, allocations: 43.91 kB / 1.286 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005827/0.3572, allocations: 271.9 kB / 1.286 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.3573, allocations: 42.56 kB / 1.286 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.423e-05/0.3574, allocations: 32.97 kB / 1.286 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.3574, allocations: 0 / 1.286 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001703/0.3576, allocations: 87.38 kB / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.3576, allocations: 4 kB / 1.287 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004022/0.358, allocations: 137.6 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.358, allocations: 55.39 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.3581, allocations: 121 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.3582, allocations: 29.7 kB / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.779e-05/0.3582, allocations: 96.08 kB / 1.287 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.3583, allocations: 19.84 kB / 1.287 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.451e-05/0.3583, allocations: 25.7 kB / 1.287 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.3585, allocations: 322.8 kB / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.619e-05/0.3586, allocations: 35.97 kB / 1.287 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.3587, allocations: 46.5 kB / 1.287 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.3588, allocations: 74.84 kB / 1.287 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.3588, allocations: 0 / 1.287 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002506/0.3591, allocations: 117.5 kB / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.3591, allocations: 4.062 kB / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.3591, allocations: 8 kB / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.3591, allocations: 0 / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.675e-05/0.3592, allocations: 15.92 kB / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3592, allocations: 0 / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.789e-05/0.3593, allocations: 4 kB / 1.288 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.3593, allocations: 11.88 kB / 1.288 GB, free: 7.047 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.0001067/0.3594, allocations: 117.8 kB / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.801e-05/0.3594, allocations: 7.938 kB / 1.288 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.232e-05/0.3595, allocations: 16.38 kB / 1.288 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3595, allocations: 0 / 1.288 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.3595, allocations: 3.938 kB / 1.288 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3595, allocations: 0 / 1.288 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004931/0.36, allocations: 349.5 kB / 1.288 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.36, allocations: 0 / 1.288 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.148e-05/0.36, allocations: 7.984 kB / 1.288 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.36, allocations: 0 / 1.288 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.36, allocations: 4 kB / 1.288 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.36, allocations: 3.938 kB / 1.288 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.36, allocations: 4 kB / 1.288 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002985/0.3603, allocations: 215.4 kB / 1.288 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.594e-05/0.3603, allocations: 11.89 kB / 1.288 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.3604, allocations: 0 / 1.288 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.765e-05/0.3605, allocations: 7.938 kB / 1.288 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.297e-05/0.3605, allocations: 11.98 kB / 1.288 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.3605, allocations: 7.984 kB / 1.288 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.274e-05/0.3606, allocations: 95.27 kB / 1.288 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3606, allocations: 0 / 1.288 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003244/0.3609, allocations: 39.92 kB / 1.288 GB, free: 6.082 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.0009161/0.3618, allocations: 0.8078 MB / 1.289 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002307/0.362, allocations: 68.27 kB / 1.289 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.362, allocations: 3.938 kB / 1.289 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.3621, allocations: 44.19 kB / 1.289 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.3624, allocations: 7.922 kB / 1.289 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.3641, allocations: 1.501 MB / 1.291 GB, free: 3.555 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.456e-05/0.3642, allocations: 83.27 kB / 1.291 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.82e-05/0.3643, allocations: 3.984 kB / 1.291 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.636e-05/0.3643, allocations: 23.38 kB / 1.291 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of SimCode: time 5.71e-07/0.3643, allocations: 0 / 1.291 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03076/0.3951, allocations: 3.255 MB / 1.294 GB, free: 332 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.95, allocations: 0.5 kB / 1.294 GB, free: 332 kB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_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_Herkel2008WindowsCompletelyOpen.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.Herkel2008WindowsCompletelyOpen_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.csv. Warning: Get data of variable win.on from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_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.811432253569365]