Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.455/1.455, allocations: 252 MB / 267 MB, free: 10.99 MB / 218.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: 188.4 kB / 326.6 MB, free: 2.199 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.92/1.92, allocations: 205.4 MB / 0.5777 GB, free: 20.19 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007847/0.0007845, allocations: 88.22 kB / 0.6823 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003558/0.0003561, allocations: 8.188 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.1982, allocations: 106.3 MB / 0.9003 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.001869/0.2001, allocations: 1.207 MB / 0.9015 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.2013, allocations: 0.7295 MB / 0.9022 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.267e-05/0.2014, allocations: 0 / 0.9022 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.147e-05/0.2014, allocations: 3.938 kB / 0.9022 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.779e-05/0.2015, allocations: 3.938 kB / 0.9022 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004851/0.202, allocations: 95.77 kB / 0.9023 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.389e-05/0.2021, allocations: 71.7 kB / 0.9024 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.215e-05/0.2022, allocations: 4 kB / 0.9024 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.928e-05/0.2023, allocations: 39.91 kB / 0.9024 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.969e-05/0.2024, allocations: 35.83 kB / 0.9024 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.2024, allocations: 0 / 0.9024 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001623/0.2026, allocations: 87.91 kB / 0.9025 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.952e-05/0.2026, allocations: 15.91 kB / 0.9025 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.115e-05/0.2026, allocations: 37.7 kB / 0.9026 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001536/0.2028, allocations: 91.83 kB / 0.9027 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2028, allocations: 0 / 0.9027 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2028, allocations: 0 / 0.9027 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.2028, allocations: 0 / 0.9027 GB, free: 61.35 MB / 0.6042 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.0005663/0.2034, allocations: 405.2 kB / 0.9031 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.2035, allocations: 15.97 kB / 0.9031 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.573e-05/0.2035, allocations: 34.56 kB / 0.9031 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.387e-05/0.2035, allocations: 11.86 kB / 0.9031 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.2037, allocations: 174.9 kB / 0.9033 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.719e-05/0.2037, allocations: 8 kB / 0.9033 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.2037, allocations: 11.98 kB / 0.9033 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.2039, allocations: 73.59 kB / 0.9034 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.2039, allocations: 0 / 0.9034 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.204, allocations: 3.938 kB / 0.9034 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.204, allocations: 0 / 0.9034 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.2041, allocations: 47.91 kB / 0.9034 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005096/0.2046, allocations: 316.8 kB / 0.9037 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.2047, allocations: 46.56 kB / 0.9038 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.631e-05/0.2048, allocations: 40.97 kB / 0.9038 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.2049, allocations: 0 / 0.9038 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.205, allocations: 83.31 kB / 0.9039 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.205, allocations: 0 / 0.9039 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003496/0.2054, allocations: 161.5 kB / 0.904 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.2054, allocations: 51.41 kB / 0.9041 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.102e-05/0.2055, allocations: 117.8 kB / 0.9042 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.2055, allocations: 25.7 kB / 0.9042 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.318e-05/0.2056, allocations: 100.2 kB / 0.9043 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.294e-05/0.2056, allocations: 7.844 kB / 0.9043 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.663e-06/0.2056, allocations: 8 kB / 0.9043 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.204e-05/0.2056, allocations: 318.8 kB / 0.9046 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.342e-05/0.2057, allocations: 27.98 kB / 0.9047 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.712e-05/0.2058, allocations: 50.5 kB / 0.9047 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.081e-05/0.2059, allocations: 35.98 kB / 0.9047 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2059, allocations: 0 / 0.9047 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001951/0.2061, allocations: 125.5 kB / 0.9049 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.2061, allocations: 6.812 kB / 0.9049 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.2061, allocations: 0 / 0.9049 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.2061, allocations: 8.016 kB / 0.9049 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.922e-05/0.2062, allocations: 19.92 kB / 0.9049 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.2062, allocations: 0 / 0.9049 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.414e-05/0.2063, allocations: 11.91 kB / 0.9049 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.2063, allocations: 7.984 kB / 0.9049 GB, free: 58.8 MB / 0.6042 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.599e-05/0.2064, allocations: 117.8 kB / 0.905 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.198e-05/0.2065, allocations: 4 kB / 0.905 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.403e-05/0.2065, allocations: 16.38 kB / 0.9051 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.2065, allocations: 0 / 0.9051 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2065, allocations: 3.953 kB / 0.9051 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2065, allocations: 0 / 0.9051 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003272/0.2068, allocations: 382.8 kB / 0.9054 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.2068, allocations: 4 kB / 0.9054 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.898e-05/0.2069, allocations: 11.98 kB / 0.9054 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.2069, allocations: 0 / 0.9054 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.2069, allocations: 7.953 kB / 0.9054 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.2069, allocations: 0 / 0.9054 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.2069, allocations: 0 / 0.9054 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/0.2071, allocations: 219.4 kB / 0.9057 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.939e-05/0.2072, allocations: 89.05 kB / 0.9057 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.2072, allocations: 3.984 kB / 0.9057 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.651e-05/0.2073, allocations: 11.95 kB / 0.9058 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.2073, allocations: 7.984 kB / 0.9058 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.2074, allocations: 4 kB / 0.9058 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.138e-05/0.2074, allocations: 91.27 kB / 0.9058 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.32e-07/0.2074, allocations: 4 kB / 0.9059 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000265/0.2077, allocations: 43.92 kB / 0.9059 GB, free: 57.7 MB / 0.6042 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.0005514/0.2082, allocations: 0.801 MB / 0.9067 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001968/0.2084, allocations: 79.88 kB / 0.9068 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.2084, allocations: 0 / 0.9068 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.229e-05/0.2085, allocations: 35.98 kB / 0.9068 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.2088, allocations: 20.06 kB / 0.9068 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007997/0.2096, allocations: 0.5978 MB / 0.9074 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.549e-05/0.2097, allocations: 0.6848 MB / 0.9081 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.675e-05/0.2097, allocations: 12.17 kB / 0.9081 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.495e-05/0.2098, allocations: 23.38 kB / 0.9081 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.2098, allocations: 0 / 0.9081 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01273/0.2225, allocations: 2.338 MB / 0.9104 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000194/0.2228, allocations: 247.1 kB / 0.9106 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.634/1.857, allocations: 9.812 kB / 0.9106 GB, free: 52.87 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1)