Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.749/1.749, allocations: 292.3 MB / 308.1 MB, free: 4.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001402/0.001402, allocations: 192.4 kB / 376.9 MB, free: 1.824 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.617/1.617, allocations: 205 MB / 0.6353 GB, free: 9.809 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001072/0.001072, allocations: 96.62 kB / 0.748 GB, free: 61.29 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 55.92 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.344, allocations: 114.6 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.004437/0.3485, allocations: 1.557 MB / 0.9837 GB, free: 8.82 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001927/0.3505, allocations: 0.7644 MB / 0.9845 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.181e-05/0.3506, allocations: 8 kB / 0.9845 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 6.081e-05/0.3507, allocations: 7.922 kB / 0.9845 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.809e-05/0.3509, allocations: 3.938 kB / 0.9845 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008587/0.3517, allocations: 99.77 kB / 0.9846 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001828/0.3519, allocations: 67.78 kB / 0.9847 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.3521, allocations: 19.97 kB / 0.9847 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001609/0.3523, allocations: 31.92 kB / 0.9847 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.3524, allocations: 43.81 kB / 0.9848 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.429e-05/0.3524, allocations: 4 kB / 0.9848 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003195/0.3527, allocations: 83.86 kB / 0.9848 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.438e-05/0.3528, allocations: 15.97 kB / 0.9849 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.883e-05/0.3529, allocations: 35.8 kB / 0.9849 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003395/0.3532, allocations: 131.9 kB / 0.985 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3532, allocations: 4 kB / 0.985 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3532, allocations: 0 / 0.985 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.3532, allocations: 0 / 0.985 GB, free: 7.5 MB / 0.7136 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.0009182/0.3542, allocations: 417 kB / 0.9854 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.042e-05/0.3542, allocations: 12.03 kB / 0.9854 GB, free: 7.027 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.868e-05/0.3543, allocations: 12.78 kB / 0.9855 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/0.3545, allocations: 180.2 kB / 0.9856 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.404e-05/0.3546, allocations: 384 / 0.9856 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.3546, allocations: 8.375 kB / 0.9856 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/0.3548, allocations: 69.97 kB / 0.9857 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.3548, allocations: 0 / 0.9857 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.3549, allocations: 4 kB / 0.9857 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.3549, allocations: 0 / 0.9857 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.355, allocations: 35.97 kB / 0.9857 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007461/0.3558, allocations: 320.6 kB / 0.986 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/0.3559, allocations: 54.53 kB / 0.9861 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.879e-05/0.356, allocations: 32.97 kB / 0.9861 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.3561, allocations: 0 / 0.9861 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002797/0.3563, allocations: 87.3 kB / 0.9862 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.004e-06/0.3564, allocations: 0 / 0.9862 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0004383/0.3568, allocations: 137.6 kB / 0.9863 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/0.3569, allocations: 59.41 kB / 0.9864 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.357, allocations: 125.8 kB / 0.9865 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.357, allocations: 25.7 kB / 0.9865 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.452e-05/0.3571, allocations: 92.14 kB / 0.9866 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.3571, allocations: 15.69 kB / 0.9866 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.417e-05/0.3572, allocations: 29.7 kB / 0.9867 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.3573, allocations: 330.8 kB / 0.987 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.331e-05/0.3574, allocations: 23.98 kB / 0.987 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.3576, allocations: 46.98 kB / 0.9871 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.3577, allocations: 74.5 kB / 0.9871 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3578, allocations: 4 kB / 0.9871 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002837/0.3581, allocations: 117.5 kB / 0.9872 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.3581, allocations: 4 kB / 0.9872 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.3581, allocations: 0 / 0.9872 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.3581, allocations: 4 kB / 0.9872 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.3582, allocations: 15.92 kB / 0.9873 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/0.3583, allocations: 0 / 0.9873 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.239e-05/0.3583, allocations: 11.98 kB / 0.9873 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/0.3584, allocations: 8.062 kB / 0.9873 GB, free: 4.941 MB / 0.7136 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 0.0001277/0.3585, allocations: 117.8 kB / 0.9874 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.826e-05/0.3585, allocations: 7.906 kB / 0.9874 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.413e-05/0.3586, allocations: 8.375 kB / 0.9874 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.3586, allocations: 4 kB / 0.9874 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.3586, allocations: 0 / 0.9874 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.3586, allocations: 3.984 kB / 0.9874 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004875/0.3591, allocations: 382.4 kB / 0.9878 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.3591, allocations: 3.984 kB / 0.9878 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.273e-05/0.3592, allocations: 8 kB / 0.9878 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.3592, allocations: 3.938 kB / 0.9878 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.3592, allocations: 0 / 0.9878 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.3592, allocations: 0 / 0.9878 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.3592, allocations: 3.938 kB / 0.9878 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007006/0.3599, allocations: 0.7947 MB / 0.9886 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.156e-05/0.36, allocations: 81.05 kB / 0.9887 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.36, allocations: 4 kB / 0.9887 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.076e-05/0.3601, allocations: 3.984 kB / 0.9887 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.893e-05/0.3601, allocations: 4 kB / 0.9887 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.3602, allocations: 11.98 kB / 0.9887 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.802e-05/0.3602, allocations: 91.44 kB / 0.9888 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3602, allocations: 4 kB / 0.9888 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004454/0.3607, allocations: 43.89 kB / 0.9888 GB, free: 3.23 MB / 0.7136 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.0004327/0.3611, allocations: 162.4 kB / 0.989 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002505/0.3614, allocations: 76.02 kB / 0.989 GB, free: 3 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.3614, allocations: 0 / 0.989 GB, free: 3 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.929e-05/0.3615, allocations: 35.92 kB / 0.9891 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.3618, allocations: 11.94 kB / 0.9891 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005878/0.3624, allocations: 317.1 kB / 0.9894 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.3627, allocations: 0.6887 MB / 0.9901 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.706e-05/0.3628, allocations: 4 kB / 0.9901 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.036e-05/0.3628, allocations: 11.44 kB / 0.9901 GB, free: 1.875 MB / 0.7136 GB Notification: Performance of SimCode: time 3.7e-07/0.3628, allocations: 0 / 0.9901 GB, free: 1.875 MB / 0.7136 GB Notification: Performance of Templates: time 0.004502/0.3673, allocations: 1.404 MB / 0.9914 GB, free: 484 kB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1)