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.001167/0.001167, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.001474/0.001474, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.682/1.682, allocations: 205.4 MB / 222.1 MB, free: 5.883 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.716/1.716, allocations: 292.5 MB / 0.5497 GB, free: 14.63 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.0005324/0.0005324, allocations: 13.97 kB / 0.6735 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.285, allocations: 116.3 MB / 0.7871 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.00193/0.287, allocations: 1.188 MB / 0.7883 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001187/0.2882, allocations: 0.7221 MB / 0.789 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.845e-05/0.2883, allocations: 0 / 0.789 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.78e-05/0.2883, allocations: 0 / 0.789 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.94e-05/0.2884, allocations: 23.91 kB / 0.789 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004198/0.2888, allocations: 87.75 kB / 0.7891 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.285e-05/0.2889, allocations: 47.88 kB / 0.7891 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.081e-05/0.289, allocations: 8 kB / 0.7891 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.479e-05/0.2891, allocations: 31.91 kB / 0.7892 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.058e-05/0.2892, allocations: 31.89 kB / 0.7892 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.2892, allocations: 7.938 kB / 0.7892 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.2893, allocations: 75.81 kB / 0.7893 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.031e-05/0.2894, allocations: 11.98 kB / 0.7893 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.389e-05/0.2894, allocations: 37.62 kB / 0.7893 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.2896, allocations: 104 kB / 0.7894 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.2896, allocations: 0 / 0.7894 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.903e-06/0.2896, allocations: 0 / 0.7894 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.2896, allocations: 0 / 0.7894 GB, free: 9.59 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.0005898/0.2902, allocations: 400.8 kB / 0.7898 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.2902, allocations: 12.03 kB / 0.7898 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.813e-05/0.2903, allocations: 7.906 kB / 0.7898 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.2904, allocations: 175 kB / 0.79 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.245e-05/0.2905, allocations: 8 kB / 0.79 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.2905, allocations: 7.938 kB / 0.79 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/0.2907, allocations: 69.59 kB / 0.7901 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.2907, allocations: 0 / 0.7901 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.2907, allocations: 0 / 0.7901 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.2907, allocations: 4 kB / 0.7901 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.2909, allocations: 47.97 kB / 0.7901 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000626/0.2915, allocations: 320.7 kB / 0.7904 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.2916, allocations: 58.48 kB / 0.7905 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.2917, allocations: 4 kB / 0.7905 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002018/0.2919, allocations: 75.5 kB / 0.7906 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.2919, allocations: 4 kB / 0.7906 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003942/0.2923, allocations: 141.6 kB / 0.7907 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.2924, allocations: 63.34 kB / 0.7908 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.2925, allocations: 117.8 kB / 0.7909 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.2925, allocations: 33.64 kB / 0.7909 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.874e-05/0.2926, allocations: 92.33 kB / 0.791 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.2926, allocations: 15.75 kB / 0.791 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-06/0.2926, allocations: 4 kB / 0.791 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.2927, allocations: 322.8 kB / 0.7913 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.556e-05/0.2928, allocations: 23.98 kB / 0.7914 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.973e-05/0.2929, allocations: 54.55 kB / 0.7914 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.337e-05/0.293, allocations: 35.98 kB / 0.7914 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.293, allocations: 0 / 0.7914 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002212/0.2933, allocations: 117.9 kB / 0.7916 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.2933, allocations: 4 kB / 0.7916 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.2933, allocations: 8.062 kB / 0.7916 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.2933, allocations: 0 / 0.7916 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.676e-05/0.2934, allocations: 11.94 kB / 0.7916 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.2934, allocations: 11.92 kB / 0.7916 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.746e-05/0.2935, allocations: 19.88 kB / 0.7916 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.2935, allocations: 4 kB / 0.7916 GB, free: 7.129 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,$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 8.658e-05/0.2936, allocations: 117.9 kB / 0.7917 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.18e-05/0.2936, allocations: 7.906 kB / 0.7917 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.897e-05/0.2937, allocations: 12.36 kB / 0.7917 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.2937, allocations: 4 kB / 0.7917 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.2937, allocations: 0 / 0.7917 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-06/0.2937, allocations: 0 / 0.7917 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004164/0.2941, allocations: 394.4 kB / 0.7921 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2941, allocations: 0 / 0.7921 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.596e-05/0.2942, allocations: 4 kB / 0.7921 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.2942, allocations: 4 kB / 0.7921 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.2942, allocations: 0 / 0.7921 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.558e-06/0.2942, allocations: 3.984 kB / 0.7921 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.2942, allocations: 3.953 kB / 0.7921 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.2945, allocations: 215.4 kB / 0.7923 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.86e-05/0.2945, allocations: 84.95 kB / 0.7924 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.13e-05/0.2946, allocations: 8 kB / 0.7924 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.587e-05/0.2946, allocations: 7.984 kB / 0.7924 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.2947, allocations: 3.953 kB / 0.7924 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.2947, allocations: 7.984 kB / 0.7924 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.952e-05/0.2948, allocations: 95.92 kB / 0.7925 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2948, allocations: 0 / 0.7925 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002719/0.295, allocations: 36 kB / 0.7926 GB, free: 6.039 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 (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.0003344/0.2954, allocations: 169.4 kB / 0.7927 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002309/0.2956, allocations: 79.89 kB / 0.7928 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2956, allocations: 0 / 0.7928 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.007e-05/0.2957, allocations: 35.98 kB / 0.7928 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001558/0.2959, allocations: 4 kB / 0.7929 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003627/0.2963, allocations: 205.2 kB / 0.793 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.2965, allocations: 0.6965 MB / 0.7937 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.219e-05/0.2966, allocations: 4.188 kB / 0.7937 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.096e-05/0.2966, allocations: 7.438 kB / 0.7937 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of SimCode: time 2.71e-07/0.2966, allocations: 4 kB / 0.7937 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of Templates: time 0.00371/0.3003, allocations: 1.331 MB / 0.795 GB, free: 3.469 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: