Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.365/1.365, 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.0009282/0.0009281, allocations: 184.1 kB / 327.3 MB, free: 2.195 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.652/1.652, allocations: 205.4 MB / 0.5783 GB, free: 20.48 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.0009915/0.0009916, allocations: 86.09 kB / 0.6829 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003457/0.0003456, allocations: 16.44 kB / 0.797 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2722, allocations: 106.3 MB / 0.9008 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.001821/0.2741, allocations: 1.223 MB / 0.902 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.2753, allocations: 0.7567 MB / 0.9028 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.045e-05/0.2753, allocations: 0 / 0.9028 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.988e-05/0.2754, allocations: 3.938 kB / 0.9028 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.287e-05/0.2755, allocations: 11.92 kB / 0.9028 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005008/0.276, allocations: 107.7 kB / 0.9029 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.2761, allocations: 87.77 kB / 0.903 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.2762, allocations: 15.92 kB / 0.903 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.38e-05/0.2763, allocations: 39.84 kB / 0.903 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.4e-05/0.2764, allocations: 47.86 kB / 0.9031 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.2764, allocations: 4 kB / 0.9031 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001704/0.2766, allocations: 91.84 kB / 0.9031 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.29e-05/0.2766, allocations: 15.92 kB / 0.9032 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.895e-05/0.2767, allocations: 37.7 kB / 0.9032 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.2768, allocations: 119.8 kB / 0.9033 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.2769, allocations: 0 / 0.9033 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2769, allocations: 0 / 0.9033 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.2769, allocations: 0 / 0.9033 GB, free: 61.7 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006208/0.2775, allocations: 444.9 kB / 0.9037 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.2775, allocations: 12.03 kB / 0.9037 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.61e-05/0.2776, allocations: 7.906 kB / 0.9038 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.2777, allocations: 186.9 kB / 0.9039 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.397e-05/0.2778, allocations: 4 kB / 0.9039 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.2778, allocations: 8 kB / 0.9039 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002252/0.278, allocations: 81.62 kB / 0.904 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.278, allocations: 0 / 0.904 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.2781, allocations: 7.938 kB / 0.904 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.2781, allocations: 3.984 kB / 0.904 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001639/0.2782, allocations: 55.91 kB / 0.9041 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007083/0.279, allocations: 352.6 kB / 0.9044 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.2791, allocations: 62.55 kB / 0.9045 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.2792, allocations: 48.88 kB / 0.9045 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.2793, allocations: 4 kB / 0.9045 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002345/0.2795, allocations: 95.34 kB / 0.9046 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.704e-06/0.2795, allocations: 0 / 0.9046 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0004899/0.28, allocations: 189.5 kB / 0.9048 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.2801, allocations: 63.55 kB / 0.9049 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.733e-05/0.2801, allocations: 131.8 kB / 0.905 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.2802, allocations: 25.7 kB / 0.905 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.87e-05/0.2802, allocations: 92.14 kB / 0.9051 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/0.2802, allocations: 23.73 kB / 0.9051 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.382e-06/0.2802, allocations: 0 / 0.9051 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.543e-05/0.2803, allocations: 318.8 kB / 0.9054 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.51e-05/0.2804, allocations: 35.97 kB / 0.9055 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.329e-05/0.2805, allocations: 64.28 kB / 0.9055 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.196e-05/0.2806, allocations: 39.98 kB / 0.9056 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2806, allocations: 0 / 0.9056 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000224/0.2809, allocations: 137.4 kB / 0.9057 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.2809, allocations: 4 kB / 0.9057 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.2809, allocations: 0 / 0.9057 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.2809, allocations: 4 kB / 0.9057 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.281, allocations: 24.08 kB / 0.9057 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.281, allocations: 7.891 kB / 0.9057 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.784e-05/0.2811, allocations: 11.91 kB / 0.9057 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.2811, allocations: 4 kB / 0.9057 GB, free: 58.95 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.774e-05/0.2812, allocations: 128.1 kB / 0.9059 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.593e-05/0.2813, allocations: 7.906 kB / 0.9059 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.447e-05/0.2813, allocations: 8.438 kB / 0.9059 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.2813, allocations: 8 kB / 0.9059 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2813, allocations: 0 / 0.9059 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.2813, allocations: 3.953 kB / 0.9059 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000454/0.2818, allocations: 426.7 kB / 0.9063 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.113e-06/0.2818, allocations: 3.984 kB / 0.9063 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.959e-05/0.2818, allocations: 8 kB / 0.9063 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.2818, allocations: 4 kB / 0.9063 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.2819, allocations: 7.938 kB / 0.9063 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.2819, allocations: 7.938 kB / 0.9063 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2819, allocations: 4.016 kB / 0.9063 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003184/0.2822, allocations: 255.3 kB / 0.9066 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.006e-05/0.2822, allocations: 85.02 kB / 0.9067 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.2822, allocations: 0 / 0.9067 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.2824, allocations: 7.984 kB / 0.9067 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/0.2824, allocations: 11.95 kB / 0.9067 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.2824, allocations: 7.984 kB / 0.9067 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.576e-05/0.2825, allocations: 93.52 kB / 0.9068 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2825, allocations: 0 / 0.9068 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002665/0.2828, allocations: 40 kB / 0.9068 GB, free: 57.76 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003466/0.2831, allocations: 160.3 kB / 0.907 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002938/0.2834, allocations: 99.94 kB / 0.9071 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2834, allocations: 0 / 0.9071 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.2835, allocations: 51.91 kB / 0.9071 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.2838, allocations: 14.8 kB / 0.9071 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004003/0.2842, allocations: 250.8 kB / 0.9074 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.2844, allocations: 0.6956 MB / 0.908 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.935e-05/0.2844, allocations: 11.44 kB / 0.9081 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of SimCode: time 2.5e-07/0.2844, allocations: 3.938 kB / 0.9081 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of Templates: time 0.003152/0.2876, allocations: 1.784 MB / 0.9098 GB, free: 54.65 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1)