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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001442/0.001442, 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.001684/0.001684, allocations: 194.7 kB / 16.25 MB, free: 6.621 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.599/1.599, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.715/1.715, allocations: 292.2 MB / 0.5485 GB, free: 13.63 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.001315/0.001315, allocations: 69.69 kB / 0.671 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2611, allocations: 114.6 MB / 0.7829 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.003499/0.2646, allocations: 1.557 MB / 0.7844 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001403/0.266, allocations: 0.7644 MB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.366e-05/0.2661, allocations: 3.938 kB / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.909e-05/0.2662, allocations: 0 / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.524e-05/0.2663, allocations: 7.922 kB / 0.7851 GB, free: 11.54 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.0006441/0.2669, allocations: 111.8 kB / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.2671, allocations: 79.77 kB / 0.7853 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.2672, allocations: 4 kB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.841e-05/0.2673, allocations: 35.84 kB / 0.7854 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.497e-05/0.2674, allocations: 39.89 kB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.2674, allocations: 8 kB / 0.7854 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001943/0.2676, allocations: 99.84 kB / 0.7855 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.599e-05/0.2676, allocations: 19.91 kB / 0.7855 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.59e-05/0.2677, allocations: 31.86 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002469/0.2679, allocations: 139.9 kB / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.268, allocations: 0 / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.213e-06/0.268, allocations: 0 / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.268, allocations: 0 / 0.7857 GB, free: 10.98 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.0007293/0.2687, allocations: 417 kB / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.2688, allocations: 8.031 kB / 0.7861 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.054e-05/0.2688, allocations: 12.84 kB / 0.7861 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.269, allocations: 176.2 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.128e-05/0.269, allocations: 8.375 kB / 0.7863 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.269, allocations: 8.312 kB / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.2692, allocations: 69.97 kB / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.2693, allocations: 0 / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.2693, allocations: 3.984 kB / 0.7864 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.2693, allocations: 4 kB / 0.7864 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.2694, allocations: 35.97 kB / 0.7864 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006323/0.2701, allocations: 316.8 kB / 0.7867 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.2702, allocations: 50.5 kB / 0.7867 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.759e-05/0.2703, allocations: 28.97 kB / 0.7868 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.2703, allocations: 8 kB / 0.7868 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002107/0.2705, allocations: 79.27 kB / 0.7869 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.2705, allocations: 0 / 0.7869 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003903/0.2709, allocations: 141.6 kB / 0.787 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/0.271, allocations: 55.39 kB / 0.787 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.2711, allocations: 125.8 kB / 0.7872 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.2712, allocations: 29.7 kB / 0.7872 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.394e-05/0.2712, allocations: 96.06 kB / 0.7873 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.2713, allocations: 19.75 kB / 0.7873 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-05/0.2713, allocations: 29.7 kB / 0.7873 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.2715, allocations: 314.8 kB / 0.7876 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.974e-05/0.2716, allocations: 31.97 kB / 0.7877 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.587e-05/0.2716, allocations: 46.56 kB / 0.7877 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.2718, allocations: 78.42 kB / 0.7878 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.2718, allocations: 0 / 0.7878 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002379/0.2721, allocations: 117.5 kB / 0.7879 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.2721, allocations: 12.06 kB / 0.7879 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.2721, allocations: 0 / 0.7879 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.2721, allocations: 0 / 0.7879 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.386e-05/0.2722, allocations: 11.98 kB / 0.7879 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.2722, allocations: 0 / 0.7879 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.953e-05/0.2723, allocations: 4 kB / 0.7879 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.2723, allocations: 4 kB / 0.7879 GB, free: 8.434 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 0.0001/0.2724, allocations: 126.4 kB / 0.788 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.594e-05/0.2724, allocations: 11.91 kB / 0.7881 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.698e-05/0.2725, allocations: 12.36 kB / 0.7881 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.2725, allocations: 0 / 0.7881 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.2725, allocations: 0 / 0.7881 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2725, allocations: 0 / 0.7881 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004398/0.2729, allocations: 386.3 kB / 0.7884 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2729, allocations: 4 kB / 0.7884 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.632e-05/0.273, allocations: 4 kB / 0.7884 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.273, allocations: 4 kB / 0.7884 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.273, allocations: 7.984 kB / 0.7885 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.273, allocations: 0 / 0.7885 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.273, allocations: 3.938 kB / 0.7885 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/0.2733, allocations: 207.4 kB / 0.7887 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.975e-05/0.2733, allocations: 85.02 kB / 0.7887 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.2734, allocations: 3.984 kB / 0.7887 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.29e-05/0.2735, allocations: 8 kB / 0.7887 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.2735, allocations: 15.92 kB / 0.7888 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.695e-06/0.2735, allocations: 0 / 0.7888 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.714e-05/0.2736, allocations: 95.86 kB / 0.7889 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.222e-06/0.2736, allocations: 0 / 0.7889 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002965/0.2739, allocations: 47.88 kB / 0.7889 GB, free: 7.332 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.0003153/0.2742, allocations: 157.8 kB / 0.789 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002544/0.2745, allocations: 71.89 kB / 0.7891 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2745, allocations: 0 / 0.7891 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.965e-05/0.2746, allocations: 31.98 kB / 0.7891 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.2748, allocations: 11.98 kB / 0.7892 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004282/0.2753, allocations: 204.4 kB / 0.7894 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.2755, allocations: 0.6885 MB / 0.79 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.434e-05/0.2756, allocations: 4 kB / 0.79 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.704e-05/0.2756, allocations: 15.44 kB / 0.79 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2756, allocations: 0 / 0.79 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of Templates: time 0.003745/0.2794, allocations: 1.41 MB / 0.7914 GB, free: 4.711 MB / 0.6075 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)