Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001362/0.001362, allocations: 192.1 kB / 16.13 MB, free: 6.652 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.51/1.51, allocations: 205.1 MB / 222 MB, free: 4.781 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.766/1.766, allocations: 292.2 MB / 0.5484 GB, free: 13.65 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.001687/0.001687, allocations: 67.47 kB / 0.6708 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2155, allocations: 114.5 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.003212/0.2187, allocations: 1.554 MB / 0.7842 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001533/0.2203, allocations: 0.7723 MB / 0.7849 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.481e-05/0.2204, allocations: 0 / 0.7849 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.55e-05/0.2205, allocations: 7.922 kB / 0.7849 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.103e-05/0.2205, allocations: 7.922 kB / 0.785 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006255/0.2212, allocations: 103.8 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000134/0.2213, allocations: 71.78 kB / 0.7851 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.986e-05/0.2214, allocations: 15.98 kB / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.021e-05/0.2215, allocations: 31.84 kB / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.659e-05/0.2216, allocations: 35.89 kB / 0.7852 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.2216, allocations: 4 kB / 0.7852 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000198/0.2218, allocations: 91.84 kB / 0.7853 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.757e-05/0.2218, allocations: 19.91 kB / 0.7853 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.396e-05/0.2219, allocations: 27.86 kB / 0.7853 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002229/0.2221, allocations: 143.9 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2221, allocations: 0 / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.52e-07/0.2221, allocations: 0 / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.2221, allocations: 0 / 0.7855 GB, free: 11.11 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006706/0.2228, allocations: 409 kB / 0.7859 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.2229, allocations: 12.03 kB / 0.7859 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.294e-05/0.2229, allocations: 8.844 kB / 0.7859 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.363e-05/0.223, allocations: 180.2 kB / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/0.223, allocations: 4.375 kB / 0.7861 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.2231, allocations: 8.375 kB / 0.7861 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.2233, allocations: 73.91 kB / 0.7861 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.2233, allocations: 3.938 kB / 0.7861 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.2233, allocations: 0 / 0.7861 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.2233, allocations: 0 / 0.7861 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.2234, allocations: 43.94 kB / 0.7862 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005641/0.224, allocations: 316.8 kB / 0.7865 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.2242, allocations: 50.48 kB / 0.7865 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.254e-05/0.2242, allocations: 32.97 kB / 0.7866 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.2243, allocations: 0 / 0.7866 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002143/0.2245, allocations: 87.28 kB / 0.7867 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.2245, allocations: 0 / 0.7867 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004058/0.2249, allocations: 129.9 kB / 0.7868 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.225, allocations: 63.34 kB / 0.7868 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.512e-05/0.2251, allocations: 125.7 kB / 0.787 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.2251, allocations: 25.7 kB / 0.787 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.336e-05/0.2252, allocations: 92.14 kB / 0.7871 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.2252, allocations: 19.73 kB / 0.7871 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.766e-05/0.2252, allocations: 25.72 kB / 0.7871 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.581e-05/0.2253, allocations: 326.8 kB / 0.7874 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.086e-05/0.2254, allocations: 23.98 kB / 0.7874 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.946e-05/0.2255, allocations: 46.55 kB / 0.7875 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.2257, allocations: 82.5 kB / 0.7876 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2257, allocations: 0 / 0.7876 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002319/0.2259, allocations: 113.5 kB / 0.7877 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.226, allocations: 4 kB / 0.7877 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.226, allocations: 0 / 0.7877 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.226, allocations: 8.062 kB / 0.7877 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.436e-05/0.2261, allocations: 11.98 kB / 0.7877 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.2261, allocations: 0 / 0.7877 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.986e-05/0.2262, allocations: 11.98 kB / 0.7877 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.2262, allocations: 4 kB / 0.7877 GB, free: 8.57 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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 9.467e-05/0.2263, allocations: 125.6 kB / 0.7878 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.758e-05/0.2263, allocations: 7.906 kB / 0.7878 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.532e-05/0.2264, allocations: 8.375 kB / 0.7879 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.2264, allocations: 8 kB / 0.7879 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.2264, allocations: 4 kB / 0.7879 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.2264, allocations: 3.984 kB / 0.7879 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004314/0.2268, allocations: 374.4 kB / 0.7882 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.2268, allocations: 3.984 kB / 0.7882 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.126e-05/0.2269, allocations: 7.938 kB / 0.7882 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2269, allocations: 0 / 0.7882 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.2269, allocations: 4 kB / 0.7882 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2269, allocations: 4 kB / 0.7882 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.2269, allocations: 11.88 kB / 0.7883 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/0.2272, allocations: 207.4 kB / 0.7885 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.589e-05/0.2272, allocations: 85.02 kB / 0.7885 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.2273, allocations: 0 / 0.7885 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.174e-05/0.2274, allocations: 11.98 kB / 0.7885 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/0.2274, allocations: 3.938 kB / 0.7885 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.2274, allocations: 11.98 kB / 0.7886 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.335e-05/0.2275, allocations: 91.88 kB / 0.7886 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2275, allocations: 0 / 0.7886 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000294/0.2278, allocations: 39.98 kB / 0.7887 GB, free: 7.48 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: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003294/0.2281, allocations: 158.5 kB / 0.7888 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002339/0.2284, allocations: 76.17 kB / 0.7889 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2284, allocations: 0 / 0.7889 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.517e-05/0.2285, allocations: 35.92 kB / 0.7889 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.2287, allocations: 8 kB / 0.789 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004188/0.2292, allocations: 198.2 kB / 0.7891 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.2295, allocations: 0.6887 MB / 0.7898 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.113e-05/0.2295, allocations: 7.984 kB / 0.7898 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.816e-05/0.2295, allocations: 11.44 kB / 0.7898 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of SimCode: time 3.31e-07/0.2295, allocations: 0 / 0.7898 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of Templates: time 0.003976/0.2335, allocations: 1.375 MB / 0.7912 GB, free: 4.895 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1)