Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.001699/0.001699, allocations: 103 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.002039/0.002039, allocations: 212.9 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.532/1.532, allocations: 230.6 MB / 252.8 MB, free: 9.145 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.859/2.859, allocations: 476.7 MB / 0.7672 GB, free: 5.238 MB / 0.6231 GB " [Timeout remaining time 176] 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.Yun2008WindowsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",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.002057/0.002057, allocations: 67.89 kB / 1.112 GB, free: 1.602 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8406/0.8427, allocations: 169.9 MB / 1.278 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002955/0.8456, allocations: 1.548 MB / 1.28 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001502/0.8471, allocations: 0.8313 MB / 1.281 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.994e-05/0.8472, allocations: 7.938 kB / 1.281 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.279e-05/0.8472, allocations: 7.922 kB / 1.281 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.582e-05/0.8473, allocations: 7.875 kB / 1.281 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006144/0.8479, allocations: 151.5 kB / 1.281 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.8481, allocations: 107.7 kB / 1.281 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.52e-05/0.8482, allocations: 11.98 kB / 1.281 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.8483, allocations: 51.89 kB / 1.281 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.089e-05/0.8484, allocations: 51.81 kB / 1.281 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.8484, allocations: 12 kB / 1.281 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002276/0.8487, allocations: 119.8 kB / 1.281 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.276e-05/0.8487, allocations: 23.91 kB / 1.281 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.73e-05/0.8487, allocations: 39.84 kB / 1.281 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002957/0.849, allocations: 177.3 kB / 1.281 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.849, allocations: 0 / 1.281 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.413e-06/0.8491, allocations: 0 / 1.281 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.817e-06/0.8491, allocations: 0 / 1.281 GB, free: 10.46 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007091/0.8498, allocations: 460.2 kB / 1.282 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.8498, allocations: 19.97 kB / 1.282 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.487e-05/0.8499, allocations: 38.73 kB / 1.282 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004832/0.8503, allocations: 44.86 kB / 1.282 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.8506, allocations: 188.2 kB / 1.282 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.8506, allocations: 4.375 kB / 1.282 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.8506, allocations: 4.375 kB / 1.282 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000252/0.8509, allocations: 97.69 kB / 1.282 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.8509, allocations: 0 / 1.282 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.8509, allocations: 4 kB / 1.282 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.8509, allocations: 0 / 1.282 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001724/0.8511, allocations: 43.95 kB / 1.282 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007592/0.8518, allocations: 360.6 kB / 1.283 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.852, allocations: 50.5 kB / 1.283 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.8521, allocations: 40.83 kB / 1.283 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.8521, allocations: 0 / 1.283 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002117/0.8524, allocations: 95.36 kB / 1.283 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.8524, allocations: 0 / 1.283 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0006327/0.853, allocations: 185.5 kB / 1.283 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.853, allocations: 55.41 kB / 1.283 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.8532, allocations: 128.6 kB / 1.283 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.8532, allocations: 29.7 kB / 1.283 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.291e-05/0.8533, allocations: 104.2 kB / 1.283 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.8533, allocations: 11.89 kB / 1.283 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.502e-05/0.8533, allocations: 29.72 kB / 1.283 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.8535, allocations: 322.8 kB / 1.284 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.258e-05/0.8536, allocations: 31.97 kB / 1.284 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.8537, allocations: 64.28 kB / 1.284 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000198/0.8539, allocations: 100.2 kB / 1.284 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.8539, allocations: 4 kB / 1.284 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002911/0.8542, allocations: 133.5 kB / 1.284 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.8542, allocations: 8 kB / 1.284 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.8542, allocations: 0 / 1.284 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.8542, allocations: 4 kB / 1.284 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.8543, allocations: 15.92 kB / 1.284 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.8543, allocations: 4 kB / 1.284 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.049e-05/0.8544, allocations: 11.89 kB / 1.284 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.8544, allocations: 11.94 kB / 1.284 GB, free: 7.539 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,occ.y,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001105/0.8545, allocations: 124.5 kB / 1.284 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/0.8546, allocations: 11.94 kB / 1.284 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.289e-05/0.8546, allocations: 12.38 kB / 1.284 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.8546, allocations: 0 / 1.284 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.8546, allocations: 0 / 1.284 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.8546, allocations: 0 / 1.284 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006288/0.8552, allocations: 430.7 kB / 1.284 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.8552, allocations: 0 / 1.284 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.306e-05/0.8553, allocations: 11.98 kB / 1.284 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.8553, allocations: 0 / 1.284 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.8553, allocations: 7.938 kB / 1.284 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.8553, allocations: 0 / 1.284 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.8553, allocations: 3.938 kB / 1.284 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004125/0.8557, allocations: 243.4 kB / 1.285 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.068e-05/0.8558, allocations: 89.05 kB / 1.285 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/0.8558, allocations: 8 kB / 1.285 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.8559, allocations: 0 / 1.285 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.234e-05/0.856, allocations: 11.92 kB / 1.285 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.856, allocations: 4 kB / 1.285 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.653e-05/0.856, allocations: 103.2 kB / 1.285 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.856, allocations: 0 / 1.285 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003224/0.8564, allocations: 43.92 kB / 1.285 GB, free: 6.352 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * 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.001047/0.8574, allocations: 0.8426 MB / 1.286 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003055/0.8577, allocations: 91.86 kB / 1.286 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.8577, allocations: 0 / 1.286 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.8579, allocations: 39.98 kB / 1.286 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.8581, allocations: 17.02 kB / 1.286 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.8601, allocations: 1.591 MB / 1.287 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.8604, allocations: 0.7001 MB / 1.288 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.685e-05/0.8605, allocations: 4 kB / 1.288 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.116e-05/0.8606, allocations: 23.42 kB / 1.288 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of SimCode: time 3.8e-07/0.8606, allocations: 0 / 1.288 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02715/0.8877, allocations: 3.047 MB / 1.291 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.319/9.206, allocations: 9.281 kB / 1.291 GB, free: 15.98 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_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_Yun2008WindowsTOut.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Yun2008WindowsTOut_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.csv. Warning: Get data of variable win.on from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.csv failed! " [Timeout remaining time 300] "" Variables in the reference:time,win.TOut,win.occ,win.pOpen,win.on Variables in the result:time,win.TOut,win.pClose,win.pOpen,TOut.amplitude,TOut.f [Calling sys.exit(0), Time elapsed: 15.54889130895026]