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: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",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.001106/0.001107, 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.001272/0.001272, 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.661/1.661, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.872/1.872, allocations: 292.7 MB / 0.5499 GB, free: 14.53 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.0009185/0.0009187, allocations: 17.5 kB / 0.6738 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3082, allocations: 116.3 MB / 0.7874 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.00213/0.3104, allocations: 1.203 MB / 0.7886 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001392/0.3118, allocations: 0.7153 MB / 0.7893 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.613e-05/0.3119, allocations: 4 kB / 0.7893 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.233e-05/0.3119, allocations: 3.938 kB / 0.7893 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.898e-05/0.312, allocations: 19.84 kB / 0.7893 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006391/0.3127, allocations: 87.84 kB / 0.7894 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.3128, allocations: 67.7 kB / 0.7894 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.3129, allocations: 15.98 kB / 0.7895 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.919e-05/0.3131, allocations: 23.92 kB / 0.7895 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.11e-05/0.3131, allocations: 43.83 kB / 0.7895 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.3132, allocations: 4 kB / 0.7895 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002332/0.3134, allocations: 83.84 kB / 0.7896 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.451e-05/0.3134, allocations: 11.98 kB / 0.7896 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.926e-05/0.3135, allocations: 37.64 kB / 0.7897 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.3137, allocations: 96.03 kB / 0.7898 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.768e-06/0.3137, allocations: 4 kB / 0.7898 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.785e-06/0.3137, allocations: 0 / 0.7898 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.3138, allocations: 0 / 0.7898 GB, free: 9.391 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.0007221/0.3145, allocations: 412.8 kB / 0.7901 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.3146, allocations: 8.031 kB / 0.7902 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.149e-05/0.3146, allocations: 34.56 kB / 0.7902 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.417e-05/0.3147, allocations: 3.906 kB / 0.7902 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.3149, allocations: 178.9 kB / 0.7904 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.568e-05/0.3149, allocations: 8 kB / 0.7904 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/0.3149, allocations: 4 kB / 0.7904 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002217/0.3152, allocations: 81.52 kB / 0.7905 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.3152, allocations: 0 / 0.7905 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.3152, allocations: 4 kB / 0.7905 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.3152, allocations: 4 kB / 0.7905 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001421/0.3154, allocations: 39.97 kB / 0.7905 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007237/0.3161, allocations: 320.7 kB / 0.7908 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.3163, allocations: 58.55 kB / 0.7909 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.299e-05/0.3164, allocations: 40.91 kB / 0.7909 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/0.3164, allocations: 0 / 0.7909 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002822/0.3167, allocations: 75.38 kB / 0.791 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.784e-06/0.3167, allocations: 0 / 0.791 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004822/0.3172, allocations: 153.5 kB / 0.7911 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.969e-05/0.3173, allocations: 59.47 kB / 0.7912 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.3174, allocations: 125.7 kB / 0.7913 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.3174, allocations: 29.7 kB / 0.7913 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.985e-05/0.3175, allocations: 92.27 kB / 0.7914 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/0.3176, allocations: 15.81 kB / 0.7914 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.994e-06/0.3176, allocations: 0 / 0.7914 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.3178, allocations: 322.8 kB / 0.7917 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.443e-05/0.3179, allocations: 27.98 kB / 0.7918 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.318, allocations: 58.48 kB / 0.7918 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.3181, allocations: 35.98 kB / 0.7918 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.3181, allocations: 0 / 0.7918 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003025/0.3185, allocations: 113.5 kB / 0.792 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.3185, allocations: 4 kB / 0.792 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.3185, allocations: 3.984 kB / 0.792 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.791e-05/0.3186, allocations: 4 kB / 0.792 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.3187, allocations: 19.94 kB / 0.792 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.749e-05/0.3187, allocations: 7.953 kB / 0.792 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.171e-05/0.3188, allocations: 7.984 kB / 0.792 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/0.3188, allocations: 4 kB / 0.792 GB, free: 6.836 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.0001547/0.319, allocations: 113.8 kB / 0.7921 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.669e-05/0.319, allocations: 7.906 kB / 0.7921 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.568e-05/0.3191, allocations: 12.36 kB / 0.7921 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.3191, allocations: 4 kB / 0.7921 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.3191, allocations: 0 / 0.7921 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.3191, allocations: 7.953 kB / 0.7921 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005861/0.3197, allocations: 386.4 kB / 0.7925 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.3197, allocations: 4 kB / 0.7925 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.181e-05/0.3198, allocations: 4 kB / 0.7925 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.3198, allocations: 4 kB / 0.7925 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.3198, allocations: 4 kB / 0.7925 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.3198, allocations: 7.938 kB / 0.7925 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3198, allocations: 0 / 0.7925 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003188/0.3202, allocations: 219.3 kB / 0.7927 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.355e-05/0.3202, allocations: 85.02 kB / 0.7928 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.3202, allocations: 0 / 0.7928 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.472e-05/0.3203, allocations: 7.984 kB / 0.7928 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.642e-05/0.3204, allocations: 7.953 kB / 0.7928 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.3204, allocations: 7.984 kB / 0.7929 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.972e-05/0.3205, allocations: 91.27 kB / 0.7929 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.7e-07/0.3205, allocations: 0 / 0.7929 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003784/0.3209, allocations: 36 kB / 0.793 GB, free: 5.746 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.0009925/0.3219, allocations: 0.8262 MB / 0.7938 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002439/0.3221, allocations: 71.91 kB / 0.7938 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3222, allocations: 0 / 0.7938 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.3223, allocations: 43.91 kB / 0.7939 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.3226, allocations: 12.08 kB / 0.7939 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.3238, allocations: 0.5896 MB / 0.7945 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.3241, allocations: 0.6887 MB / 0.7951 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.266e-05/0.3241, allocations: 4.188 kB / 0.7952 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.161e-05/0.3242, allocations: 27.42 kB / 0.7952 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of SimCode: time 6.61e-07/0.3242, allocations: 0 / 0.7952 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01671/0.3409, allocations: 2.339 MB / 0.7975 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002291/0.3412, allocations: 240.5 kB / 0.7977 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.926/2.267, allocations: 3.938 kB / 0.7977 GB, free: 0.9805 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) Environment - environmentSimulation: