Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 194.1 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.992/2.992, allocations: 472.6 MB / 0.7451 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 65.09 kB / 0.912 GB, free: 33.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3328, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.00326/0.3361, allocations: 1.493 MB / 1.07 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001415/0.3376, allocations: 0.736 MB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.395e-05/0.3376, allocations: 4 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.633e-05/0.3377, allocations: 3.938 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.961e-05/0.3378, allocations: 11.88 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006809/0.3385, allocations: 119.6 kB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000118/0.3386, allocations: 71.84 kB / 1.071 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.3387, allocations: 23.95 kB / 1.071 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.3388, allocations: 35.86 kB / 1.071 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.228e-05/0.3389, allocations: 43.81 kB / 1.071 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.339, allocations: 8 kB / 1.071 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002219/0.3392, allocations: 91.91 kB / 1.071 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.544e-05/0.3392, allocations: 19.92 kB / 1.071 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.393e-05/0.3393, allocations: 27.86 kB / 1.071 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002653/0.3396, allocations: 143.8 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3396, allocations: 0 / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3396, allocations: 4 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.91e-06/0.3396, allocations: 0 / 1.071 GB, free: 7.59 MB / 0.8262 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.00065/0.3403, allocations: 417 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.3403, allocations: 12.03 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.478e-05/0.3404, allocations: 8.844 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.3405, allocations: 176.2 kB / 1.072 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.3405, allocations: 384 / 1.072 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.3405, allocations: 4.375 kB / 1.072 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.3407, allocations: 77.91 kB / 1.072 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.3407, allocations: 0 / 1.072 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.3408, allocations: 11.92 kB / 1.072 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-06/0.3408, allocations: 0 / 1.072 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.3409, allocations: 39.91 kB / 1.072 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006266/0.3415, allocations: 316.8 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.3417, allocations: 46.56 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.999e-05/0.3418, allocations: 36.97 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.3418, allocations: 0 / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002611/0.3421, allocations: 83.31 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.3421, allocations: 0 / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004399/0.3425, allocations: 137.6 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.3426, allocations: 55.41 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.3427, allocations: 133.7 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.3428, allocations: 25.7 kB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.974e-05/0.3428, allocations: 88.14 kB / 1.073 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.3429, allocations: 19.73 kB / 1.073 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.321e-05/0.3429, allocations: 29.7 kB / 1.073 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.3431, allocations: 326.8 kB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.517e-05/0.3432, allocations: 27.92 kB / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.3433, allocations: 46.55 kB / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002258/0.3436, allocations: 70.55 kB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.3436, allocations: 4 kB / 1.073 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002905/0.3439, allocations: 113.8 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.3439, allocations: 4 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.3439, allocations: 3.984 kB / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.371e-05/0.344, allocations: 4 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.546e-05/0.3441, allocations: 15.88 kB / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.3441, allocations: 80 / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.299e-05/0.3442, allocations: 11.98 kB / 1.073 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/0.3442, allocations: 12.05 kB / 1.073 GB, free: 5.031 MB / 0.8262 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.986e-05/0.3443, allocations: 118.3 kB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.033e-05/0.3443, allocations: 7.906 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.078e-05/0.3444, allocations: 12.36 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.3444, allocations: 0 / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.3444, allocations: 4 kB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3444, allocations: 0 / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004645/0.3448, allocations: 386.3 kB / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3449, allocations: 0 / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.221e-05/0.3449, allocations: 8 kB / 1.074 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.3449, allocations: 0 / 1.074 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.3449, allocations: 4 kB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.3449, allocations: 7.922 kB / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.345, allocations: 3.938 kB / 1.074 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002893/0.3452, allocations: 211.4 kB / 1.074 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.548e-05/0.3453, allocations: 81.02 kB / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.3453, allocations: 4 kB / 1.074 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.038e-05/0.3454, allocations: 7.984 kB / 1.074 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.3455, allocations: 7.938 kB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.3455, allocations: 7.984 kB / 1.074 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.212e-05/0.3456, allocations: 91.27 kB / 1.074 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3456, allocations: 0 / 1.074 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002964/0.3459, allocations: 36 kB / 1.074 GB, free: 3.953 MB / 0.8262 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.0003853/0.3463, allocations: 165.5 kB / 1.074 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002623/0.3465, allocations: 75.89 kB / 1.074 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3466, allocations: 0 / 1.074 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.3467, allocations: 44.05 kB / 1.074 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.3469, allocations: 14.2 kB / 1.074 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000436/0.3474, allocations: 180.2 kB / 1.075 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.3477, allocations: 0.6924 MB / 1.075 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.807e-05/0.3477, allocations: 4 kB / 1.075 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.249e-05/0.3478, allocations: 11.44 kB / 1.075 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3478, allocations: 0 / 1.075 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of Templates: time 0.004431/0.3522, allocations: 1.443 MB / 1.077 GB, free: 1.289 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1)