Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.36/1.36, allocations: 252 MB / 267.6 MB, free: 10.91 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.0009824/0.0009824, allocations: 184.3 kB / 327.3 MB, free: 2.191 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.919/1.919, allocations: 205.4 MB / 0.5783 GB, free: 20.23 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.000789/0.0007892, allocations: 92.17 kB / 0.6829 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003584/0.0003584, allocations: 8.188 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2579, allocations: 106.3 MB / 0.9008 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.001775/0.2597, allocations: 1.203 MB / 0.902 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.2608, allocations: 0.7256 MB / 0.9027 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.116e-05/0.2609, allocations: 4 kB / 0.9027 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.854e-05/0.2609, allocations: 3.938 kB / 0.9027 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.157e-05/0.261, allocations: 11.86 kB / 0.9027 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004702/0.2615, allocations: 99.75 kB / 0.9028 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.433e-05/0.2616, allocations: 67.78 kB / 0.9029 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.207e-05/0.2617, allocations: 11.94 kB / 0.9029 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.063e-05/0.2617, allocations: 31.89 kB / 0.9029 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.933e-05/0.2618, allocations: 31.91 kB / 0.903 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.2618, allocations: 4 kB / 0.903 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001588/0.262, allocations: 83.84 kB / 0.903 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.99e-05/0.262, allocations: 15.92 kB / 0.9031 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.32e-05/0.2621, allocations: 33.7 kB / 0.9031 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.2622, allocations: 95.81 kB / 0.9032 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/0.2622, allocations: 8 kB / 0.9032 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2623, allocations: 0 / 0.9032 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.2623, allocations: 0 / 0.9032 GB, free: 61.42 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.000637/0.2629, allocations: 410.4 kB / 0.9036 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.263, allocations: 8.031 kB / 0.9036 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.29e-05/0.263, allocations: 15.86 kB / 0.9036 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.2631, allocations: 178.8 kB / 0.9038 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.438e-05/0.2632, allocations: 4 kB / 0.9038 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.2632, allocations: 15.98 kB / 0.9038 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.2634, allocations: 65.66 kB / 0.9039 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.2634, allocations: 0 / 0.9039 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.2634, allocations: 7.922 kB / 0.9039 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.2634, allocations: 4 kB / 0.9039 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.2636, allocations: 39.97 kB / 0.9039 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005485/0.2641, allocations: 324.7 kB / 0.9042 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.2643, allocations: 50.56 kB / 0.9043 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.61e-05/0.2643, allocations: 36.97 kB / 0.9043 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.2644, allocations: 0 / 0.9043 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001863/0.2646, allocations: 79.38 kB / 0.9044 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.2646, allocations: 0 / 0.9044 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.00038/0.265, allocations: 165.5 kB / 0.9045 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.265, allocations: 51.41 kB / 0.9046 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.648e-05/0.2651, allocations: 117.8 kB / 0.9047 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.2651, allocations: 25.7 kB / 0.9047 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.663e-05/0.2651, allocations: 96.31 kB / 0.9048 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.684e-05/0.2652, allocations: 15.81 kB / 0.9048 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.073e-06/0.2652, allocations: 4 kB / 0.9048 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.392e-05/0.2653, allocations: 318.8 kB / 0.9051 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.532e-05/0.2653, allocations: 27.98 kB / 0.9052 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.09e-05/0.2654, allocations: 46.56 kB / 0.9052 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.515e-05/0.2655, allocations: 35.98 kB / 0.9052 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.2655, allocations: 7.875 kB / 0.9052 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002114/0.2657, allocations: 117.5 kB / 0.9054 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.2658, allocations: 8.062 kB / 0.9054 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.2658, allocations: 0 / 0.9054 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.2658, allocations: 4 kB / 0.9054 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.751e-05/0.2659, allocations: 15.94 kB / 0.9054 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.2659, allocations: 0 / 0.9054 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.804e-05/0.266, allocations: 23.78 kB / 0.9054 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.266, allocations: 3.984 kB / 0.9054 GB, free: 58.91 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.589e-05/0.2661, allocations: 117.8 kB / 0.9055 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.298e-05/0.2661, allocations: 4 kB / 0.9055 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.565e-05/0.2661, allocations: 16.31 kB / 0.9055 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2662, allocations: 0 / 0.9055 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.2662, allocations: 3.953 kB / 0.9055 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.2662, allocations: 0 / 0.9055 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003572/0.2665, allocations: 382.4 kB / 0.9059 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.2666, allocations: 4 kB / 0.9059 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.769e-05/0.2666, allocations: 7.984 kB / 0.9059 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.2666, allocations: 0 / 0.9059 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.2666, allocations: 7.953 kB / 0.9059 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.2666, allocations: 4 kB / 0.9059 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2666, allocations: 4.406 kB / 0.9059 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002447/0.2669, allocations: 219.4 kB / 0.9061 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.494e-05/0.2669, allocations: 81.11 kB / 0.9062 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.2669, allocations: 0 / 0.9062 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.609e-05/0.267, allocations: 15.95 kB / 0.9062 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.409e-05/0.2671, allocations: 7.984 kB / 0.9062 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.2671, allocations: 4 kB / 0.9063 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.259e-05/0.2671, allocations: 91.27 kB / 0.9063 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2671, allocations: 4 kB / 0.9063 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002603/0.2674, allocations: 43.92 kB / 0.9064 GB, free: 57.81 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003346/0.2678, allocations: 163.7 kB / 0.9065 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002318/0.268, allocations: 79.91 kB / 0.9066 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.268, allocations: 0 / 0.9066 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.363e-05/0.2681, allocations: 39.91 kB / 0.9067 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.2683, allocations: 8 kB / 0.9067 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003528/0.2687, allocations: 230.9 kB / 0.9069 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001377/0.2689, allocations: 0.6887 MB / 0.9076 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.687e-05/0.2689, allocations: 11.44 kB / 0.9076 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.2689, allocations: 0 / 0.9076 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of Templates: time 0.003048/0.272, allocations: 1.617 MB / 0.9091 GB, free: 54.94 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1)