Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",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.001228/0.001228, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001108/0.001108, allocations: 190.9 kB / 16.14 MB, free: 6.66 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.528/1.528, allocations: 205.1 MB / 222 MB, free: 4.746 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.694/1.694, allocations: 292.3 MB / 0.5484 GB, free: 13.69 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.001367/0.001367, allocations: 62.48 kB / 0.6709 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2124, allocations: 114.5 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002538/0.2149, allocations: 1.566 MB / 0.7843 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.2161, allocations: 0.7683 MB / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.124e-05/0.2161, allocations: 0 / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.033e-05/0.2161, allocations: 7.938 kB / 0.7851 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.022e-05/0.2162, allocations: 7.938 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004221/0.2166, allocations: 99.77 kB / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.991e-05/0.2167, allocations: 75.75 kB / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.228e-05/0.2168, allocations: 12 kB / 0.7853 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.346e-05/0.2169, allocations: 27.86 kB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.068e-05/0.217, allocations: 43.88 kB / 0.7853 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.217, allocations: 4 kB / 0.7853 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001666/0.2172, allocations: 91.84 kB / 0.7854 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.504e-05/0.2172, allocations: 15.92 kB / 0.7854 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.988e-05/0.2173, allocations: 27.86 kB / 0.7855 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.2175, allocations: 143.9 kB / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2175, allocations: 0 / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.82e-07/0.2175, allocations: 0 / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.2175, allocations: 0 / 0.7856 GB, free: 11.02 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.000545/0.218, allocations: 421 kB / 0.786 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.2181, allocations: 8.031 kB / 0.786 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.31e-05/0.2181, allocations: 34.75 kB / 0.786 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.496e-05/0.2182, allocations: 12.84 kB / 0.7861 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.908e-05/0.2183, allocations: 176.2 kB / 0.7862 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.2183, allocations: 8.359 kB / 0.7862 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.2183, allocations: 8.375 kB / 0.7862 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.2185, allocations: 69.72 kB / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.2185, allocations: 0 / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.2185, allocations: 8 kB / 0.7863 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.2185, allocations: 0 / 0.7863 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.2186, allocations: 35.97 kB / 0.7864 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000536/0.2192, allocations: 316.7 kB / 0.7867 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.2193, allocations: 54.5 kB / 0.7867 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.775e-05/0.2194, allocations: 32.97 kB / 0.7867 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.2194, allocations: 4 kB / 0.7867 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001641/0.2196, allocations: 71.38 kB / 0.7868 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.2196, allocations: 0 / 0.7868 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003645/0.22, allocations: 145.6 kB / 0.7869 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.22, allocations: 55.41 kB / 0.787 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.117e-05/0.2201, allocations: 121.7 kB / 0.7871 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.2201, allocations: 29.7 kB / 0.7871 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.954e-05/0.2202, allocations: 96.06 kB / 0.7872 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.2202, allocations: 15.88 kB / 0.7873 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.901e-05/0.2203, allocations: 29.7 kB / 0.7873 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.701e-05/0.2204, allocations: 330.8 kB / 0.7876 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.791e-05/0.2205, allocations: 19.98 kB / 0.7876 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.341e-05/0.2205, allocations: 54.5 kB / 0.7877 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.2207, allocations: 74.78 kB / 0.7877 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2207, allocations: 4 kB / 0.7877 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002358/0.221, allocations: 109.5 kB / 0.7878 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.221, allocations: 8 kB / 0.7879 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.221, allocations: 0 / 0.7879 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.221, allocations: 0 / 0.7879 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.171e-05/0.2211, allocations: 15.98 kB / 0.7879 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.2211, allocations: 4 kB / 0.7879 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.421e-05/0.2212, allocations: 4 kB / 0.7879 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.2212, allocations: 4.062 kB / 0.7879 GB, free: 8.434 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 7.751e-05/0.2213, allocations: 130.4 kB / 0.788 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.591e-05/0.2213, allocations: 3.906 kB / 0.788 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.408e-05/0.2213, allocations: 12.38 kB / 0.788 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.2213, allocations: 0 / 0.788 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2213, allocations: 3.938 kB / 0.788 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2214, allocations: 3.984 kB / 0.788 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004079/0.2218, allocations: 386.4 kB / 0.7884 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2218, allocations: 4 kB / 0.7884 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.074e-05/0.2218, allocations: 7.922 kB / 0.7884 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.2218, allocations: 4 kB / 0.7884 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.2219, allocations: 0 / 0.7884 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.2219, allocations: 7.938 kB / 0.7884 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2219, allocations: 0 / 0.7884 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002575/0.2221, allocations: 211.4 kB / 0.7886 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.598e-05/0.2222, allocations: 81.02 kB / 0.7887 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.2222, allocations: 4 kB / 0.7887 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.792e-05/0.2223, allocations: 7.938 kB / 0.7887 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.523e-05/0.2223, allocations: 7.984 kB / 0.7887 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.2223, allocations: 0 / 0.7887 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.686e-05/0.2224, allocations: 95.27 kB / 0.7888 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.483e-06/0.2224, allocations: 0 / 0.7888 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002693/0.2227, allocations: 43.92 kB / 0.7888 GB, free: 7.34 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.0006852/0.2234, allocations: 0.8032 MB / 0.7896 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000209/0.2236, allocations: 80.19 kB / 0.7897 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2236, allocations: 0 / 0.7897 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.03e-05/0.2237, allocations: 31.98 kB / 0.7897 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.2239, allocations: 15.92 kB / 0.7898 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.2254, allocations: 1.494 MB / 0.7912 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002095/0.2256, allocations: 0.6926 MB / 0.7919 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.557e-05/0.2256, allocations: 4 kB / 0.7919 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.135e-05/0.2257, allocations: 23.42 kB / 0.7919 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2257, allocations: 0 / 0.7919 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01097/0.2367, allocations: 2.413 MB / 0.7943 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001855/0.2369, allocations: 256.6 kB / 0.7945 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.583/1.82, allocations: 7.312 kB / 0.7945 GB, free: 1.496 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1)