Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.489/1.489, allocations: 252 MB / 268 MB, free: 10.84 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.001038/0.001038, allocations: 166.8 kB / 327.6 MB, free: 2.074 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.768/1.768, allocations: 205.4 MB / 0.5786 GB, free: 20.43 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.0008149/0.000815, allocations: 93.52 kB / 0.6832 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003512, allocations: 8.25 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2578, allocations: 106.3 MB / 0.9014 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.001768/0.2596, allocations: 1.227 MB / 0.9026 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001249/0.2609, allocations: 0.7602 MB / 0.9034 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.599e-05/0.261, allocations: 0 / 0.9034 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.86e-05/0.261, allocations: 0 / 0.9034 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.273e-05/0.2611, allocations: 19.91 kB / 0.9034 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005375/0.2617, allocations: 103.8 kB / 0.9035 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.665e-05/0.2617, allocations: 75.72 kB / 0.9036 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.2619, allocations: 7.984 kB / 0.9036 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.158e-05/0.2619, allocations: 27.91 kB / 0.9036 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.354e-05/0.262, allocations: 35.84 kB / 0.9036 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.262, allocations: 8 kB / 0.9037 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001685/0.2622, allocations: 91.84 kB / 0.9037 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.492e-05/0.2623, allocations: 15.92 kB / 0.9038 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.002e-05/0.2623, allocations: 53.55 kB / 0.9038 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.2625, allocations: 99.83 kB / 0.9039 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.2625, allocations: 0 / 0.9039 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.344e-06/0.2625, allocations: 0 / 0.9039 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.2625, allocations: 0 / 0.9039 GB, free: 61.23 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.0005557/0.2631, allocations: 409.2 kB / 0.9043 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.2631, allocations: 8.031 kB / 0.9043 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.186e-05/0.2632, allocations: 8.844 kB / 0.9043 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.873e-05/0.2633, allocations: 180.2 kB / 0.9045 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.305e-05/0.2633, allocations: 12.31 kB / 0.9045 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.2633, allocations: 4.375 kB / 0.9045 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.2635, allocations: 73.91 kB / 0.9046 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.954e-06/0.2635, allocations: 0 / 0.9046 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.2635, allocations: 8 kB / 0.9046 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.2636, allocations: 4 kB / 0.9046 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.2637, allocations: 39.97 kB / 0.9046 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005416/0.2642, allocations: 312.8 kB / 0.9049 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.2644, allocations: 58.5 kB / 0.905 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.712e-05/0.2644, allocations: 40.95 kB / 0.905 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.2645, allocations: 0 / 0.905 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002043/0.2647, allocations: 87.34 kB / 0.9051 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.2647, allocations: 0 / 0.9051 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003607/0.2651, allocations: 145.6 kB / 0.9052 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.2651, allocations: 63.34 kB / 0.9053 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.922e-05/0.2652, allocations: 121.7 kB / 0.9054 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.2652, allocations: 33.7 kB / 0.9054 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.624e-05/0.2652, allocations: 84.14 kB / 0.9055 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.577e-05/0.2653, allocations: 15.81 kB / 0.9055 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/0.2653, allocations: 0 / 0.9055 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.461e-05/0.2653, allocations: 326.8 kB / 0.9059 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.054e-05/0.2654, allocations: 31.92 kB / 0.9059 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.364e-05/0.2655, allocations: 50.55 kB / 0.9059 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.2656, allocations: 82.5 kB / 0.906 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2656, allocations: 4 kB / 0.906 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001982/0.2658, allocations: 117.5 kB / 0.9061 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.2659, allocations: 7.938 kB / 0.9061 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2659, allocations: 0 / 0.9061 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.2659, allocations: 4 kB / 0.9061 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.226e-05/0.266, allocations: 16.05 kB / 0.9062 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.266, allocations: 0 / 0.9062 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.418e-05/0.2661, allocations: 19.92 kB / 0.9062 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.2661, allocations: 4 kB / 0.9062 GB, free: 58.67 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,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * 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 6.501e-05/0.2662, allocations: 121.7 kB / 0.9063 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.268e-05/0.2662, allocations: 7.906 kB / 0.9063 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.674e-05/0.2662, allocations: 8.375 kB / 0.9063 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.2662, allocations: 4 kB / 0.9063 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2662, allocations: 0 / 0.9063 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.2662, allocations: 3.984 kB / 0.9063 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003414/0.2666, allocations: 382.9 kB / 0.9067 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2666, allocations: 0 / 0.9067 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.971e-05/0.2666, allocations: 15.92 kB / 0.9067 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.2666, allocations: 4 kB / 0.9067 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.2667, allocations: 4 kB / 0.9067 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2667, allocations: 0 / 0.9067 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2667, allocations: 3.938 kB / 0.9067 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/0.2669, allocations: 211.4 kB / 0.9069 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.861e-05/0.2669, allocations: 85.02 kB / 0.907 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.267, allocations: 4 kB / 0.907 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.344e-05/0.267, allocations: 11.98 kB / 0.907 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.2671, allocations: 3.938 kB / 0.907 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.769e-06/0.2671, allocations: 7.984 kB / 0.907 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.158e-05/0.2671, allocations: 87.94 kB / 0.9071 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2671, allocations: 0 / 0.9071 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002626/0.2674, allocations: 43.92 kB / 0.9071 GB, free: 57.58 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.0003018/0.2677, allocations: 176.5 kB / 0.9073 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002083/0.2679, allocations: 71.95 kB / 0.9074 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.268, allocations: 4.125 kB / 0.9074 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.502e-05/0.268, allocations: 39.92 kB / 0.9074 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.2683, allocations: 8 kB / 0.9074 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003517/0.2687, allocations: 234.9 kB / 0.9076 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.2688, allocations: 0.6887 MB / 0.9083 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.788e-05/0.2688, allocations: 11.44 kB / 0.9083 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of SimCode: time 3.61e-07/0.2688, allocations: 0 / 0.9083 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of Templates: time 0.002895/0.2717, allocations: 1.614 MB / 0.9099 GB, free: 54.7 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1)