Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001299, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001455/0.001455, allocations: 168.7 kB / 15.95 MB, free: 204 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.706/1.706, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.831/1.831, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005341/0.0005343, allocations: 13.56 kB / 0.6738 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2623, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.001704/0.264, allocations: 1.207 MB / 0.7886 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001251/0.2653, allocations: 0.7153 MB / 0.7893 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.072e-05/0.2653, allocations: 0 / 0.7893 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.732e-05/0.2654, allocations: 0 / 0.7893 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.458e-05/0.2654, allocations: 15.86 kB / 0.7893 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004515/0.2659, allocations: 91.83 kB / 0.7894 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.731e-05/0.266, allocations: 71.7 kB / 0.7895 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.859e-05/0.2661, allocations: 11.98 kB / 0.7895 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.614e-05/0.2662, allocations: 27.92 kB / 0.7895 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.083e-05/0.2662, allocations: 39.83 kB / 0.7895 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.2663, allocations: 4 kB / 0.7895 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000169/0.2664, allocations: 87.84 kB / 0.7896 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.846e-05/0.2665, allocations: 7.984 kB / 0.7896 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.5e-05/0.2665, allocations: 37.64 kB / 0.7897 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001433/0.2667, allocations: 100 kB / 0.7898 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.2667, allocations: 0 / 0.7898 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.514e-06/0.2667, allocations: 3.938 kB / 0.7898 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.2667, allocations: 0 / 0.7898 GB, free: 9.406 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.0005745/0.2673, allocations: 412.8 kB / 0.7902 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.2673, allocations: 8.031 kB / 0.7902 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.411e-05/0.2674, allocations: 34.56 kB / 0.7902 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.187e-05/0.2674, allocations: 11.89 kB / 0.7902 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.2675, allocations: 171 kB / 0.7904 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.2676, allocations: 4 kB / 0.7904 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.2676, allocations: 4 kB / 0.7904 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.2678, allocations: 81.53 kB / 0.7905 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.2678, allocations: 3.984 kB / 0.7905 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.2678, allocations: 0 / 0.7905 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.2678, allocations: 0 / 0.7905 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.268, allocations: 43.97 kB / 0.7905 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005887/0.2686, allocations: 324.7 kB / 0.7908 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.2687, allocations: 54.48 kB / 0.7909 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.357e-05/0.2688, allocations: 40.97 kB / 0.7909 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.2688, allocations: 0 / 0.7909 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001808/0.269, allocations: 79.38 kB / 0.791 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.269, allocations: 0 / 0.791 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003683/0.2694, allocations: 149.5 kB / 0.7911 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.614e-05/0.2695, allocations: 55.34 kB / 0.7912 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.947e-05/0.2695, allocations: 129.8 kB / 0.7913 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.2696, allocations: 25.7 kB / 0.7913 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.361e-05/0.2696, allocations: 96.33 kB / 0.7914 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.2697, allocations: 19.8 kB / 0.7914 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.631e-06/0.2697, allocations: 0 / 0.7914 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.2698, allocations: 318.8 kB / 0.7917 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.851e-05/0.2699, allocations: 31.98 kB / 0.7918 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.912e-05/0.27, allocations: 50.55 kB / 0.7918 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.349e-05/0.2701, allocations: 32.3 kB / 0.7918 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2701, allocations: 4 kB / 0.7918 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002234/0.2703, allocations: 121.5 kB / 0.792 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.2704, allocations: 4 kB / 0.792 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.2704, allocations: 0 / 0.792 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.2704, allocations: 8.062 kB / 0.792 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.33e-05/0.2705, allocations: 15.88 kB / 0.792 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.2705, allocations: 11.94 kB / 0.792 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.073e-05/0.2706, allocations: 8 kB / 0.792 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.2706, allocations: 4 kB / 0.792 GB, free: 6.852 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 0.0001014/0.2707, allocations: 121.2 kB / 0.7921 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.379e-05/0.2707, allocations: 3.906 kB / 0.7921 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.759e-05/0.2708, allocations: 24.3 kB / 0.7922 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2708, allocations: 0 / 0.7922 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2708, allocations: 0 / 0.7922 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.2708, allocations: 3.953 kB / 0.7922 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004577/0.2713, allocations: 386.4 kB / 0.7925 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2713, allocations: 0 / 0.7925 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.051e-05/0.2713, allocations: 8 kB / 0.7925 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.2713, allocations: 0 / 0.7925 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.2713, allocations: 3.984 kB / 0.7925 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.2713, allocations: 3.953 kB / 0.7925 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2714, allocations: 4 kB / 0.7925 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.2716, allocations: 215.4 kB / 0.7928 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.215e-05/0.2717, allocations: 85.02 kB / 0.7928 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.2717, allocations: 3.984 kB / 0.7928 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.041e-05/0.2718, allocations: 4 kB / 0.7928 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/0.2718, allocations: 15.94 kB / 0.7929 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.2719, allocations: 0 / 0.7929 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.961e-05/0.2719, allocations: 95.27 kB / 0.7929 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2719, allocations: 0 / 0.7929 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003048/0.2722, allocations: 36 kB / 0.793 GB, free: 5.762 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.0008917/0.2731, allocations: 0.8181 MB / 0.7938 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002351/0.2734, allocations: 80.2 kB / 0.7939 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2734, allocations: 0 / 0.7939 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.133e-05/0.2735, allocations: 40.08 kB / 0.7939 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.2738, allocations: 8.078 kB / 0.7939 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.2748, allocations: 0.5976 MB / 0.7945 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.2752, allocations: 0.6887 MB / 0.7952 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.269e-05/0.2752, allocations: 8.188 kB / 0.7952 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.504e-05/0.2753, allocations: 23.42 kB / 0.7952 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.2753, allocations: 0 / 0.7952 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01304/0.2883, allocations: 2.332 MB / 0.7975 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004033/0.2888, allocations: 251.1 kB / 0.7977 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.016/2.305, allocations: 7.875 kB / 0.7977 GB, free: 0.9336 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) Environment - environmentSimulation: