Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.451/1.451, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001039/0.001039, allocations: 177.6 kB / 326.5 MB, free: 2.68 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.564/1.564, allocations: 205 MB / 0.5766 GB, free: 20.6 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000803/0.0008029, allocations: 84.38 kB / 0.6803 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003608/0.0003608, allocations: 13.84 kB / 0.7938 GB, free: 136.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2609, allocations: 105.4 MB / 0.8967 GB, free: 67.7 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.001635/0.2626, allocations: 1.227 MB / 0.8979 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001253/0.2638, allocations: 0.7874 MB / 0.8987 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.396e-05/0.2639, allocations: 0 / 0.8987 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.366e-05/0.2639, allocations: 3.984 kB / 0.8987 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.311e-05/0.264, allocations: 11.86 kB / 0.8987 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004948/0.2645, allocations: 103.8 kB / 0.8988 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.461e-05/0.2646, allocations: 67.72 kB / 0.8989 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.912e-05/0.2647, allocations: 19.98 kB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.238e-05/0.2648, allocations: 27.91 kB / 0.8989 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.778e-05/0.2648, allocations: 35.84 kB / 0.899 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.2649, allocations: 4 kB / 0.899 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.265, allocations: 91.84 kB / 0.8991 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.298e-05/0.2651, allocations: 15.97 kB / 0.8991 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.151e-05/0.2651, allocations: 27.8 kB / 0.8991 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.2653, allocations: 95.83 kB / 0.8992 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.2653, allocations: 4 kB / 0.8992 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2653, allocations: 0 / 0.8992 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.2653, allocations: 4 kB / 0.8992 GB, free: 65.15 MB / 0.6042 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.0005155/0.2658, allocations: 409 kB / 0.8996 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.2659, allocations: 8.031 kB / 0.8996 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.6e-05/0.2659, allocations: 8.844 kB / 0.8996 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.266, allocations: 172.3 kB / 0.8998 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.114e-05/0.2661, allocations: 8.375 kB / 0.8998 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.2661, allocations: 4.375 kB / 0.8998 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.2663, allocations: 81.89 kB / 0.8999 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.2663, allocations: 0 / 0.8999 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.2663, allocations: 4 kB / 0.8999 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.2663, allocations: 3.984 kB / 0.8999 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.2665, allocations: 51.91 kB / 0.8999 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000523/0.267, allocations: 312.7 kB / 0.9002 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.2671, allocations: 62.48 kB / 0.9003 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.377e-05/0.2672, allocations: 36.97 kB / 0.9003 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.2672, allocations: 80 / 0.9003 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001756/0.2674, allocations: 83.27 kB / 0.9004 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.535e-06/0.2674, allocations: 4 kB / 0.9004 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003659/0.2678, allocations: 145.6 kB / 0.9005 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.2678, allocations: 51.41 kB / 0.9006 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.985e-05/0.2679, allocations: 125.7 kB / 0.9007 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.2679, allocations: 29.7 kB / 0.9007 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.857e-05/0.268, allocations: 92.14 kB / 0.9008 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.268, allocations: 15.81 kB / 0.9008 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.54e-05/0.268, allocations: 25.64 kB / 0.9009 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.492e-05/0.2681, allocations: 318.8 kB / 0.9012 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.276e-05/0.2682, allocations: 31.98 kB / 0.9012 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.245e-05/0.2683, allocations: 54.55 kB / 0.9012 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.2684, allocations: 78.48 kB / 0.9013 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2684, allocations: 0 / 0.9013 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001959/0.2686, allocations: 121.5 kB / 0.9014 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.2686, allocations: 8 kB / 0.9014 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.2686, allocations: 0 / 0.9014 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.2687, allocations: 0 / 0.9014 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.294e-05/0.2688, allocations: 15.98 kB / 0.9015 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.2688, allocations: 0 / 0.9015 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.181e-05/0.2688, allocations: 11.94 kB / 0.9015 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.2689, allocations: 16 kB / 0.9015 GB, free: 62.56 MB / 0.6042 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 7.12e-05/0.2689, allocations: 121.7 kB / 0.9016 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.516e-05/0.269, allocations: 11.89 kB / 0.9016 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.36e-05/0.269, allocations: 4.375 kB / 0.9016 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.269, allocations: 4 kB / 0.9016 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.269, allocations: 0 / 0.9016 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.269, allocations: 0 / 0.9016 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003444/0.2694, allocations: 386.5 kB / 0.902 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2694, allocations: 0 / 0.902 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.671e-05/0.2694, allocations: 11.94 kB / 0.902 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.2694, allocations: 3.984 kB / 0.902 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.988e-06/0.2694, allocations: 0 / 0.902 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2694, allocations: 0 / 0.902 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2695, allocations: 3.938 kB / 0.902 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002129/0.2697, allocations: 215.9 kB / 0.9022 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.306e-05/0.2697, allocations: 89 kB / 0.9023 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.2697, allocations: 0 / 0.9023 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.096e-05/0.2698, allocations: 4 kB / 0.9023 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.149e-05/0.2699, allocations: 11.92 kB / 0.9023 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.2699, allocations: 8 kB / 0.9023 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.59e-05/0.2699, allocations: 99.86 kB / 0.9024 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2699, allocations: 0 / 0.9024 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002617/0.2702, allocations: 36 kB / 0.9024 GB, free: 61.47 MB / 0.6042 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.0003719/0.2706, allocations: 168.6 kB / 0.9026 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002216/0.2708, allocations: 79.95 kB / 0.9027 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2708, allocations: 3.938 kB / 0.9027 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.67e-05/0.2709, allocations: 39.91 kB / 0.9027 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.2712, allocations: 16.44 kB / 0.9027 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000368/0.2715, allocations: 216 kB / 0.9029 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.2717, allocations: 0.6887 MB / 0.9036 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.519e-05/0.2717, allocations: 7.438 kB / 0.9036 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.2717, allocations: 4 kB / 0.9036 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of Templates: time 0.002791/0.2745, allocations: 1.606 MB / 0.9052 GB, free: 58.61 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1)