Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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: translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 110.4 kB / 15.99 MB, free: 5.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 195.7 kB / 16.91 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.321/1.321, allocations: 205.1 MB / 222.8 MB, free: 4.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.698/1.698, allocations: 292.3 MB / 0.5492 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 66.8 kB / 0.6716 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2103, allocations: 114.6 MB / 0.7835 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.002478/0.2128, allocations: 1.396 MB / 0.7849 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006849/0.2135, allocations: 352.9 kB / 0.7852 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.482e-05/0.2135, allocations: 0 / 0.7852 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.691e-05/0.2136, allocations: 3.938 kB / 0.7852 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.632e-05/0.2137, allocations: 7.984 kB / 0.7852 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003773/0.214, allocations: 75.8 kB / 0.7853 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.2142, allocations: 67.84 kB / 0.7854 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.649e-05/0.2142, allocations: 4 kB / 0.7854 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.059e-05/0.2142, allocations: 19.97 kB / 0.7854 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.317e-05/0.2143, allocations: 19.92 kB / 0.7854 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.2143, allocations: 4 kB / 0.7854 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.2144, allocations: 71.92 kB / 0.7855 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.847e-05/0.2145, allocations: 35.84 kB / 0.7855 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.019e-05/0.2145, allocations: 51.62 kB / 0.7856 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.2147, allocations: 115.8 kB / 0.7857 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2147, allocations: 0 / 0.7857 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2147, allocations: 0 / 0.7857 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.2147, allocations: 0 / 0.7857 GB, free: 11.7 MB / 0.6075 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.0004881/0.2152, allocations: 0.5164 MB / 0.7862 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.2153, allocations: 8.031 kB / 0.7862 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.392e-05/0.2154, allocations: 16.75 kB / 0.7862 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.2155, allocations: 176.3 kB / 0.7864 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.2155, allocations: 4.375 kB / 0.7864 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.2155, allocations: 4.375 kB / 0.7864 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002589/0.2158, allocations: 245.9 kB / 0.7866 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.301e-06/0.2158, allocations: 4.188 kB / 0.7866 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.2158, allocations: 3.938 kB / 0.7866 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.2158, allocations: 0 / 0.7866 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001321/0.216, allocations: 144 kB / 0.7868 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001575/0.2161, allocations: 193.5 kB / 0.7869 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003689/0.2165, allocations: 0.5376 MB / 0.7875 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003564/0.2169, allocations: 0.5243 MB / 0.788 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.285e-06/0.2169, allocations: 3.984 kB / 0.788 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000389/0.2173, allocations: 391.7 kB / 0.7884 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=39): time 1.262e-06/0.2173, allocations: 0 / 0.7884 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39): time 0.000711/0.218, allocations: 0.6967 MB / 0.789 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/0.2181, allocations: 109.1 kB / 0.7891 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.448e-05/0.2182, allocations: 97.86 kB / 0.7892 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.2182, allocations: 29.69 kB / 0.7893 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.021e-05/0.2182, allocations: 80.8 kB / 0.7893 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.472e-05/0.2183, allocations: 82.84 kB / 0.7894 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.706e-05/0.2183, allocations: 33.7 kB / 0.7894 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.2184, allocations: 322.8 kB / 0.7898 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.781e-05/0.2185, allocations: 87.97 kB / 0.7898 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.745e-05/0.2186, allocations: 83.98 kB / 0.7899 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000272/0.2189, allocations: 353.3 kB / 0.7903 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.2189, allocations: 0 / 0.7903 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003338/0.2192, allocations: 332.1 kB / 0.7906 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.21e-05/0.2193, allocations: 85.58 kB / 0.7907 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.2193, allocations: 0 / 0.7907 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.2193, allocations: 0 / 0.7907 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.171e-05/0.2194, allocations: 7.938 kB / 0.7907 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.2194, allocations: 0 / 0.7907 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.461e-05/0.2195, allocations: 19.8 kB / 0.7907 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.2195, allocations: 19.94 kB / 0.7907 GB, free: 6.258 MB / 0.6075 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.0002268/0.2198, allocations: 262.3 kB / 0.7909 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.969e-05/0.2198, allocations: 27.75 kB / 0.791 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.007e-06/0.2198, allocations: 5.219 kB / 0.791 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2198, allocations: 0 / 0.791 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.2199, allocations: 4 kB / 0.791 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2199, allocations: 4 kB / 0.791 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/0.22, allocations: 245.4 kB / 0.7912 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.22, allocations: 0 / 0.7912 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.295e-06/0.22, allocations: 4 kB / 0.7912 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.2201, allocations: 7.938 kB / 0.7912 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.2201, allocations: 11.98 kB / 0.7912 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2201, allocations: 0 / 0.7912 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2201, allocations: 0 / 0.7912 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.2212, allocations: 1.287 MB / 0.7925 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.175e-05/0.2213, allocations: 88.95 kB / 0.7926 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.951e-05/0.2214, allocations: 79.89 kB / 0.7927 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.306e-05/0.2214, allocations: 8 kB / 0.7927 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.2215, allocations: 16.02 kB / 0.7927 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-05/0.2215, allocations: 11.98 kB / 0.7927 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.498e-05/0.2216, allocations: 83.28 kB / 0.7928 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2216, allocations: 0 / 0.7928 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002865/0.2219, allocations: 68 kB / 0.7928 GB, free: 3.961 MB / 0.6075 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.0004424/0.2223, allocations: 250.4 kB / 0.7931 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00143/0.2237, allocations: 1.971 MB / 0.795 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2238, allocations: 0 / 0.795 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001304/0.2251, allocations: 2.011 MB / 0.797 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.2253, allocations: 23.98 kB / 0.797 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005244/0.2258, allocations: 385.1 kB / 0.7974 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.2261, allocations: 0.7205 MB / 0.7981 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.288e-05/0.2261, allocations: 7.438 kB / 0.7981 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of SimCode: time 2.21e-07/0.2261, allocations: 0 / 0.7981 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of Templates: time 0.003978/0.2301, allocations: 2.427 MB / 0.8004 GB, free: 12.09 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & ./Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1)