Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001027, allocations: 98.03 kB / 15.36 MB, free: 0.7305 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.001623/0.001624, allocations: 171.9 kB / 16.26 MB, free: 6.66 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.459/1.459, allocations: 205.4 MB / 222.4 MB, free: 5.797 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.719/1.719, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0006292/0.0006292, allocations: 12.91 kB / 0.6743 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.264, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.001828/0.2659, allocations: 1.219 MB / 0.7891 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001428/0.2673, allocations: 0.7607 MB / 0.7898 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.537e-05/0.2674, allocations: 0 / 0.7898 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.558e-05/0.2675, allocations: 7.922 kB / 0.7898 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.337e-05/0.2675, allocations: 11.92 kB / 0.7898 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005723/0.2681, allocations: 95.78 kB / 0.7899 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.2682, allocations: 67.83 kB / 0.79 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.905e-05/0.2683, allocations: 11.98 kB / 0.79 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.854e-05/0.2685, allocations: 39.8 kB / 0.79 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.894e-05/0.2685, allocations: 31.89 kB / 0.7901 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.2686, allocations: 4 kB / 0.7901 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002172/0.2688, allocations: 87.91 kB / 0.7902 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.158e-05/0.2688, allocations: 15.92 kB / 0.7902 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.217e-05/0.2689, allocations: 53.55 kB / 0.7902 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002617/0.2692, allocations: 143.8 kB / 0.7904 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2692, allocations: 0 / 0.7904 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.863e-06/0.2692, allocations: 0 / 0.7904 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.2692, allocations: 4 kB / 0.7904 GB, free: 9.008 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.0006156/0.2698, allocations: 405 kB / 0.7907 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.2699, allocations: 8.031 kB / 0.7908 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.146e-05/0.2699, allocations: 8.844 kB / 0.7908 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.27, allocations: 180.2 kB / 0.7909 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.263e-05/0.2701, allocations: 8.312 kB / 0.7909 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.2701, allocations: 4.375 kB / 0.7909 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.2703, allocations: 77.97 kB / 0.791 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.2703, allocations: 3.938 kB / 0.791 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.2703, allocations: 4 kB / 0.791 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.2703, allocations: 0 / 0.791 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.2705, allocations: 43.97 kB / 0.7911 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005998/0.2711, allocations: 320.8 kB / 0.7914 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.2712, allocations: 46.56 kB / 0.7914 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.016e-05/0.2713, allocations: 44.95 kB / 0.7915 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.2714, allocations: 7.922 kB / 0.7915 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001858/0.2716, allocations: 71.39 kB / 0.7915 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.813e-06/0.2716, allocations: 0 / 0.7915 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003874/0.272, allocations: 153.5 kB / 0.7917 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.272, allocations: 51.41 kB / 0.7917 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.862e-05/0.2721, allocations: 117.8 kB / 0.7918 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.2721, allocations: 33.69 kB / 0.7919 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.421e-05/0.2722, allocations: 95.98 kB / 0.792 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.2722, allocations: 19.91 kB / 0.792 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/0.2723, allocations: 21.7 kB / 0.792 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.2724, allocations: 318.8 kB / 0.7923 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.905e-05/0.2725, allocations: 35.97 kB / 0.7924 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.942e-05/0.2726, allocations: 46.56 kB / 0.7924 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/0.2727, allocations: 78.55 kB / 0.7925 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2728, allocations: 3.938 kB / 0.7925 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002457/0.273, allocations: 117.5 kB / 0.7926 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.273, allocations: 16 kB / 0.7926 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.2731, allocations: 0 / 0.7926 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.2731, allocations: 4 kB / 0.7926 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.2732, allocations: 12 kB / 0.7926 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.2732, allocations: 3.984 kB / 0.7926 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.78e-05/0.2733, allocations: 7.906 kB / 0.7926 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.2733, allocations: 8 kB / 0.7926 GB, free: 6.43 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.755e-05/0.2734, allocations: 121.8 kB / 0.7928 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.841e-05/0.2734, allocations: 7.906 kB / 0.7928 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.729e-05/0.2735, allocations: 16.3 kB / 0.7928 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.2735, allocations: 4 kB / 0.7928 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.2735, allocations: 0 / 0.7928 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.2735, allocations: 0 / 0.7928 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004462/0.2739, allocations: 390.8 kB / 0.7932 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.2739, allocations: 0 / 0.7932 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.956e-05/0.274, allocations: 11.94 kB / 0.7932 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.274, allocations: 0 / 0.7932 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.274, allocations: 3.984 kB / 0.7932 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.274, allocations: 0 / 0.7932 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.274, allocations: 7.875 kB / 0.7932 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002797/0.2743, allocations: 215.4 kB / 0.7934 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.413e-05/0.2744, allocations: 81.11 kB / 0.7935 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.2744, allocations: 3.984 kB / 0.7935 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.649e-05/0.2745, allocations: 4 kB / 0.7935 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/0.2745, allocations: 15.92 kB / 0.7935 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.2745, allocations: 0 / 0.7935 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.955e-05/0.2746, allocations: 95.27 kB / 0.7936 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2746, allocations: 4 kB / 0.7936 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000303/0.2749, allocations: 39.91 kB / 0.7936 GB, free: 5.328 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.0003456/0.2753, allocations: 159.7 kB / 0.7938 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002431/0.2755, allocations: 87.88 kB / 0.7938 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2755, allocations: 0 / 0.7938 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.2756, allocations: 35.92 kB / 0.7939 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.2759, allocations: 15.92 kB / 0.7939 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003922/0.2763, allocations: 205.3 kB / 0.7941 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.2766, allocations: 0.6848 MB / 0.7948 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.825e-05/0.2766, allocations: 7.984 kB / 0.7948 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.872e-05/0.2767, allocations: 11.44 kB / 0.7948 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of SimCode: time 7.41e-07/0.2767, allocations: 0 / 0.7948 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of Templates: time 0.004012/0.2807, allocations: 1.359 MB / 0.7961 GB, free: 2.734 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) Environment - environmentSimulation: