Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",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.366/1.366, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.00109/0.00109, allocations: 176.4 kB / 325.8 MB, free: 2.688 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.969/1.969, allocations: 205 MB / 0.576 GB, free: 21.03 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.001077/0.001078, allocations: 83.7 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003521/0.0003522, allocations: 11.48 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2245, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.001793/0.2264, allocations: 1.235 MB / 0.8974 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.2275, allocations: 0.7766 MB / 0.8982 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.695e-05/0.2276, allocations: 0 / 0.8982 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.523e-05/0.2276, allocations: 3.984 kB / 0.8982 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.645e-05/0.2277, allocations: 19.86 kB / 0.8982 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004693/0.2282, allocations: 99.83 kB / 0.8983 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.996e-05/0.2283, allocations: 71.72 kB / 0.8984 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.445e-05/0.2284, allocations: 11.98 kB / 0.8984 GB, free: 65.83 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.899e-05/0.2285, allocations: 31.91 kB / 0.8984 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.102e-05/0.2285, allocations: 35.84 kB / 0.8984 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.2286, allocations: 4 kB / 0.8984 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001628/0.2287, allocations: 91.84 kB / 0.8985 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.166e-05/0.2288, allocations: 7.984 kB / 0.8985 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.092e-05/0.2288, allocations: 35.78 kB / 0.8986 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001844/0.229, allocations: 135.7 kB / 0.8987 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.229, allocations: 4 kB / 0.8987 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.864e-06/0.229, allocations: 0 / 0.8987 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.229, allocations: 0 / 0.8987 GB, free: 65.49 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.0005344/0.2296, allocations: 405.1 kB / 0.8991 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.2296, allocations: 8.031 kB / 0.8991 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.423e-05/0.2297, allocations: 30.75 kB / 0.8991 GB, free: 64.99 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.201e-05/0.2297, allocations: 8.844 kB / 0.8991 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.14e-05/0.2298, allocations: 184.2 kB / 0.8993 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.2298, allocations: 4.375 kB / 0.8993 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.2298, allocations: 4.375 kB / 0.8993 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.23, allocations: 73.78 kB / 0.8994 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.23, allocations: 4 kB / 0.8994 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.23, allocations: 3.938 kB / 0.8994 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.2301, allocations: 4 kB / 0.8994 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.2302, allocations: 39.97 kB / 0.8994 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005386/0.2307, allocations: 332.5 kB / 0.8998 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.2308, allocations: 54.55 kB / 0.8998 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.61e-05/0.2309, allocations: 32.97 kB / 0.8998 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.231, allocations: 4 kB / 0.8998 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001796/0.2311, allocations: 83.36 kB / 0.8999 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.2312, allocations: 4 kB / 0.8999 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003535/0.2315, allocations: 141.6 kB / 0.9001 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.2316, allocations: 55.41 kB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.08e-05/0.2316, allocations: 129.7 kB / 0.9002 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.2317, allocations: 29.7 kB / 0.9003 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.396e-05/0.2317, allocations: 92.2 kB / 0.9003 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.2317, allocations: 11.81 kB / 0.9004 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.901e-05/0.2318, allocations: 21.7 kB / 0.9004 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.718e-05/0.2319, allocations: 326.8 kB / 0.9007 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.974e-05/0.2319, allocations: 27.98 kB / 0.9007 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.591e-05/0.232, allocations: 46.56 kB / 0.9008 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.2322, allocations: 82.48 kB / 0.9008 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2322, allocations: 4 kB / 0.9008 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001921/0.2324, allocations: 121.5 kB / 0.901 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.2324, allocations: 4 kB / 0.901 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.2324, allocations: 0 / 0.901 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.2324, allocations: 8.062 kB / 0.901 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.128e-05/0.2325, allocations: 11.98 kB / 0.901 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.2325, allocations: 3.938 kB / 0.901 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.092e-05/0.2326, allocations: 15.94 kB / 0.901 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.2326, allocations: 0 / 0.901 GB, free: 62.87 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,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.851e-05/0.2327, allocations: 127.9 kB / 0.9011 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.396e-05/0.2327, allocations: 7.906 kB / 0.9011 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.666e-05/0.2328, allocations: 12.38 kB / 0.9011 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2328, allocations: 0 / 0.9011 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.2328, allocations: 0 / 0.9011 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.2328, allocations: 0 / 0.9011 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003401/0.2331, allocations: 386.4 kB / 0.9015 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2331, allocations: 0 / 0.9015 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.494e-05/0.2332, allocations: 8 kB / 0.9015 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-06/0.2332, allocations: 7.984 kB / 0.9015 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.2332, allocations: 11.94 kB / 0.9015 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.2332, allocations: 3.938 kB / 0.9015 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2332, allocations: 0 / 0.9015 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000228/0.2335, allocations: 215.4 kB / 0.9017 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.897e-05/0.2335, allocations: 85 kB / 0.9018 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.2335, allocations: 3.938 kB / 0.9018 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.111e-05/0.2336, allocations: 15.94 kB / 0.9018 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/0.2337, allocations: 3.984 kB / 0.9019 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.2337, allocations: 4 kB / 0.9019 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.159e-05/0.2337, allocations: 91.27 kB / 0.9019 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2337, allocations: 0 / 0.9019 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002942/0.234, allocations: 36 kB / 0.902 GB, free: 61.77 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 (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.0005905/0.2346, allocations: 0.817 MB / 0.9028 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002013/0.2348, allocations: 75.89 kB / 0.9028 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2348, allocations: 0 / 0.9028 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.376e-05/0.2349, allocations: 39.92 kB / 0.9029 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.2352, allocations: 16.06 kB / 0.9029 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.2365, allocations: 1.507 MB / 0.9044 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001489/0.2366, allocations: 0.6926 MB / 0.905 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.765e-05/0.2367, allocations: 15.92 kB / 0.9051 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.123e-05/0.2367, allocations: 19.42 kB / 0.9051 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of SimCode: time 3.1e-07/0.2367, allocations: 0 / 0.9051 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01106/0.2478, allocations: 2.342 MB / 0.9074 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001481/0.248, allocations: 281.4 kB / 0.9076 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.644/1.892, allocations: 1.875 kB / 0.9076 GB, free: 55.93 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1)