Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.685/1.685, 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.001286/0.001286, allocations: 191.6 kB / 376.9 MB, free: 1.789 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.703/1.703, allocations: 205.1 MB / 0.6354 GB, free: 9.805 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.001079/0.001078, allocations: 104.5 kB / 0.748 GB, free: 61.12 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 55.92 kB / 0.8704 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.343, allocations: 114.6 MB / 0.9822 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.004148/0.3473, allocations: 1.561 MB / 0.9837 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001889/0.3492, allocations: 0.7762 MB / 0.9845 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.226e-05/0.3493, allocations: 0 / 0.9845 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 5.185e-05/0.3494, allocations: 3.938 kB / 0.9845 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.321e-05/0.3495, allocations: 3.938 kB / 0.9845 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007866/0.3503, allocations: 95.77 kB / 0.9846 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.3505, allocations: 75.77 kB / 0.9847 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.3506, allocations: 16 kB / 0.9847 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.3507, allocations: 31.91 kB / 0.9847 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.8e-05/0.3509, allocations: 39.83 kB / 0.9848 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.3509, allocations: 7.938 kB / 0.9848 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000281/0.3512, allocations: 79.91 kB / 0.9848 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.668e-05/0.3512, allocations: 19.97 kB / 0.9849 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.343e-05/0.3513, allocations: 31.8 kB / 0.9849 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003676/0.3517, allocations: 143.9 kB / 0.985 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.3517, allocations: 0 / 0.985 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3517, allocations: 7.875 kB / 0.985 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.3517, allocations: 0 / 0.985 GB, free: 7.516 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.0008787/0.3526, allocations: 413 kB / 0.9854 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.753e-05/0.3527, allocations: 8.031 kB / 0.9854 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.416e-05/0.3527, allocations: 12.83 kB / 0.9854 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.3529, allocations: 176.2 kB / 0.9856 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.108e-05/0.3529, allocations: 384 / 0.9856 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.353, allocations: 8.375 kB / 0.9856 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002231/0.3532, allocations: 77.95 kB / 0.9857 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.3532, allocations: 0 / 0.9857 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.3532, allocations: 3.984 kB / 0.9857 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.3533, allocations: 0 / 0.9857 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.3534, allocations: 39.91 kB / 0.9857 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007411/0.3541, allocations: 320.7 kB / 0.986 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.3543, allocations: 46.55 kB / 0.9861 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.527e-05/0.3544, allocations: 32.97 kB / 0.9861 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/0.3544, allocations: 0 / 0.9861 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002647/0.3547, allocations: 83.31 kB / 0.9862 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.3547, allocations: 0 / 0.9862 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0004228/0.3551, allocations: 137.8 kB / 0.9863 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/0.3552, allocations: 55.41 kB / 0.9864 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.3553, allocations: 129.7 kB / 0.9865 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.3554, allocations: 29.7 kB / 0.9865 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.389e-05/0.3554, allocations: 92.14 kB / 0.9866 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.269e-05/0.3555, allocations: 19.73 kB / 0.9866 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.595e-05/0.3556, allocations: 25.72 kB / 0.9867 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.3557, allocations: 322.8 kB / 0.987 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.429e-05/0.3558, allocations: 27.98 kB / 0.987 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.932e-05/0.3559, allocations: 50.48 kB / 0.9871 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/0.3561, allocations: 78.62 kB / 0.9871 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3561, allocations: 0 / 0.9871 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002597/0.3564, allocations: 117.5 kB / 0.9872 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.3564, allocations: 4 kB / 0.9872 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3564, allocations: 0 / 0.9872 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.3564, allocations: 4 kB / 0.9872 GB, free: 5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.511e-05/0.3565, allocations: 19.98 kB / 0.9873 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.3565, allocations: 0 / 0.9873 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.549e-05/0.3566, allocations: 7.984 kB / 0.9873 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.3566, allocations: 8 kB / 0.9873 GB, free: 4.965 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.0001189/0.3568, allocations: 117.8 kB / 0.9874 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.858e-05/0.3568, allocations: 7.906 kB / 0.9874 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.64e-05/0.3568, allocations: 4.375 kB / 0.9874 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.3568, allocations: 11.94 kB / 0.9874 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.3569, allocations: 3.984 kB / 0.9874 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.3569, allocations: 0 / 0.9874 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004804/0.3574, allocations: 382.4 kB / 0.9878 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.3574, allocations: 0 / 0.9878 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.976e-05/0.3574, allocations: 7.938 kB / 0.9878 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.3574, allocations: 0 / 0.9878 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.3574, allocations: 0 / 0.9878 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.113e-06/0.3575, allocations: 0 / 0.9878 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.3575, allocations: 15.92 kB / 0.9878 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007998/0.3583, allocations: 0.7863 MB / 0.9886 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.353e-05/0.3583, allocations: 81.05 kB / 0.9887 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.686e-05/0.3584, allocations: 8 kB / 0.9887 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.693e-05/0.3585, allocations: 7.984 kB / 0.9887 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.49e-05/0.3586, allocations: 4 kB / 0.9887 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.3586, allocations: 11.92 kB / 0.9887 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.238e-05/0.3587, allocations: 91.27 kB / 0.9888 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.01e-07/0.3587, allocations: 0 / 0.9888 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004634/0.3591, allocations: 39.91 kB / 0.9888 GB, free: 3.254 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.0005268/0.3597, allocations: 171.3 kB / 0.989 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003131/0.36, allocations: 80.11 kB / 0.989 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.36, allocations: 0 / 0.989 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.3601, allocations: 31.98 kB / 0.9891 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.3604, allocations: 10 kB / 0.9891 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007233/0.3612, allocations: 323.8 kB / 0.9894 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004793/0.3617, allocations: 0.6926 MB / 0.9901 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.097e-05/0.3617, allocations: 4 kB / 0.9901 GB, free: 1.895 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.489e-05/0.3618, allocations: 15.44 kB / 0.9901 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of SimCode: time 8.11e-07/0.3618, allocations: 0 / 0.9901 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of Templates: time 0.00521/0.367, allocations: 1.392 MB / 0.9914 GB, free: 500 kB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1)