Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.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.00185/0.00185, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001424/0.001424, allocations: 212.5 kB / 23.04 MB, free: 5.074 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.8 MB, free: 8.059 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.837/2.837, allocations: 476.7 MB / 0.7715 GB, free: 4.344 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.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy",fmuType="cs",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.002041/0.002041, allocations: 63.09 kB / 1.118 GB, free: 39.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3286, allocations: 170 MB / 1.284 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.002441/0.3311, allocations: 1.367 MB / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0007722/0.3318, allocations: 376.8 kB / 1.286 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.549e-05/0.3319, allocations: 0 / 1.286 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 7.644e-05/0.3319, allocations: 3.938 kB / 1.286 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.59e-05/0.332, allocations: 7.984 kB / 1.286 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004576/0.3324, allocations: 99.69 kB / 1.286 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001072/0.3325, allocations: 51.86 kB / 1.286 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.588e-05/0.3326, allocations: 11.98 kB / 1.286 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.649e-05/0.3326, allocations: 19.94 kB / 1.286 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.109e-05/0.3326, allocations: 23.89 kB / 1.286 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.3327, allocations: 4 kB / 1.286 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000242/0.3329, allocations: 115.8 kB / 1.286 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.101e-05/0.3329, allocations: 23.92 kB / 1.286 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.836e-05/0.333, allocations: 55.66 kB / 1.286 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002316/0.3332, allocations: 159 kB / 1.286 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3332, allocations: 0 / 1.286 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3332, allocations: 4 kB / 1.286 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.3333, allocations: 11.88 kB / 1.286 GB, free: 9.406 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0005114/0.3338, allocations: 453 kB / 1.287 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.3338, allocations: 12.03 kB / 1.287 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.405e-05/0.3338, allocations: 192 / 1.287 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.192e-05/0.3339, allocations: 46.73 kB / 1.287 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002057/0.3341, allocations: 20.84 kB / 1.287 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.3342, allocations: 126.3 kB / 1.287 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.3342, allocations: 4.359 kB / 1.287 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.3342, allocations: 12.36 kB / 1.287 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002877/0.3345, allocations: 241.9 kB / 1.287 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.3345, allocations: 0 / 1.287 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.3345, allocations: 3.938 kB / 1.287 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-06/0.3345, allocations: 4 kB / 1.287 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001574/0.3347, allocations: 147.7 kB / 1.287 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001735/0.3348, allocations: 160.6 kB / 1.288 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.335, allocations: 170.5 kB / 1.288 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/0.3352, allocations: 148.8 kB / 1.288 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.752e-06/0.3352, allocations: 0 / 1.288 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000431/0.3356, allocations: 399.6 kB / 1.288 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=39): time 9.42e-07/0.3356, allocations: 0 / 1.288 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of matching and sorting (n=39): time 0.0008285/0.3365, allocations: 0.6932 MB / 1.289 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.807e-05/0.3365, allocations: 109.1 kB / 1.289 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.659e-05/0.3366, allocations: 97.89 kB / 1.289 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.3366, allocations: 29.69 kB / 1.289 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.774e-05/0.3367, allocations: 80.8 kB / 1.289 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.19e-05/0.3367, allocations: 79.38 kB / 1.289 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.479e-05/0.3368, allocations: 37.7 kB / 1.289 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.3369, allocations: 326.8 kB / 1.29 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.456e-05/0.337, allocations: 79.97 kB / 1.29 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.812e-05/0.3371, allocations: 79.98 kB / 1.29 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003283/0.3375, allocations: 357.4 kB / 1.29 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3375, allocations: 0 / 1.29 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003803/0.3378, allocations: 344 kB / 1.29 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.853e-05/0.3379, allocations: 77.64 kB / 1.291 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.3379, allocations: 0 / 1.291 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.3379, allocations: 0 / 1.291 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.57e-05/0.338, allocations: 4 kB / 1.291 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.177e-06/0.338, allocations: 0 / 1.291 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.89e-05/0.338, allocations: 19.84 kB / 1.291 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/0.3381, allocations: 11.98 kB / 1.291 GB, free: 4.855 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 40 (occ.state[33],occ.state[32],occ.state[31],occ.state[30],occ.state[29],occ.state[28],occ.state[27],occ.state[26],occ.state[25],occ.state[24],occ.state[23],occ.state[22],occ.state[21],occ.state[20],occ.state[19],occ.state[18],occ.state[17],occ.state[16],occ.state[15],occ.state[14],occ.state[13],occ.state[12],occ.state[11],occ.state[10],occ.state[9],occ.state[8],occ.state[7],occ.state[6],occ.state[5],occ.state[4],occ.state[3],occ.state[2],occ.state[1],occ.r,occ.hold_time,occ.tNext,$PRE.occ.tNext,occ.mu,occ.occ,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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.0002576/0.3383, allocations: 266.1 kB / 1.291 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.842e-05/0.3384, allocations: 31.84 kB / 1.291 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.61e-05/0.3384, allocations: 9.312 kB / 1.291 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.3384, allocations: 0 / 1.291 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3384, allocations: 0 / 1.291 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.3384, allocations: 0 / 1.291 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.3386, allocations: 216.5 kB / 1.291 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3386, allocations: 0 / 1.291 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.404e-06/0.3386, allocations: 3.938 kB / 1.291 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.3386, allocations: 0 / 1.291 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/0.3386, allocations: 15.98 kB / 1.291 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.3386, allocations: 7.938 kB / 1.291 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3386, allocations: 0 / 1.291 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/0.34, allocations: 1.295 MB / 1.292 GB, free: 2.934 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.111e-05/0.34, allocations: 19.78 kB / 1.292 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.3401, allocations: 71.95 kB / 1.292 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.984e-05/0.3402, allocations: 8 kB / 1.292 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.3402, allocations: 11.98 kB / 1.292 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.486e-05/0.3402, allocations: 12 kB / 1.292 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.683e-05/0.3403, allocations: 91.47 kB / 1.293 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3403, allocations: 0 / 1.293 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000298/0.3406, allocations: 67.94 kB / 1.293 GB, free: 2.656 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: 39 ($whenCondition1,occ.occ,occ.mu,occ.tNext,occ.hold_time,occ.r,occ.state[1],occ.state[2],occ.state[3],occ.state[4],occ.state[5],occ.state[6],occ.state[7],occ.state[8],occ.state[9],occ.state[10],occ.state[11],occ.state[12],occ.state[13],occ.state[14],occ.state[15],occ.state[16],occ.state[17],occ.state[18],occ.state[19],occ.state[20],occ.state[21],occ.state[22],occ.state[23],occ.state[24],occ.state[25],occ.state[26],occ.state[27],occ.state[28],occ.state[29],occ.state[30],occ.state[31],occ.state[32],occ.state[33]) * Number of discrete states: 39 (occ.tNext,occ.hold_time,occ.mu,occ.occ,occ.state[33],occ.state[32],occ.state[31],occ.state[30],occ.state[29],occ.state[28],occ.state[27],occ.state[26],occ.state[25],occ.state[24],occ.state[23],occ.state[22],occ.state[21],occ.state[20],occ.state[19],occ.state[18],occ.state[17],occ.state[16],occ.state[15],occ.state[14],occ.state[13],occ.state[12],occ.state[11],occ.state[10],occ.state[9],occ.state[8],occ.state[7],occ.state[6],occ.state[5],occ.state[4],occ.state[3],occ.state[2],occ.state[1],occ.r,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.002015/0.3426, allocations: 1.963 MB / 1.295 GB, free: 0.6719 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001199/0.3438, allocations: 1.104 MB / 1.296 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3438, allocations: 0 / 1.296 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008735/0.3447, allocations: 0.9286 MB / 1.297 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.3449, allocations: 25.95 kB / 1.297 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007494/0.3457, allocations: 389.1 kB / 1.297 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004408/0.3461, allocations: 0.7166 MB / 1.298 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.888e-05/0.3461, allocations: 3.938 kB / 1.298 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.854e-05/0.3462, allocations: 31.42 kB / 1.298 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of SimCode: time 7.92e-07/0.3462, allocations: 3.938 kB / 1.298 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02644/0.3726, allocations: 4.504 MB / 1.302 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.85, allocations: 13 kB / 1.302 GB, free: 9.031 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy_fmu --startTime=0 --stopTime=36000 --stepSize=14.4 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.fmu > Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.53678507800214] Failed to read output from testmodel.py, exit status != 0: 12.545403669995721 12.045949503 11.707520537 Calling exit ...