Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, 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.001309/0.001309, allocations: 193.6 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.685/1.685, allocations: 205.1 MB / 222.1 MB, free: 4.742 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.774/1.774, allocations: 292.2 MB / 0.5485 GB, free: 13.62 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.001817/0.001817, allocations: 63.56 kB / 0.671 GB, free: 26.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2828, allocations: 114.5 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.003238/0.2861, allocations: 1.562 MB / 0.7844 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001454/0.2876, allocations: 0.7566 MB / 0.7851 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.055e-05/0.2877, allocations: 0 / 0.7851 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.713e-05/0.2877, allocations: 3.938 kB / 0.7851 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.099e-05/0.2878, allocations: 11.92 kB / 0.7851 GB, free: 11.57 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.0006513/0.2885, allocations: 107.8 kB / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.2886, allocations: 67.84 kB / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.2888, allocations: 23.97 kB / 0.7853 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.2889, allocations: 39.78 kB / 0.7854 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.619e-05/0.289, allocations: 31.91 kB / 0.7854 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.289, allocations: 8 kB / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002104/0.2892, allocations: 91.91 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.877e-05/0.2892, allocations: 27.89 kB / 0.7855 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.937e-05/0.2893, allocations: 31.86 kB / 0.7855 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002499/0.2895, allocations: 143.8 kB / 0.7857 GB, free: 11 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.2896, allocations: 4 kB / 0.7857 GB, free: 11 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2896, allocations: 0 / 0.7857 GB, free: 11 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.2896, allocations: 0 / 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.0006796/0.2903, allocations: 413 kB / 0.7861 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.2903, allocations: 8.031 kB / 0.7861 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.2e-05/0.2904, allocations: 8.844 kB / 0.7861 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.2905, allocations: 184.1 kB / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/0.2905, allocations: 4.359 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.2906, allocations: 12.38 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.2908, allocations: 69.97 kB / 0.7863 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.2908, allocations: 0 / 0.7863 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.2908, allocations: 0 / 0.7863 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.2908, allocations: 0 / 0.7863 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.291, allocations: 39.91 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006417/0.2916, allocations: 316.8 kB / 0.7867 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.2918, allocations: 50.55 kB / 0.7867 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.654e-05/0.2918, allocations: 32.97 kB / 0.7868 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.2919, allocations: 0 / 0.7868 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002203/0.2921, allocations: 91.22 kB / 0.7869 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.2921, allocations: 0 / 0.7869 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003945/0.2925, allocations: 133.7 kB / 0.787 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.2926, allocations: 55.41 kB / 0.787 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.2927, allocations: 129.7 kB / 0.7872 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.2927, allocations: 25.7 kB / 0.7872 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.51e-05/0.2928, allocations: 92.14 kB / 0.7873 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.2928, allocations: 15.75 kB / 0.7873 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.462e-05/0.2928, allocations: 29.7 kB / 0.7873 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.293, allocations: 326.8 kB / 0.7876 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.795e-05/0.2931, allocations: 31.92 kB / 0.7877 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.754e-05/0.2931, allocations: 46.55 kB / 0.7877 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.2933, allocations: 78.8 kB / 0.7878 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2933, allocations: 0 / 0.7878 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002347/0.2936, allocations: 113.5 kB / 0.7879 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.2936, allocations: 4 kB / 0.7879 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.2936, allocations: 0 / 0.7879 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.2936, allocations: 7.938 kB / 0.7879 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.384e-05/0.2937, allocations: 20.05 kB / 0.7879 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.2937, allocations: 0 / 0.7879 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.305e-05/0.2938, allocations: 4 kB / 0.7879 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.2938, allocations: 7.984 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 0.000102/0.2939, allocations: 117.8 kB / 0.788 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2e-05/0.294, allocations: 7.906 kB / 0.788 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.659e-05/0.294, allocations: 8.375 kB / 0.7881 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.294, allocations: 4 kB / 0.7881 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.294, allocations: 4 kB / 0.7881 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.294, allocations: 0 / 0.7881 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004394/0.2945, allocations: 386.3 kB / 0.7884 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2945, allocations: 0 / 0.7884 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.914e-05/0.2945, allocations: 11.92 kB / 0.7884 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.2945, allocations: 0 / 0.7884 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.2945, allocations: 0 / 0.7884 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.2946, allocations: 0 / 0.7884 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.2946, allocations: 7.938 kB / 0.7884 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002803/0.2948, allocations: 211.3 kB / 0.7887 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.122e-05/0.2949, allocations: 85.02 kB / 0.7887 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.2949, allocations: 4 kB / 0.7887 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.723e-05/0.295, allocations: 7.984 kB / 0.7887 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.2951, allocations: 7.922 kB / 0.7888 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.2951, allocations: 4 kB / 0.7888 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.424e-05/0.2951, allocations: 95.27 kB / 0.7888 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.2952, allocations: 0 / 0.7888 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003001/0.2955, allocations: 39.98 kB / 0.7889 GB, free: 7.367 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.0003613/0.2958, allocations: 167.6 kB / 0.789 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002483/0.2961, allocations: 79.89 kB / 0.7891 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.2961, allocations: 0 / 0.7891 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.416e-05/0.2962, allocations: 36.31 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.0002503/0.2965, allocations: 11.94 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.0004264/0.2969, allocations: 208.5 kB / 0.7894 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.2972, allocations: 0.6846 MB / 0.79 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.117e-05/0.2972, allocations: 7.984 kB / 0.79 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.15e-05/0.2973, allocations: 11.44 kB / 0.7901 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of SimCode: time 3e-07/0.2973, allocations: 0 / 0.7901 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of Templates: time 0.004309/0.3016, allocations: 1.403 MB / 0.7914 GB, free: 4.73 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1)