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.505/1.505, allocations: 252 MB / 268 MB, free: 10.87 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.001021/0.001021, allocations: 170.2 kB / 327.6 MB, free: 2.09 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.677/1.677, allocations: 205.4 MB / 0.5786 GB, free: 20.12 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.0008633/0.0008633, allocations: 90.41 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003352/0.0003352, allocations: 10.78 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2499, allocations: 106.3 MB / 0.9015 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.001808/0.2518, allocations: 1.215 MB / 0.9026 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001403/0.2532, allocations: 0.7681 MB / 0.9034 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.668e-05/0.2533, allocations: 0 / 0.9034 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.445e-05/0.2533, allocations: 3.984 kB / 0.9034 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.404e-05/0.2534, allocations: 11.88 kB / 0.9034 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006134/0.2541, allocations: 99.83 kB / 0.9035 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.2542, allocations: 75.7 kB / 0.9036 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.2543, allocations: 15.98 kB / 0.9036 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.2544, allocations: 23.92 kB / 0.9036 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.528e-05/0.2545, allocations: 35.83 kB / 0.9036 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.2545, allocations: 4 kB / 0.9037 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002106/0.2547, allocations: 91.84 kB / 0.9037 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.876e-05/0.2548, allocations: 15.92 kB / 0.9038 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.882e-05/0.2549, allocations: 61.5 kB / 0.9038 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001928/0.2551, allocations: 99.8 kB / 0.9039 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.2551, allocations: 4 kB / 0.9039 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.495e-06/0.2551, allocations: 0 / 0.9039 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.2551, allocations: 0 / 0.9039 GB, free: 60.93 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.0006345/0.2557, allocations: 405.3 kB / 0.9043 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.2558, allocations: 8.031 kB / 0.9043 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.108e-05/0.2558, allocations: 12.83 kB / 0.9043 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.256, allocations: 176.2 kB / 0.9045 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.139e-05/0.256, allocations: 8.312 kB / 0.9045 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.256, allocations: 384 / 0.9045 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.2562, allocations: 85.89 kB / 0.9046 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.2563, allocations: 0 / 0.9046 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.2563, allocations: 0 / 0.9046 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.2563, allocations: 0 / 0.9046 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/0.2564, allocations: 47.97 kB / 0.9046 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006631/0.2571, allocations: 312.8 kB / 0.9049 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.2573, allocations: 58.48 kB / 0.905 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.264e-05/0.2573, allocations: 36.97 kB / 0.905 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.93e-05/0.2574, allocations: 0 / 0.905 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002069/0.2576, allocations: 87.28 kB / 0.9051 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.2576, allocations: 0 / 0.9051 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003982/0.258, allocations: 145.7 kB / 0.9052 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/0.2581, allocations: 55.34 kB / 0.9053 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.599e-05/0.2581, allocations: 133.7 kB / 0.9054 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.2582, allocations: 33.7 kB / 0.9054 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.778e-05/0.2582, allocations: 84.14 kB / 0.9055 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.2582, allocations: 19.8 kB / 0.9055 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.612e-06/0.2583, allocations: 0 / 0.9055 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.684e-05/0.2583, allocations: 322.8 kB / 0.9059 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.506e-05/0.2584, allocations: 27.98 kB / 0.9059 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.054e-05/0.2585, allocations: 54.55 kB / 0.9059 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.2587, allocations: 78.48 kB / 0.906 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2587, allocations: 0 / 0.906 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002126/0.2589, allocations: 125.5 kB / 0.9061 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.2589, allocations: 11.92 kB / 0.9061 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.2589, allocations: 0 / 0.9061 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.2589, allocations: 4 kB / 0.9061 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.363e-05/0.259, allocations: 8 kB / 0.9062 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.2591, allocations: 0 / 0.9062 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.723e-05/0.2591, allocations: 19.98 kB / 0.9062 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.2592, allocations: 0 / 0.9062 GB, free: 58.38 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,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * 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 8.268e-05/0.2592, allocations: 129.7 kB / 0.9063 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.417e-05/0.2593, allocations: 7.906 kB / 0.9063 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.739e-05/0.2593, allocations: 12.36 kB / 0.9063 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.2593, allocations: 0 / 0.9063 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2593, allocations: 0 / 0.9063 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.2593, allocations: 0 / 0.9063 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003785/0.2597, allocations: 386.5 kB / 0.9067 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.2597, allocations: 0 / 0.9067 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.847e-05/0.2598, allocations: 7.938 kB / 0.9067 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2598, allocations: 0 / 0.9067 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.2598, allocations: 3.984 kB / 0.9067 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.2598, allocations: 0 / 0.9067 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.2598, allocations: 11.94 kB / 0.9067 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.2601, allocations: 211.4 kB / 0.9069 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.878e-05/0.2601, allocations: 89 kB / 0.907 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.2601, allocations: 7.984 kB / 0.907 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.442e-05/0.2602, allocations: 4 kB / 0.907 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.455e-05/0.2603, allocations: 15.92 kB / 0.907 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.2603, allocations: 4 kB / 0.907 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.177e-05/0.2603, allocations: 95.27 kB / 0.9071 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2603, allocations: 0 / 0.9071 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002767/0.2606, allocations: 35.94 kB / 0.9071 GB, free: 57.28 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.0003869/0.261, allocations: 176.2 kB / 0.9073 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002159/0.2612, allocations: 75.95 kB / 0.9074 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2612, allocations: 0 / 0.9074 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.827e-05/0.2613, allocations: 39.92 kB / 0.9074 GB, free: 57 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.2616, allocations: 14 kB / 0.9074 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003909/0.262, allocations: 230.9 kB / 0.9077 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001281/0.2621, allocations: 0.6848 MB / 0.9083 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.066e-05/0.2622, allocations: 19.42 kB / 0.9083 GB, free: 56 MB / 0.6042 GB Notification: Performance of SimCode: time 5.71e-07/0.2622, allocations: 0 / 0.9083 GB, free: 56 MB / 0.6042 GB Notification: Performance of Templates: time 0.00343/0.2656, allocations: 1.593 MB / 0.9099 GB, free: 54.41 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)