Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.583/1.583, allocations: 287.4 MB / 302.6 MB, free: 8.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001061/0.001061, allocations: 179.2 kB / 371.1 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.508/1.508, allocations: 205.4 MB / 0.6298 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008302/0.0008302, allocations: 90.34 kB / 0.7431 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004162/0.0004162, allocations: 10.75 kB / 0.8662 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1946, allocations: 115.3 MB / 0.9787 GB, free: 28.12 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.001504/0.1961, allocations: 1.199 MB / 0.9799 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009889/0.1971, allocations: 0.7229 MB / 0.9806 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.38e-05/0.1972, allocations: 0 / 0.9806 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.723e-05/0.1973, allocations: 11.92 kB / 0.9806 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.091e-05/0.1973, allocations: 3.938 kB / 0.9806 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004419/0.1978, allocations: 95.77 kB / 0.9807 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.213e-05/0.1979, allocations: 63.78 kB / 0.9808 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.942e-05/0.198, allocations: 11.98 kB / 0.9808 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.346e-05/0.198, allocations: 31.91 kB / 0.9808 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.554e-05/0.1981, allocations: 31.91 kB / 0.9809 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.1981, allocations: 4 kB / 0.9809 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.1983, allocations: 87.84 kB / 0.9809 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.033e-05/0.1983, allocations: 19.91 kB / 0.981 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.439e-05/0.1983, allocations: 29.7 kB / 0.981 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001313/0.1985, allocations: 100 kB / 0.9811 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1985, allocations: 0 / 0.9811 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1985, allocations: 0 / 0.9811 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.1985, allocations: 0 / 0.9811 GB, free: 25.69 MB / 0.6198 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.0004893/0.199, allocations: 409 kB / 0.9815 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.1991, allocations: 12.03 kB / 0.9815 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.655e-05/0.1991, allocations: 38.73 kB / 0.9815 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.876e-05/0.1991, allocations: 8.844 kB / 0.9815 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.93e-05/0.1992, allocations: 180.2 kB / 0.9817 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.1993, allocations: 384 / 0.9817 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.1993, allocations: 4.375 kB / 0.9817 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.1994, allocations: 81.78 kB / 0.9818 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.1995, allocations: 0 / 0.9818 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.1995, allocations: 4 kB / 0.9818 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.1995, allocations: 3.984 kB / 0.9818 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.1996, allocations: 35.98 kB / 0.9818 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004921/0.2001, allocations: 328.7 kB / 0.9821 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.2002, allocations: 46.56 kB / 0.9822 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.474e-05/0.2003, allocations: 36.97 kB / 0.9822 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.2003, allocations: 4 kB / 0.9822 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001347/0.2005, allocations: 83.44 kB / 0.9823 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.2005, allocations: 0 / 0.9823 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003421/0.2008, allocations: 145.5 kB / 0.9824 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.2009, allocations: 59.34 kB / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.794e-05/0.2009, allocations: 125.8 kB / 0.9826 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.201, allocations: 25.7 kB / 0.9826 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.265e-05/0.201, allocations: 95.98 kB / 0.9827 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.344e-05/0.201, allocations: 15.89 kB / 0.9828 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-06/0.201, allocations: 0 / 0.9828 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.517e-05/0.2011, allocations: 326.8 kB / 0.9831 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.304e-05/0.2012, allocations: 31.97 kB / 0.9831 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.442e-05/0.2012, allocations: 50.5 kB / 0.9831 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.2014, allocations: 86.47 kB / 0.9832 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2014, allocations: 0 / 0.9832 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002119/0.2016, allocations: 117.5 kB / 0.9833 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.2016, allocations: 8 kB / 0.9833 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.2017, allocations: 4.062 kB / 0.9833 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.2017, allocations: 0 / 0.9833 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.632e-05/0.2018, allocations: 15.98 kB / 0.9834 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.2018, allocations: 3.938 kB / 0.9834 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.977e-05/0.2018, allocations: 7.906 kB / 0.9834 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.2019, allocations: 4 kB / 0.9834 GB, free: 23.09 MB / 0.6198 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 6.569e-05/0.2019, allocations: 126.9 kB / 0.9835 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.242e-05/0.2019, allocations: 11.98 kB / 0.9835 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.269e-05/0.202, allocations: 4.375 kB / 0.9835 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.202, allocations: 4 kB / 0.9835 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.202, allocations: 0 / 0.9835 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.202, allocations: 0 / 0.9835 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003368/0.2023, allocations: 398.2 kB / 0.9839 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2024, allocations: 4 kB / 0.9839 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.56e-05/0.2024, allocations: 8 kB / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2024, allocations: 0 / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.2024, allocations: 3.984 kB / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.2024, allocations: 4.406 kB / 0.9839 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2024, allocations: 0 / 0.9839 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002161/0.2027, allocations: 219.4 kB / 0.9841 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.106e-05/0.2027, allocations: 85.09 kB / 0.9842 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.2027, allocations: 3.938 kB / 0.9842 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.271e-05/0.2028, allocations: 7.938 kB / 0.9842 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/0.2028, allocations: 7.984 kB / 0.9842 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.515e-06/0.2029, allocations: 0 / 0.9842 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.154e-05/0.2029, allocations: 99.86 kB / 0.9843 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2029, allocations: 0 / 0.9843 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002527/0.2032, allocations: 36 kB / 0.9844 GB, free: 21.99 MB / 0.6198 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.0005934/0.2038, allocations: 0.8145 MB / 0.9852 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002033/0.204, allocations: 75.89 kB / 0.9852 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.204, allocations: 0 / 0.9852 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.552e-05/0.2041, allocations: 48.05 kB / 0.9853 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.2043, allocations: 7.938 kB / 0.9853 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008174/0.2051, allocations: 0.6076 MB / 0.9859 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.2052, allocations: 0.6887 MB / 0.9865 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.442e-05/0.2053, allocations: 4 kB / 0.9865 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.584e-05/0.2053, allocations: 23.42 kB / 0.9866 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2053, allocations: 0 / 0.9866 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01165/0.217, allocations: 2.319 MB / 0.9888 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001422/0.2172, allocations: 244.1 kB / 0.9891 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.529/1.746, allocations: 0 / 0.9891 GB, free: 17.21 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1)