Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",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.001197/0.001197, allocations: 92 kB / 15.06 MB, free: 1.098 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.001471/0.001471, allocations: 172.7 kB / 15.95 MB, free: 208 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.626/1.626, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.865/1.865, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0006004/0.0006006, allocations: 14.81 kB / 0.6738 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3076, allocations: 116.3 MB / 0.7874 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002036/0.3097, allocations: 1.214 MB / 0.7886 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001352/0.3111, allocations: 0.7153 MB / 0.7893 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.104e-05/0.3111, allocations: 0 / 0.7893 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.513e-05/0.3112, allocations: 3.938 kB / 0.7893 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.511e-05/0.3112, allocations: 7.922 kB / 0.7893 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005661/0.3118, allocations: 103.8 kB / 0.7894 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.3119, allocations: 67.78 kB / 0.7895 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.354e-05/0.312, allocations: 4 kB / 0.7895 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.266e-05/0.3121, allocations: 35.89 kB / 0.7895 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.66e-05/0.3122, allocations: 27.91 kB / 0.7895 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.3122, allocations: 4 kB / 0.7895 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000185/0.3124, allocations: 83.84 kB / 0.7896 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.947e-05/0.3125, allocations: 15.92 kB / 0.7896 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.342e-05/0.3125, allocations: 37.7 kB / 0.7897 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.3127, allocations: 108 kB / 0.7898 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.3127, allocations: 0 / 0.7898 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.505e-06/0.3127, allocations: 0 / 0.7898 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.3127, allocations: 0 / 0.7898 GB, free: 9.422 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.0006332/0.3134, allocations: 404.8 kB / 0.7901 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.3134, allocations: 12.03 kB / 0.7902 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.159e-05/0.3135, allocations: 34.56 kB / 0.7902 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.342e-05/0.3135, allocations: 7.906 kB / 0.7902 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.3137, allocations: 186.8 kB / 0.7904 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.3137, allocations: 0 / 0.7904 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.3137, allocations: 4 kB / 0.7904 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.3139, allocations: 73.66 kB / 0.7904 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.3139, allocations: 3.984 kB / 0.7905 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.3139, allocations: 0 / 0.7905 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.314, allocations: 0 / 0.7905 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.3141, allocations: 51.95 kB / 0.7905 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000595/0.3147, allocations: 320.6 kB / 0.7908 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.3148, allocations: 50.56 kB / 0.7909 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.082e-05/0.3149, allocations: 32.97 kB / 0.7909 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.315, allocations: 7.984 kB / 0.7909 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001908/0.3152, allocations: 75.39 kB / 0.791 GB, free: 8 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.3152, allocations: 0 / 0.791 GB, free: 8 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004136/0.3156, allocations: 157.5 kB / 0.7911 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.3156, allocations: 59.34 kB / 0.7912 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.3158, allocations: 125.8 kB / 0.7913 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.3158, allocations: 29.7 kB / 0.7913 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.588e-05/0.3158, allocations: 96.25 kB / 0.7914 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.3159, allocations: 11.81 kB / 0.7914 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-06/0.3159, allocations: 0 / 0.7914 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.316, allocations: 322.8 kB / 0.7917 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.349e-05/0.3161, allocations: 27.98 kB / 0.7918 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.642e-05/0.3162, allocations: 54.55 kB / 0.7918 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.498e-05/0.3163, allocations: 31.94 kB / 0.7918 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3163, allocations: 0 / 0.7918 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002384/0.3166, allocations: 121.5 kB / 0.792 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.3166, allocations: 8 kB / 0.792 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3166, allocations: 0 / 0.792 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.3166, allocations: 0 / 0.792 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.206e-05/0.3167, allocations: 15.98 kB / 0.792 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.3167, allocations: 3.953 kB / 0.792 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.196e-05/0.3168, allocations: 7.984 kB / 0.792 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.3168, allocations: 8.062 kB / 0.792 GB, free: 6.879 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.0001081/0.3169, allocations: 121.8 kB / 0.7921 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.611e-05/0.317, allocations: 7.906 kB / 0.7921 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.394e-05/0.317, allocations: 4.375 kB / 0.7921 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.317, allocations: 4 kB / 0.7921 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.317, allocations: 0 / 0.7921 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.317, allocations: 11.94 kB / 0.7921 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005216/0.3175, allocations: 382.5 kB / 0.7925 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3176, allocations: 0 / 0.7925 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.917e-05/0.3176, allocations: 11.98 kB / 0.7925 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3176, allocations: 0 / 0.7925 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.3176, allocations: 0 / 0.7925 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.3176, allocations: 11.83 kB / 0.7925 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3177, allocations: 0 / 0.7925 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002996/0.318, allocations: 223.9 kB / 0.7927 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.349e-05/0.318, allocations: 85.02 kB / 0.7928 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.3181, allocations: 0 / 0.7928 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.763e-05/0.3181, allocations: 7.984 kB / 0.7928 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.659e-05/0.3182, allocations: 7.953 kB / 0.7928 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.739e-06/0.3182, allocations: 7.984 kB / 0.7928 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.2e-05/0.3183, allocations: 91.28 kB / 0.7929 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3183, allocations: 0 / 0.7929 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003142/0.3186, allocations: 39.98 kB / 0.793 GB, free: 5.781 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.0009373/0.3195, allocations: 0.818 MB / 0.7938 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002449/0.3198, allocations: 75.97 kB / 0.7938 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3198, allocations: 0 / 0.7938 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.3199, allocations: 39.97 kB / 0.7939 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.3202, allocations: 11.94 kB / 0.7939 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.3213, allocations: 0.6068 MB / 0.7945 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.3216, allocations: 0.6887 MB / 0.7952 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.138e-05/0.3217, allocations: 4.188 kB / 0.7952 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.232e-05/0.3217, allocations: 23.42 kB / 0.7952 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of SimCode: time 2.91e-07/0.3217, allocations: 0 / 0.7952 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01594/0.3377, allocations: 2.335 MB / 0.7975 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002573/0.338, allocations: 246.4 kB / 0.7977 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.907/2.245, allocations: 0 / 0.7977 GB, free: 0.9531 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) Environment - environmentSimulation: