Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.351/1.351, 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.0009684/0.0009686, allocations: 171.2 kB / 326.5 MB, free: 2.691 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.771/1.771, allocations: 205 MB / 0.5766 GB, free: 21.01 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.0008415/0.0008416, allocations: 85.56 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003705/0.0003709, allocations: 8.75 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2549, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.001793/0.2568, allocations: 1.227 MB / 0.8979 GB, free: 66.92 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001356/0.2582, allocations: 0.7851 MB / 0.8987 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.409e-05/0.2583, allocations: 0 / 0.8987 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.668e-05/0.2583, allocations: 3.984 kB / 0.8987 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.259e-05/0.2584, allocations: 15.86 kB / 0.8987 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006191/0.259, allocations: 95.83 kB / 0.8988 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.2592, allocations: 79.66 kB / 0.8989 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.504e-05/0.2593, allocations: 15.98 kB / 0.8989 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.829e-05/0.2594, allocations: 27.91 kB / 0.8989 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.818e-05/0.2594, allocations: 31.84 kB / 0.899 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.2595, allocations: 4 kB / 0.899 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002066/0.2597, allocations: 91.84 kB / 0.8991 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.477e-05/0.2597, allocations: 11.98 kB / 0.8991 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.288e-05/0.2598, allocations: 35.78 kB / 0.8991 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001807/0.26, allocations: 99.81 kB / 0.8992 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.26, allocations: 4 kB / 0.8992 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.774e-06/0.26, allocations: 0 / 0.8992 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.26, allocations: 0 / 0.8992 GB, free: 65.62 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000642/0.2606, allocations: 405 kB / 0.8996 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.2607, allocations: 8.031 kB / 0.8996 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.118e-05/0.2608, allocations: 12.83 kB / 0.8996 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.2609, allocations: 172.3 kB / 0.8998 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.762e-05/0.2609, allocations: 4.375 kB / 0.8998 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.2609, allocations: 8.375 kB / 0.8998 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.2611, allocations: 77.91 kB / 0.8999 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.2611, allocations: 0 / 0.8999 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.2612, allocations: 0 / 0.8999 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.2612, allocations: 4 kB / 0.8999 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.2613, allocations: 39.97 kB / 0.8999 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000615/0.2619, allocations: 320.7 kB / 0.9002 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.2621, allocations: 70.42 kB / 0.9003 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.602e-05/0.2622, allocations: 32.97 kB / 0.9003 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.2622, allocations: 0 / 0.9003 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001879/0.2624, allocations: 91.33 kB / 0.9004 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.2624, allocations: 0 / 0.9004 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003994/0.2628, allocations: 141.6 kB / 0.9005 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.2629, allocations: 63.34 kB / 0.9006 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.845e-05/0.2629, allocations: 121.7 kB / 0.9007 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.263, allocations: 29.7 kB / 0.9007 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.986e-05/0.263, allocations: 84.14 kB / 0.9008 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.263, allocations: 23.8 kB / 0.9008 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.697e-05/0.2631, allocations: 17.72 kB / 0.9008 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.646e-05/0.2631, allocations: 326.8 kB / 0.9012 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.412e-05/0.2632, allocations: 23.98 kB / 0.9012 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.941e-05/0.2633, allocations: 51 kB / 0.9012 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.2635, allocations: 86.47 kB / 0.9013 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2635, allocations: 0 / 0.9013 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002187/0.2637, allocations: 121.5 kB / 0.9014 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.2637, allocations: 7.938 kB / 0.9014 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.319e-06/0.2637, allocations: 0 / 0.9014 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.2637, allocations: 4 kB / 0.9014 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.227e-05/0.2638, allocations: 11.98 kB / 0.9015 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.2639, allocations: 0 / 0.9015 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.467e-05/0.2639, allocations: 15.94 kB / 0.9015 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.2639, allocations: 0 / 0.9015 GB, free: 63.04 MB / 0.6042 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 7.39e-05/0.264, allocations: 140.8 kB / 0.9016 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.624e-05/0.264, allocations: 7.844 kB / 0.9016 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.128e-05/0.2641, allocations: 12.38 kB / 0.9016 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.2641, allocations: 0 / 0.9016 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.2641, allocations: 0 / 0.9016 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.2641, allocations: 0 / 0.9016 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004107/0.2645, allocations: 390.5 kB / 0.902 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.2645, allocations: 0 / 0.902 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.061e-05/0.2646, allocations: 11.92 kB / 0.902 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.2646, allocations: 0 / 0.902 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.2646, allocations: 0 / 0.902 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.2646, allocations: 4 kB / 0.902 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.2646, allocations: 3.938 kB / 0.902 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002514/0.2649, allocations: 215.4 kB / 0.9022 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.358e-05/0.2649, allocations: 81.02 kB / 0.9023 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.2649, allocations: 4 kB / 0.9023 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.149e-05/0.265, allocations: 4 kB / 0.9023 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/0.2651, allocations: 11.92 kB / 0.9023 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.2651, allocations: 8 kB / 0.9023 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.876e-05/0.2651, allocations: 95.42 kB / 0.9024 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2651, allocations: 0 / 0.9024 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002873/0.2654, allocations: 39.98 kB / 0.9025 GB, free: 61.94 MB / 0.6042 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.0003552/0.2658, allocations: 165.3 kB / 0.9026 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002238/0.266, allocations: 71.97 kB / 0.9027 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.266, allocations: 0 / 0.9027 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.701e-05/0.2661, allocations: 51.89 kB / 0.9027 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.2664, allocations: 11.88 kB / 0.9027 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003878/0.2668, allocations: 216 kB / 0.9029 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001222/0.2669, allocations: 0.6887 MB / 0.9036 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.702e-05/0.267, allocations: 11.44 kB / 0.9036 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of SimCode: time 3.31e-07/0.267, allocations: 0 / 0.9036 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of Templates: time 0.003353/0.2703, allocations: 1.609 MB / 0.9052 GB, free: 59.08 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1)