Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.31/1.31, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000907/0.0009071, allocations: 184.2 kB / 326.5 MB, free: 2.676 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.422/1.422, allocations: 205 MB / 0.5766 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007691/0.0007689, allocations: 90.33 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003005/0.0003003, allocations: 12.38 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1576, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001232/0.1589, allocations: 1.062 MB / 0.8978 GB, free: 67.09 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006314/0.1596, allocations: 384.4 kB / 0.8981 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.684e-05/0.1596, allocations: 0 / 0.8981 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 7.853e-05/0.1597, allocations: 0 / 0.8981 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.348e-05/0.1597, allocations: 3.938 kB / 0.8982 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003426/0.1601, allocations: 79.86 kB / 0.8982 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.276e-05/0.1601, allocations: 47.89 kB / 0.8983 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.231e-05/0.1602, allocations: 3.938 kB / 0.8983 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.618e-05/0.1602, allocations: 11.94 kB / 0.8983 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.909e-05/0.1603, allocations: 23.95 kB / 0.8983 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.1603, allocations: 4 kB / 0.8983 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.1604, allocations: 75.88 kB / 0.8984 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.075e-05/0.1605, allocations: 35.84 kB / 0.8984 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.32e-05/0.1605, allocations: 43.73 kB / 0.8985 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.1607, allocations: 151.5 kB / 0.8986 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1607, allocations: 0 / 0.8986 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.442e-06/0.1607, allocations: 0 / 0.8986 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.1607, allocations: 0 / 0.8986 GB, free: 66.23 MB / 0.6042 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.0003161/0.161, allocations: 0.4967 MB / 0.8991 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.1611, allocations: 16.03 kB / 0.8991 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.756e-05/0.1612, allocations: 16.75 kB / 0.8991 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.802e-05/0.1612, allocations: 172.3 kB / 0.8993 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.1613, allocations: 4.375 kB / 0.8993 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.1613, allocations: 4.375 kB / 0.8993 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.1615, allocations: 253.6 kB / 0.8995 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.1615, allocations: 192 / 0.8995 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.1615, allocations: 3.938 kB / 0.8995 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.1615, allocations: 0 / 0.8995 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.1616, allocations: 144 kB / 0.8997 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001122/0.1617, allocations: 206.2 kB / 0.8999 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002425/0.162, allocations: 0.5376 MB / 0.9004 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002203/0.1622, allocations: 0.5164 MB / 0.9009 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.015e-06/0.1622, allocations: 3.938 kB / 0.9009 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002744/0.1625, allocations: 395.7 kB / 0.9013 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=39): time 1.342e-06/0.1625, allocations: 0 / 0.9013 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39): time 0.000519/0.1631, allocations: 0.6939 MB / 0.902 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.1631, allocations: 109.1 kB / 0.9021 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.641e-05/0.1631, allocations: 101.8 kB / 0.9022 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.836e-06/0.1632, allocations: 25.7 kB / 0.9022 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.362e-05/0.1632, allocations: 84.73 kB / 0.9023 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.939e-05/0.1632, allocations: 71.02 kB / 0.9023 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.749e-05/0.1633, allocations: 33.7 kB / 0.9024 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.022e-05/0.1633, allocations: 322.8 kB / 0.9027 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.036e-05/0.1634, allocations: 88 kB / 0.9028 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.361e-05/0.1634, allocations: 79.98 kB / 0.9028 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.1636, allocations: 353.3 kB / 0.9032 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1636, allocations: 0 / 0.9032 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002364/0.1639, allocations: 332.1 kB / 0.9035 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.208e-05/0.164, allocations: 84.3 kB / 0.9036 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.164, allocations: 3.938 kB / 0.9036 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.164, allocations: 192 / 0.9036 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.112e-05/0.164, allocations: 7.938 kB / 0.9036 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.164, allocations: 0 / 0.9036 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.185e-05/0.1641, allocations: 23.89 kB / 0.9036 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.1642, allocations: 12 kB / 0.9036 GB, free: 60.82 MB / 0.6042 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.0001561/0.1643, allocations: 265.7 kB / 0.9039 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.21e-05/0.1644, allocations: 23.8 kB / 0.9039 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.826e-06/0.1644, allocations: 13.16 kB / 0.9039 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.1644, allocations: 0 / 0.9039 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1644, allocations: 0 / 0.9039 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.177e-05/0.1644, allocations: 92.86 kB / 0.904 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.871e-05/0.1645, allocations: 79.94 kB / 0.9041 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.755e-05/0.1646, allocations: 12 kB / 0.9041 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.1646, allocations: 8 kB / 0.9041 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001071/0.1657, allocations: 2.028 MB / 0.9061 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0008014/0.1665, allocations: 1.41 MB / 0.9075 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005409/0.1671, allocations: 1.289 MB / 0.9087 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.867e-05/0.1671, allocations: 83.28 kB / 0.9088 GB, free: 55.44 MB / 0.6042 GB Notification: Performance of Backend: time 3.61e-07/0.1671, allocations: 4.062 kB / 0.9088 GB, free: 55.44 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001253/0.1684, allocations: 1.888 MB / 0.9106 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0006864/0.169, allocations: 1.422 MB / 0.912 GB, free: 52.07 MB / 0.6042 GB Notification: Performance of Templates: time 0.004112/0.1732, allocations: 2.45 MB / 0.9144 GB, free: 49.62 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1)