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.001939/0.001939, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002184/0.002184, allocations: 219.2 kB / 23.03 MB, free: 4.922 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.529/1.529, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.833/2.833, allocations: 476.8 MB / 0.7715 GB, free: 3.84 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.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.001994/0.001994, allocations: 64.94 kB / 1.118 GB, free: 39.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3297, allocations: 170 MB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.00269/0.3324, allocations: 1.341 MB / 1.285 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009009/0.3333, allocations: 368.9 kB / 1.286 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.275e-05/0.3333, allocations: 0 / 1.286 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.525e-05/0.3334, allocations: 3.938 kB / 1.286 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.213e-05/0.3334, allocations: 7.922 kB / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005187/0.334, allocations: 95.75 kB / 1.286 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.3341, allocations: 55.86 kB / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.227e-05/0.3341, allocations: 0 / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.036e-05/0.3342, allocations: 23.91 kB / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.876e-05/0.3342, allocations: 27.91 kB / 1.286 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.3342, allocations: 4 kB / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002518/0.3345, allocations: 115.8 kB / 1.286 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.64e-05/0.3345, allocations: 31.84 kB / 1.286 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.944e-05/0.3346, allocations: 47.73 kB / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002527/0.3348, allocations: 162.9 kB / 1.286 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3348, allocations: 0 / 1.286 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3348, allocations: 0 / 1.286 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.3349, allocations: 4 kB / 1.286 GB, free: 8.336 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.0004884/0.3353, allocations: 427.3 kB / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.3354, allocations: 12.03 kB / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.798e-05/0.3354, allocations: 192 / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.212e-05/0.3354, allocations: 50.73 kB / 1.287 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000215/0.3357, allocations: 24.84 kB / 1.287 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.3358, allocations: 118.4 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.3358, allocations: 384 / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.3358, allocations: 4.375 kB / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003849/0.3362, allocations: 343.6 kB / 1.287 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.3362, allocations: 0 / 1.287 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.3362, allocations: 4 kB / 1.287 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.3362, allocations: 0 / 1.287 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002489/0.3365, allocations: 245.3 kB / 1.287 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001845/0.3366, allocations: 164.5 kB / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002751/0.3369, allocations: 260.2 kB / 1.288 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002644/0.3372, allocations: 238.5 kB / 1.288 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.27e-06/0.3372, allocations: 0 / 1.288 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005593/0.3377, allocations: 485.2 kB / 1.289 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=39): time 1.112e-06/0.3377, allocations: 0 / 1.289 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of matching and sorting (n=39): time 0.001053/0.3388, allocations: 0.8801 MB / 1.289 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.077e-05/0.3389, allocations: 105.1 kB / 1.29 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.866e-05/0.339, allocations: 97.86 kB / 1.29 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.339, allocations: 29.69 kB / 1.29 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.741e-05/0.339, allocations: 80.8 kB / 1.29 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.306e-05/0.3391, allocations: 83.41 kB / 1.29 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.138e-05/0.3392, allocations: 37.7 kB / 1.29 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.3393, allocations: 322.8 kB / 1.29 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001783/0.3395, allocations: 173.6 kB / 1.29 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.3396, allocations: 177.6 kB / 1.29 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003955/0.34, allocations: 409.2 kB / 1.291 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.34, allocations: 7.938 kB / 1.291 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005054/0.3405, allocations: 461.8 kB / 1.291 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.1e-05/0.3406, allocations: 81.64 kB / 1.291 GB, free: 2.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.3406, allocations: 0 / 1.291 GB, free: 2.793 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.3407, allocations: 4.062 kB / 1.291 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.556e-05/0.3407, allocations: 7.938 kB / 1.291 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.3407, allocations: 0 / 1.291 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.999e-05/0.3408, allocations: 19.84 kB / 1.291 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/0.3408, allocations: 8 kB / 1.291 GB, free: 2.754 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.0002694/0.3411, allocations: 246.1 kB / 1.292 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.626e-05/0.3411, allocations: 27.83 kB / 1.292 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.311e-05/0.3412, allocations: 5.312 kB / 1.292 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3412, allocations: 4 kB / 1.292 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.3412, allocations: 3.938 kB / 1.292 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.3412, allocations: 0 / 1.292 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.3413, allocations: 196.6 kB / 1.292 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3413, allocations: 0 / 1.292 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.504e-06/0.3413, allocations: 3.938 kB / 1.292 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3413, allocations: 0 / 1.292 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.82e-05/0.3414, allocations: 15.98 kB / 1.292 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3414, allocations: 0 / 1.292 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3414, allocations: 0 / 1.292 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009299/0.3423, allocations: 0.7969 MB / 1.293 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.209e-05/0.3423, allocations: 19.78 kB / 1.293 GB, free: 1.352 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.3424, allocations: 75.94 kB / 1.293 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.093e-05/0.3425, allocations: 8 kB / 1.293 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.3425, allocations: 8.031 kB / 1.293 GB, free: 1.262 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.692e-05/0.3426, allocations: 19.98 kB / 1.293 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.379e-05/0.3426, allocations: 75.47 kB / 1.293 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3426, allocations: 0 / 1.293 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003024/0.3429, allocations: 71.92 kB / 1.293 GB, free: 1.098 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.001631/0.3445, allocations: 1.495 MB / 1.294 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008425/0.3454, allocations: 0.7133 MB / 1.295 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.3454, allocations: 8.094 kB / 1.295 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004399/0.3458, allocations: 428.9 kB / 1.296 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.346, allocations: 27.86 kB / 1.296 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007935/0.3468, allocations: 482.6 kB / 1.296 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.3469, allocations: 105.4 kB / 1.296 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.567e-05/0.347, allocations: 4.062 kB / 1.296 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.07e-05/0.347, allocations: 35.42 kB / 1.296 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of SimCode: time 4.3e-07/0.347, allocations: 0 / 1.296 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02524/0.3722, allocations: 4.491 MB / 1.301 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.04, allocations: 13.81 kB / 1.301 GB, free: 9.383 MB / 0.9981 GB " [Timeout remaining time 288] (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.965296993032098] Failed to read output from testmodel.py, exit status != 0: 12.769121241988614 12.22089879 11.882805633 Calling exit ...