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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 192.1 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.651/1.651, allocations: 205.1 MB / 222.1 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.82/1.82, allocations: 292.2 MB / 0.5485 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 66.31 kB / 0.671 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2609, allocations: 114.5 MB / 0.7828 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.003704/0.2647, allocations: 1.574 MB / 0.7844 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001456/0.2662, allocations: 0.7644 MB / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.087e-05/0.2663, allocations: 4 kB / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.645e-05/0.2664, allocations: 0 / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.177e-05/0.2664, allocations: 11.86 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.00074/0.2672, allocations: 107.8 kB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.2674, allocations: 71.83 kB / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.2675, allocations: 12 kB / 0.7853 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.2676, allocations: 39.83 kB / 0.7854 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.43e-05/0.2677, allocations: 35.91 kB / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.623e-05/0.2678, allocations: 8 kB / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002722/0.268, allocations: 95.84 kB / 0.7855 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.09e-05/0.2681, allocations: 15.92 kB / 0.7855 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.736e-05/0.2682, allocations: 35.84 kB / 0.7855 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003295/0.2685, allocations: 139.9 kB / 0.7857 GB, free: 11 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2685, allocations: 0 / 0.7857 GB, free: 11 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.224e-06/0.2685, allocations: 0 / 0.7857 GB, free: 11 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.2685, allocations: 7.938 kB / 0.7857 GB, free: 11 MB / 0.6075 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.0007826/0.2693, allocations: 417 kB / 0.7861 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.2694, allocations: 8.031 kB / 0.7861 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.289e-05/0.2694, allocations: 8.844 kB / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.2696, allocations: 184.1 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.2696, allocations: 384 / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.2696, allocations: 8.359 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.2699, allocations: 77.97 kB / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.2699, allocations: 0 / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.2699, allocations: 0 / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.2699, allocations: 0 / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.27, allocations: 39.97 kB / 0.7864 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006928/0.2707, allocations: 320.7 kB / 0.7867 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.2709, allocations: 42.56 kB / 0.7867 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.544e-05/0.2709, allocations: 32.97 kB / 0.7868 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.271, allocations: 0 / 0.7868 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002027/0.2712, allocations: 79.28 kB / 0.7868 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 2.986e-06/0.2712, allocations: 4 kB / 0.7869 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004099/0.2716, allocations: 137.6 kB / 0.787 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.2717, allocations: 55.39 kB / 0.787 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.2718, allocations: 125.7 kB / 0.7872 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.2718, allocations: 29.7 kB / 0.7872 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.23e-05/0.2719, allocations: 96.19 kB / 0.7873 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/0.2719, allocations: 15.75 kB / 0.7873 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.978e-05/0.272, allocations: 37.7 kB / 0.7873 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.2721, allocations: 314.8 kB / 0.7876 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.695e-05/0.2721, allocations: 31.97 kB / 0.7877 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.637e-05/0.2722, allocations: 42.56 kB / 0.7877 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.2724, allocations: 82.42 kB / 0.7878 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.2724, allocations: 0 / 0.7878 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002171/0.2726, allocations: 113.8 kB / 0.7879 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.2727, allocations: 4 kB / 0.7879 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.2727, allocations: 4.078 kB / 0.7879 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.2727, allocations: 0 / 0.7879 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.365e-05/0.2728, allocations: 15.92 kB / 0.7879 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.2728, allocations: 3.984 kB / 0.7879 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.29e-05/0.2729, allocations: 8.062 kB / 0.7879 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.2729, allocations: 8 kB / 0.7879 GB, free: 8.449 MB / 0.6075 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.775e-05/0.273, allocations: 118.4 kB / 0.788 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.273, allocations: 15.89 kB / 0.7881 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.745e-05/0.2731, allocations: 8.375 kB / 0.7881 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.2731, allocations: 4 kB / 0.7881 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2731, allocations: 3.938 kB / 0.7881 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2731, allocations: 0 / 0.7881 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004375/0.2735, allocations: 386.3 kB / 0.7884 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2735, allocations: 0 / 0.7884 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.787e-05/0.2736, allocations: 4 kB / 0.7884 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2736, allocations: 0 / 0.7884 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.2736, allocations: 3.984 kB / 0.7884 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2736, allocations: 4 kB / 0.7884 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.2736, allocations: 3.938 kB / 0.7885 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002828/0.2739, allocations: 211.4 kB / 0.7887 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.601e-05/0.274, allocations: 89 kB / 0.7887 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.274, allocations: 3.984 kB / 0.7887 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.698e-05/0.2741, allocations: 4 kB / 0.7887 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.22e-05/0.2741, allocations: 11.92 kB / 0.7888 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.2742, allocations: 4 kB / 0.7888 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.987e-05/0.2742, allocations: 91.27 kB / 0.7888 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2742, allocations: 4 kB / 0.7889 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002947/0.2745, allocations: 39.94 kB / 0.7889 GB, free: 7.359 MB / 0.6075 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.0003441/0.2749, allocations: 157.6 kB / 0.789 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002441/0.2751, allocations: 79.88 kB / 0.7891 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.2751, allocations: 4.125 kB / 0.7891 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.726e-05/0.2752, allocations: 31.98 kB / 0.7892 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.2755, allocations: 11.98 kB / 0.7892 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003743/0.2759, allocations: 200.2 kB / 0.7894 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.2761, allocations: 0.6885 MB / 0.79 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.612e-05/0.2762, allocations: 4 kB / 0.79 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.814e-05/0.2762, allocations: 19.42 kB / 0.79 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2762, allocations: 0 / 0.79 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of Templates: time 0.003658/0.2799, allocations: 1.407 MB / 0.7914 GB, free: 4.73 MB / 0.6075 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)