Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 197 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.254/2.254, allocations: 390.2 MB / 0.6647 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 59.91 kB / 0.8126 GB, free: 14.41 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5462/0.5476, allocations: 140.4 MB / 0.9497 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001788/0.5494, allocations: 1.312 MB / 0.951 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000528/0.5499, allocations: 357.5 kB / 0.9513 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.506e-05/0.55, allocations: 0.9062 kB / 0.9513 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.85e-05/0.55, allocations: 3.984 kB / 0.9513 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.09e-05/0.5501, allocations: 5.312 kB / 0.9513 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003284/0.5504, allocations: 93.64 kB / 0.9514 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.056e-05/0.5505, allocations: 52.52 kB / 0.9515 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 2.967e-05/0.5505, allocations: 7.297 kB / 0.9515 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.39e-05/0.5506, allocations: 11.59 kB / 0.9515 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.911e-05/0.5506, allocations: 30.33 kB / 0.9515 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.5506, allocations: 3.781 kB / 0.9515 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.5508, allocations: 85.3 kB / 0.9516 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.151e-05/0.5508, allocations: 24.17 kB / 0.9516 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.915e-05/0.5509, allocations: 52.89 kB / 0.9517 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.551, allocations: 157.3 kB / 0.9518 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.551, allocations: 0 / 0.9518 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.152e-06/0.551, allocations: 0 / 0.9518 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.5511, allocations: 1.125 kB / 0.9518 GB, free: 7.57 MB / 0.7169 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.0003266/0.5514, allocations: 0.5159 MB / 0.9523 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.904e-05/0.5514, allocations: 9.906 kB / 0.9524 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.595e-05/0.5514, allocations: 45.64 kB / 0.9524 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.642e-05/0.5515, allocations: 20.39 kB / 0.9524 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.173e-05/0.5516, allocations: 175.7 kB / 0.9526 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.5516, allocations: 2.812 kB / 0.9526 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.5516, allocations: 7.281 kB / 0.9526 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.5519, allocations: 249.9 kB / 0.9528 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.5519, allocations: 3.938 kB / 0.9528 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.5519, allocations: 2.562 kB / 0.9528 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.006e-06/0.5519, allocations: 0 / 0.9528 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.552, allocations: 144.1 kB / 0.953 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001018/0.5521, allocations: 198.1 kB / 0.9532 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002573/0.5524, allocations: 0.5335 MB / 0.9537 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002414/0.5526, allocations: 0.5196 MB / 0.9542 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.802e-06/0.5526, allocations: 0 / 0.9542 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002773/0.5529, allocations: 407.5 kB / 0.9546 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=39): time 1.012e-06/0.5529, allocations: 0 / 0.9546 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of matching and sorting (n=39): time 0.0005659/0.5535, allocations: 0.6835 MB / 0.9553 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.5535, allocations: 105.2 kB / 0.9554 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.157e-05/0.5536, allocations: 105.2 kB / 0.9555 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.236e-06/0.5536, allocations: 26.7 kB / 0.9555 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.154e-05/0.5536, allocations: 81.95 kB / 0.9556 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.239e-05/0.5537, allocations: 74.56 kB / 0.9556 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.783e-05/0.5537, allocations: 35.5 kB / 0.9557 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.686e-05/0.5537, allocations: 326.5 kB / 0.956 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.896e-05/0.5538, allocations: 85.89 kB / 0.9561 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.208e-05/0.5539, allocations: 81.38 kB / 0.9561 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002129/0.5541, allocations: 360.4 kB / 0.9565 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.5541, allocations: 0 / 0.9565 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002577/0.5544, allocations: 332.1 kB / 0.9568 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.092e-05/0.5544, allocations: 85.08 kB / 0.9569 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.5544, allocations: 1.375 kB / 0.9569 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.5545, allocations: 0 / 0.9569 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.587e-05/0.5545, allocations: 1.375 kB / 0.9569 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.5545, allocations: 3.938 kB / 0.9569 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.907e-05/0.5546, allocations: 17.47 kB / 0.9569 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.5546, allocations: 6.875 kB / 0.9569 GB, free: 3.809 MB / 0.7169 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.0001617/0.5548, allocations: 282 kB / 0.9572 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.592e-05/0.5548, allocations: 24.78 kB / 0.9572 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.765e-06/0.5548, allocations: 6.312 kB / 0.9572 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.5548, allocations: 0 / 0.9572 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.5548, allocations: 0 / 0.9572 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-06/0.5549, allocations: 0.9688 kB / 0.9572 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.555, allocations: 244 kB / 0.9574 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.555, allocations: 1.031 kB / 0.9574 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.555, allocations: 0 / 0.9574 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.555, allocations: 4.875 kB / 0.9574 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.555, allocations: 20.48 kB / 0.9575 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.555, allocations: 4 kB / 0.9575 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.555, allocations: 1.062 kB / 0.9575 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009678/0.556, allocations: 1.279 MB / 0.9587 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.041e-05/0.556, allocations: 102 kB / 0.9588 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.374e-05/0.5561, allocations: 71.83 kB / 0.9589 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.697e-05/0.5562, allocations: 6.969 kB / 0.9589 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/0.5562, allocations: 11.42 kB / 0.9589 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.5562, allocations: 20.47 kB / 0.9589 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.676e-05/0.5563, allocations: 81.89 kB / 0.959 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5563, allocations: 0 / 0.959 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002536/0.5565, allocations: 71.84 kB / 0.9591 GB, free: 2.457 MB / 0.7169 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.001297/0.5578, allocations: 1.969 MB / 0.961 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001129/0.559, allocations: 1.962 MB / 0.9629 GB, free: 64 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.559, allocations: 0.9062 kB / 0.9629 GB, free: 64 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00124/0.5602, allocations: 2.018 MB / 0.9649 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001924/0.5604, allocations: 16.62 kB / 0.9649 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005652/0.561, allocations: 397.9 kB / 0.9653 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002064/0.5612, allocations: 0.716 MB / 0.966 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.133e-05/0.5612, allocations: 5.406 kB / 0.966 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.362e-05/0.5613, allocations: 31.42 kB / 0.966 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of SimCode: time 2.11e-07/0.5613, allocations: 0 / 0.966 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1753/0.7366, allocations: 4.099 MB / 0.97 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.801/7.538, allocations: 9.797 kB / 0.97 GB, free: 11.62 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.fmu > Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1)