Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001601/0.001601, allocations: 195.1 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.455/1.455, allocations: 205.1 MB / 222 MB, free: 4.762 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.662/1.662, allocations: 292.2 MB / 0.5484 GB, free: 13.68 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.002144/0.002144, allocations: 63.97 kB / 0.6708 GB, free: 26.48 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2732, allocations: 114.6 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002633/0.2759, allocations: 1.562 MB / 0.7842 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.2772, allocations: 0.78 MB / 0.785 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.74e-05/0.2772, allocations: 0 / 0.785 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.771e-05/0.2773, allocations: 0 / 0.785 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.345e-05/0.2773, allocations: 7.875 kB / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004714/0.2778, allocations: 95.83 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.896e-05/0.2779, allocations: 79.7 kB / 0.7851 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.557e-05/0.278, allocations: 12 kB / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.205e-05/0.2781, allocations: 31.91 kB / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.144e-05/0.2782, allocations: 43.77 kB / 0.7852 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.2782, allocations: 4 kB / 0.7852 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001798/0.2784, allocations: 87.84 kB / 0.7853 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.416e-05/0.2785, allocations: 19.97 kB / 0.7853 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.112e-05/0.2785, allocations: 23.86 kB / 0.7853 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002229/0.2787, allocations: 139.9 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2787, allocations: 0 / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.92e-07/0.2787, allocations: 4 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.2788, allocations: 4 kB / 0.7855 GB, free: 11.11 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.000662/0.2794, allocations: 413 kB / 0.7859 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.2795, allocations: 12.03 kB / 0.7859 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.517e-05/0.2795, allocations: 8.844 kB / 0.7859 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.2796, allocations: 176.2 kB / 0.7861 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/0.2797, allocations: 4.375 kB / 0.7861 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.2797, allocations: 4.375 kB / 0.7861 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.2799, allocations: 77.97 kB / 0.7862 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/0.2799, allocations: 0 / 0.7862 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.2799, allocations: 0 / 0.7862 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-06/0.2799, allocations: 0 / 0.7862 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.2801, allocations: 39.95 kB / 0.7862 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005714/0.2806, allocations: 316.8 kB / 0.7865 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.2808, allocations: 50.5 kB / 0.7865 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.343e-05/0.2809, allocations: 32.97 kB / 0.7866 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.2809, allocations: 0 / 0.7866 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002291/0.2811, allocations: 83.27 kB / 0.7866 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.2811, allocations: 0 / 0.7866 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003939/0.2816, allocations: 141.6 kB / 0.7868 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.2816, allocations: 55.41 kB / 0.7868 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.2817, allocations: 125.7 kB / 0.787 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.2817, allocations: 29.7 kB / 0.787 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.638e-05/0.2818, allocations: 88.14 kB / 0.7871 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.09e-05/0.2818, allocations: 19.73 kB / 0.7871 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.2819, allocations: 25.7 kB / 0.7871 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.282, allocations: 326.8 kB / 0.7874 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.911e-05/0.2821, allocations: 27.92 kB / 0.7875 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.815e-05/0.2822, allocations: 50.55 kB / 0.7875 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/0.2824, allocations: 78.48 kB / 0.7876 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2824, allocations: 0 / 0.7876 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002262/0.2826, allocations: 113.5 kB / 0.7877 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.2826, allocations: 10.64 kB / 0.7877 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.2826, allocations: 0 / 0.7877 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.2826, allocations: 4 kB / 0.7877 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.636e-05/0.2828, allocations: 11.94 kB / 0.7877 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.2828, allocations: 4 kB / 0.7877 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.863e-05/0.2829, allocations: 12.05 kB / 0.7877 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.2829, allocations: 7.938 kB / 0.7877 GB, free: 8.559 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,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 8.729e-05/0.283, allocations: 121.8 kB / 0.7878 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.721e-05/0.283, allocations: 7.906 kB / 0.7879 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.615e-05/0.283, allocations: 8.359 kB / 0.7879 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.283, allocations: 0 / 0.7879 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.283, allocations: 4 kB / 0.7879 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.283, allocations: 0 / 0.7879 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004556/0.2835, allocations: 386.4 kB / 0.7882 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2835, allocations: 0 / 0.7882 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.048e-05/0.2836, allocations: 4 kB / 0.7882 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.2836, allocations: 0 / 0.7882 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.2836, allocations: 3.984 kB / 0.7882 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.2836, allocations: 0 / 0.7882 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2836, allocations: 3.938 kB / 0.7882 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002887/0.2839, allocations: 215.4 kB / 0.7885 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.908e-05/0.2839, allocations: 81.02 kB / 0.7885 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.284, allocations: 7.984 kB / 0.7885 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.205e-05/0.2841, allocations: 3.984 kB / 0.7885 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.863e-05/0.2841, allocations: 15.81 kB / 0.7886 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.2842, allocations: 11.98 kB / 0.7886 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.99e-05/0.2842, allocations: 91.92 kB / 0.7887 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2842, allocations: 0 / 0.7887 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003114/0.2845, allocations: 40 kB / 0.7887 GB, free: 7.473 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 (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.0003306/0.2849, allocations: 160 kB / 0.7888 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002506/0.2851, allocations: 75.89 kB / 0.7889 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.2851, allocations: 4.125 kB / 0.7889 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.799e-05/0.2852, allocations: 31.98 kB / 0.789 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.2855, allocations: 11.98 kB / 0.789 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003973/0.2859, allocations: 196.9 kB / 0.7892 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.2862, allocations: 0.6965 MB / 0.7898 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.295e-05/0.2863, allocations: 4 kB / 0.7898 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.517e-05/0.2863, allocations: 11.44 kB / 0.7898 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of SimCode: time 3.71e-07/0.2863, allocations: 0 / 0.7898 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of Templates: time 0.003796/0.2901, allocations: 1.37 MB / 0.7912 GB, free: 4.883 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1)