Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.492/1.492, allocations: 288.4 MB / 303.6 MB, free: 7.957 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.001116/0.001116, allocations: 181.9 kB / 372.3 MB, free: 10.12 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.452/1.452, allocations: 205.4 MB / 0.631 GB, free: 9.922 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.000788/0.0007879, allocations: 90.28 kB / 0.7444 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003875/0.0003875, allocations: 15.72 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2234, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.001771/0.2253, allocations: 1.211 MB / 0.9814 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001302/0.2266, allocations: 0.7149 MB / 0.9821 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.269e-05/0.2267, allocations: 0 / 0.9821 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.873e-05/0.2268, allocations: 7.922 kB / 0.9821 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.888e-05/0.2268, allocations: 3.938 kB / 0.9821 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006467/0.2275, allocations: 103.8 kB / 0.9822 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.2276, allocations: 63.78 kB / 0.9822 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.2278, allocations: 7.984 kB / 0.9823 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.571e-05/0.2279, allocations: 31.91 kB / 0.9823 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.121e-05/0.2279, allocations: 31.91 kB / 0.9823 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.228, allocations: 0 / 0.9823 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002011/0.2282, allocations: 91.84 kB / 0.9824 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.632e-05/0.2282, allocations: 23.84 kB / 0.9824 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.7e-05/0.2283, allocations: 49.62 kB / 0.9825 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.2285, allocations: 104 kB / 0.9826 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.2285, allocations: 0 / 0.9826 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.873e-06/0.2285, allocations: 0 / 0.9826 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.2285, allocations: 0 / 0.9826 GB, free: 24.78 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.000581/0.2291, allocations: 409 kB / 0.983 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.2292, allocations: 16.03 kB / 0.983 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.598e-05/0.2292, allocations: 42.73 kB / 0.983 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.672e-05/0.2292, allocations: 8.844 kB / 0.983 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.133e-05/0.2293, allocations: 172.2 kB / 0.9832 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/0.2294, allocations: 384 / 0.9832 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.2294, allocations: 4.375 kB / 0.9832 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000228/0.2296, allocations: 77.78 kB / 0.9833 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.2297, allocations: 3.984 kB / 0.9833 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.2297, allocations: 3.984 kB / 0.9833 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.2297, allocations: 4 kB / 0.9833 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.2298, allocations: 43.92 kB / 0.9833 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006057/0.2304, allocations: 324.8 kB / 0.9836 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.2306, allocations: 46.56 kB / 0.9837 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.646e-05/0.2307, allocations: 32.97 kB / 0.9837 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.938e-05/0.2307, allocations: 4 kB / 0.9837 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002115/0.2309, allocations: 87.31 kB / 0.9838 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.684e-06/0.231, allocations: 0 / 0.9838 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003942/0.2314, allocations: 137.5 kB / 0.9839 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.2314, allocations: 63.39 kB / 0.984 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.136e-05/0.2315, allocations: 121.8 kB / 0.9841 GB, free: 23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.2315, allocations: 25.7 kB / 0.9841 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.239e-05/0.2316, allocations: 99.97 kB / 0.9842 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.2316, allocations: 11.97 kB / 0.9842 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.281e-06/0.2316, allocations: 0 / 0.9842 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.321e-05/0.2317, allocations: 326.7 kB / 0.9845 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.247e-05/0.2317, allocations: 39.91 kB / 0.9846 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.021e-05/0.2318, allocations: 46.56 kB / 0.9846 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.232, allocations: 78.55 kB / 0.9847 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.232, allocations: 0 / 0.9847 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002244/0.2322, allocations: 121.5 kB / 0.9848 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.2323, allocations: 4 kB / 0.9848 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.2323, allocations: 3.938 kB / 0.9848 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.2323, allocations: 0 / 0.9848 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.873e-05/0.2324, allocations: 20.05 kB / 0.9848 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.2324, allocations: 0 / 0.9848 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.221e-05/0.2325, allocations: 11.84 kB / 0.9849 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.2325, allocations: 4 kB / 0.9849 GB, free: 22.18 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 7.981e-05/0.2326, allocations: 121.8 kB / 0.985 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.62e-05/0.2326, allocations: 7.984 kB / 0.985 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.565e-05/0.2326, allocations: 8.375 kB / 0.985 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.2326, allocations: 4 kB / 0.985 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.2327, allocations: 0 / 0.985 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2327, allocations: 3.938 kB / 0.985 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003606/0.233, allocations: 394.7 kB / 0.9854 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.233, allocations: 4 kB / 0.9854 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.837e-05/0.2331, allocations: 4 kB / 0.9854 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.2331, allocations: 4 kB / 0.9854 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.2331, allocations: 3.984 kB / 0.9854 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.2331, allocations: 3.938 kB / 0.9854 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2331, allocations: 0 / 0.9854 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002409/0.2334, allocations: 215.4 kB / 0.9856 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.944e-05/0.2334, allocations: 85.09 kB / 0.9857 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.43e-05/0.2335, allocations: 8 kB / 0.9857 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.782e-05/0.2335, allocations: 7.938 kB / 0.9857 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.136e-05/0.2336, allocations: 7.984 kB / 0.9857 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.958e-06/0.2336, allocations: 0 / 0.9857 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.812e-05/0.2337, allocations: 99.2 kB / 0.9858 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2337, allocations: 4 kB / 0.9858 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000277/0.2339, allocations: 32 kB / 0.9858 GB, free: 21.09 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.0006549/0.2346, allocations: 0.8201 MB / 0.9866 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002118/0.2348, allocations: 71.89 kB / 0.9867 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2348, allocations: 0 / 0.9867 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.817e-05/0.2349, allocations: 39.98 kB / 0.9867 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.2352, allocations: 9.719 kB / 0.9867 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008663/0.2361, allocations: 0.6083 MB / 0.9873 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.2362, allocations: 0.6887 MB / 0.988 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.489e-05/0.2362, allocations: 4 kB / 0.988 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.162e-05/0.2363, allocations: 27.42 kB / 0.988 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of SimCode: time 3.2e-07/0.2363, allocations: 0 / 0.988 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01317/0.2495, allocations: 2.324 MB / 0.9903 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001443/0.2497, allocations: 250.3 kB / 0.9906 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.67/1.919, allocations: 4 kB / 0.9906 GB, free: 16.24 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1)