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.0008678/0.0008679, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004946/0.004946, allocations: 170.1 kB / 16.27 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.233/1.233, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.701/1.701, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0005028/0.0005028, allocations: 13.16 kB / 0.6744 GB, free: 25.64 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2223, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.001769/0.2241, allocations: 1.224 MB / 0.7892 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001223/0.2253, allocations: 0.7528 MB / 0.7899 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.021e-05/0.2254, allocations: 4 kB / 0.7899 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.085e-05/0.2254, allocations: 7.922 kB / 0.7899 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.017e-05/0.2255, allocations: 7.938 kB / 0.7899 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000454/0.2259, allocations: 99.77 kB / 0.79 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.176e-05/0.226, allocations: 67.84 kB / 0.7901 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.309e-05/0.2261, allocations: 11.97 kB / 0.7901 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.368e-05/0.2262, allocations: 35.8 kB / 0.7901 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.672e-05/0.2263, allocations: 35.89 kB / 0.7902 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.2263, allocations: 4 kB / 0.7902 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001714/0.2265, allocations: 87.91 kB / 0.7903 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.122e-05/0.2265, allocations: 15.92 kB / 0.7903 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.328e-05/0.2266, allocations: 53.56 kB / 0.7903 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002035/0.2268, allocations: 139.8 kB / 0.7905 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2268, allocations: 0 / 0.7905 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2268, allocations: 4 kB / 0.7905 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.2268, allocations: 0 / 0.7905 GB, free: 8.922 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.0005473/0.2274, allocations: 405 kB / 0.7909 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.2274, allocations: 8.031 kB / 0.7909 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.958e-05/0.2275, allocations: 34.75 kB / 0.7909 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.368e-05/0.2275, allocations: 12.83 kB / 0.7909 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.2276, allocations: 184.1 kB / 0.7911 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.2277, allocations: 4.375 kB / 0.7911 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.2277, allocations: 8.375 kB / 0.7911 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.2279, allocations: 73.78 kB / 0.7912 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.2279, allocations: 0 / 0.7912 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.2279, allocations: 3.938 kB / 0.7912 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.2279, allocations: 4 kB / 0.7912 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.2281, allocations: 39.97 kB / 0.7912 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005569/0.2286, allocations: 316.8 kB / 0.7915 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.2288, allocations: 54.55 kB / 0.7916 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.909e-05/0.2289, allocations: 40.95 kB / 0.7916 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.2289, allocations: 3.938 kB / 0.7916 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001873/0.2291, allocations: 87.44 kB / 0.7917 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.432e-06/0.2291, allocations: 4 kB / 0.7917 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.000381/0.2295, allocations: 141.5 kB / 0.7918 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.2295, allocations: 63.34 kB / 0.7919 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.71e-05/0.2296, allocations: 121.8 kB / 0.792 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.2297, allocations: 25.7 kB / 0.792 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.626e-05/0.2297, allocations: 99.98 kB / 0.7921 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.706e-05/0.2298, allocations: 11.83 kB / 0.7921 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.949e-05/0.2298, allocations: 17.72 kB / 0.7922 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.2299, allocations: 330.8 kB / 0.7925 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.14e-05/0.23, allocations: 27.98 kB / 0.7925 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.296e-05/0.2301, allocations: 46.56 kB / 0.7925 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.2303, allocations: 78.55 kB / 0.7926 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.2303, allocations: 7.938 kB / 0.7926 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002397/0.2305, allocations: 121.7 kB / 0.7927 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.2305, allocations: 8.062 kB / 0.7928 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.2305, allocations: 0 / 0.7928 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.2306, allocations: 4 kB / 0.7928 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.083e-05/0.2307, allocations: 15.98 kB / 0.7928 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.2307, allocations: 4.062 kB / 0.7928 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.8e-05/0.2307, allocations: 11.91 kB / 0.7928 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.2308, allocations: 0 / 0.7928 GB, free: 6.293 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.457e-05/0.2309, allocations: 129.8 kB / 0.7929 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/0.2309, allocations: 0 / 0.7929 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.065e-05/0.2309, allocations: 12.38 kB / 0.7929 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.2309, allocations: 3.938 kB / 0.7929 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.2309, allocations: 0 / 0.7929 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2309, allocations: 0 / 0.7929 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000422/0.2314, allocations: 394.3 kB / 0.7933 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2314, allocations: 4 kB / 0.7933 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.021e-05/0.2314, allocations: 7.984 kB / 0.7933 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2314, allocations: 0 / 0.7933 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.2314, allocations: 0 / 0.7933 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.2314, allocations: 7.938 kB / 0.7933 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.2315, allocations: 3.938 kB / 0.7933 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000274/0.2317, allocations: 215.4 kB / 0.7935 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.865e-05/0.2318, allocations: 81.11 kB / 0.7936 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.2318, allocations: 0 / 0.7936 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.2319, allocations: 11.94 kB / 0.7936 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.169e-05/0.232, allocations: 3.984 kB / 0.7936 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.232, allocations: 4 kB / 0.7936 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.668e-05/0.232, allocations: 91.27 kB / 0.7937 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.232, allocations: 4 kB / 0.7937 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002827/0.2323, allocations: 39.98 kB / 0.7938 GB, free: 5.199 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.00074/0.2331, allocations: 0.8246 MB / 0.7946 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000225/0.2333, allocations: 75.88 kB / 0.7946 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2333, allocations: 4 kB / 0.7946 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.749e-05/0.2334, allocations: 36.11 kB / 0.7947 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.2337, allocations: 15.92 kB / 0.7947 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.2352, allocations: 1.525 MB / 0.7962 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/0.2354, allocations: 0.6888 MB / 0.7968 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.718e-05/0.2354, allocations: 7.984 kB / 0.7969 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.091e-05/0.2355, allocations: 19.44 kB / 0.7969 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of SimCode: time 3.2e-07/0.2355, allocations: 0 / 0.7969 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01269/0.2482, allocations: 2.344 MB / 0.7992 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002115/0.2484, allocations: 265.8 kB / 0.7994 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.771/2.019, allocations: 4.469 kB / 0.7994 GB, free: 15.37 MB / 0.6231 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/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)