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.001195/0.001195, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001505/0.001505, allocations: 190.4 kB / 16.14 MB, free: 6.703 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.372/1.372, allocations: 205.1 MB / 222 MB, free: 4.766 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.643/1.643, allocations: 292.2 MB / 0.5484 GB, free: 13.65 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.001333/0.001333, allocations: 63.55 kB / 0.6708 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2653, allocations: 114.5 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002944/0.2683, allocations: 1.569 MB / 0.7842 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001345/0.2697, allocations: 0.7761 MB / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.171e-05/0.2698, allocations: 0 / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.862e-05/0.2698, allocations: 0 / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.884e-05/0.2699, allocations: 19.86 kB / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000504/0.2704, allocations: 95.83 kB / 0.7851 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.2705, allocations: 71.72 kB / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.824e-05/0.2706, allocations: 12 kB / 0.7851 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.677e-05/0.2707, allocations: 31.89 kB / 0.7852 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.741e-05/0.2708, allocations: 35.84 kB / 0.7852 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.2708, allocations: 8 kB / 0.7852 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001756/0.271, allocations: 95.84 kB / 0.7853 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.229e-05/0.271, allocations: 11.97 kB / 0.7853 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.275e-05/0.2711, allocations: 27.86 kB / 0.7853 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.2713, allocations: 139.9 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.2713, allocations: 0 / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2713, allocations: 0 / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.2714, allocations: 0 / 0.7855 GB, free: 11.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.0006764/0.272, allocations: 417 kB / 0.7859 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.2721, allocations: 12.03 kB / 0.7859 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.645e-05/0.2721, allocations: 8.844 kB / 0.7859 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.2723, allocations: 180.2 kB / 0.7861 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.2723, allocations: 4.375 kB / 0.7861 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.2723, allocations: 4.359 kB / 0.7861 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.2725, allocations: 77.95 kB / 0.7862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.2725, allocations: 0 / 0.7862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.2725, allocations: 0 / 0.7862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.2725, allocations: 4 kB / 0.7862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.2727, allocations: 39.97 kB / 0.7862 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006057/0.2733, allocations: 308.8 kB / 0.7865 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.2734, allocations: 46.5 kB / 0.7865 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.991e-05/0.2735, allocations: 36.97 kB / 0.7866 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.2736, allocations: 0 / 0.7866 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002211/0.2738, allocations: 83.28 kB / 0.7866 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.2738, allocations: 0 / 0.7866 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003919/0.2742, allocations: 141.6 kB / 0.7868 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.2742, allocations: 55.41 kB / 0.7868 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.171e-05/0.2743, allocations: 125.7 kB / 0.787 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.2744, allocations: 29.7 kB / 0.787 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.379e-05/0.2744, allocations: 92.12 kB / 0.7871 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.2745, allocations: 19.75 kB / 0.7871 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.827e-05/0.2745, allocations: 29.7 kB / 0.7871 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.2747, allocations: 318.8 kB / 0.7874 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.672e-05/0.2747, allocations: 31.92 kB / 0.7875 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.966e-05/0.2749, allocations: 47 kB / 0.7875 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/0.275, allocations: 78.78 kB / 0.7876 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.275, allocations: 0 / 0.7876 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002334/0.2753, allocations: 121.5 kB / 0.7877 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.2753, allocations: 4 kB / 0.7877 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.2753, allocations: 4 kB / 0.7877 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.2753, allocations: 0 / 0.7877 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.2754, allocations: 11.98 kB / 0.7877 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.2755, allocations: 0 / 0.7877 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.285e-05/0.2755, allocations: 4 kB / 0.7877 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.2756, allocations: 8 kB / 0.7877 GB, free: 8.562 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.543e-05/0.2757, allocations: 126.4 kB / 0.7878 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.022e-05/0.2757, allocations: 15.89 kB / 0.7879 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.22e-05/0.2757, allocations: 12.38 kB / 0.7879 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.2757, allocations: 3.984 kB / 0.7879 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.2757, allocations: 0 / 0.7879 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.2758, allocations: 0 / 0.7879 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004546/0.2762, allocations: 378.4 kB / 0.7882 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.2762, allocations: 0 / 0.7882 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.883e-05/0.2763, allocations: 8 kB / 0.7882 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.2763, allocations: 3.984 kB / 0.7882 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.2763, allocations: 0 / 0.7882 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2763, allocations: 4 kB / 0.7882 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.2763, allocations: 3.938 kB / 0.7883 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002844/0.2766, allocations: 207.4 kB / 0.7884 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.479e-05/0.2767, allocations: 89 kB / 0.7885 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.2767, allocations: 4 kB / 0.7885 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.522e-05/0.2768, allocations: 4 kB / 0.7885 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.221e-05/0.2768, allocations: 11.92 kB / 0.7886 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.2768, allocations: 11.88 kB / 0.7886 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.108e-05/0.2769, allocations: 95.42 kB / 0.7887 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2769, allocations: 0 / 0.7887 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002738/0.2772, allocations: 36 kB / 0.7887 GB, free: 7.469 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.0003908/0.2776, allocations: 159.1 kB / 0.7888 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002231/0.2778, allocations: 71.89 kB / 0.7889 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2778, allocations: 0 / 0.7889 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.012e-05/0.2779, allocations: 32.38 kB / 0.7889 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.2782, allocations: 12.44 kB / 0.789 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003962/0.2786, allocations: 194.1 kB / 0.7891 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.2789, allocations: 0.6964 MB / 0.7898 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.944e-05/0.2789, allocations: 8.156 kB / 0.7898 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.76e-05/0.279, allocations: 15.42 kB / 0.7898 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.279, allocations: 0 / 0.7898 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of Templates: time 0.003741/0.2827, allocations: 1.366 MB / 0.7912 GB, free: 4.883 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)