Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",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 2.575/2.575, allocations: 287.5 MB / 302.4 MB, free: 8.352 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.001345/0.001344, allocations: 188.3 kB / 371 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 2.305/2.305, allocations: 205.4 MB / 0.6297 GB, free: 10.57 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.0009559/0.0009557, allocations: 92.33 kB / 0.743 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007534/0.0007536, allocations: 11.97 kB / 0.8659 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2233, allocations: 115.3 MB / 0.9784 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.001749/0.2251, allocations: 1.218 MB / 0.9796 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002476/0.2276, allocations: 0.7462 MB / 0.9804 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.1e-05/0.2277, allocations: 0 / 0.9804 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.636e-05/0.2278, allocations: 7.922 kB / 0.9804 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.168e-05/0.2278, allocations: 15.92 kB / 0.9804 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000648/0.2285, allocations: 103.8 kB / 0.9805 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.2287, allocations: 87.75 kB / 0.9806 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.978e-05/0.2288, allocations: 16.2 kB / 0.9806 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.2289, allocations: 35.91 kB / 0.9806 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.229, allocations: 55.8 kB / 0.9807 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.724e-05/0.229, allocations: 4 kB / 0.9807 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002462/0.2293, allocations: 83.92 kB / 0.9808 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.192e-05/0.2293, allocations: 19.91 kB / 0.9808 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.233e-05/0.2294, allocations: 33.7 kB / 0.9808 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.2296, allocations: 119.7 kB / 0.9809 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2296, allocations: 0 / 0.9809 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.675e-06/0.2296, allocations: 0 / 0.9809 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.2297, allocations: 3.938 kB / 0.9809 GB, free: 25.71 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006888/0.2304, allocations: 450.4 kB / 0.9814 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.2304, allocations: 16.02 kB / 0.9814 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.428e-05/0.2305, allocations: 30.56 kB / 0.9814 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.476e-05/0.2305, allocations: 11.86 kB / 0.9814 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.374e-05/0.2306, allocations: 178.9 kB / 0.9816 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.077e-05/0.2307, allocations: 8 kB / 0.9816 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.055e-05/0.2307, allocations: 4 kB / 0.9816 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003441/0.2311, allocations: 97.56 kB / 0.9817 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.2311, allocations: 3.938 kB / 0.9817 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.2312, allocations: 0 / 0.9817 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.2312, allocations: 4 kB / 0.9817 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002931/0.2315, allocations: 51.95 kB / 0.9817 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.2325, allocations: 348.7 kB / 0.9821 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002606/0.2328, allocations: 58.59 kB / 0.9821 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002146/0.233, allocations: 56.83 kB / 0.9822 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.2331, allocations: 0 / 0.9822 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003378/0.2334, allocations: 99.33 kB / 0.9823 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 2.525e-06/0.2334, allocations: 0 / 0.9823 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0008742/0.2343, allocations: 209.5 kB / 0.9825 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.2344, allocations: 51.41 kB / 0.9825 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.2345, allocations: 134.7 kB / 0.9827 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.2345, allocations: 25.7 kB / 0.9827 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.562e-05/0.2346, allocations: 96.14 kB / 0.9828 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.2346, allocations: 15.81 kB / 0.9828 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.217e-06/0.2346, allocations: 0 / 0.9828 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.356e-05/0.2347, allocations: 318.8 kB / 0.9831 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.2349, allocations: 31.98 kB / 0.9831 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002438/0.2351, allocations: 77.02 kB / 0.9832 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002186/0.2354, allocations: 31.98 kB / 0.9832 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.2354, allocations: 0 / 0.9832 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000419/0.2358, allocations: 145.4 kB / 0.9834 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.2359, allocations: 8 kB / 0.9834 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.2359, allocations: 0 / 0.9834 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/0.2359, allocations: 4 kB / 0.9834 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/0.2361, allocations: 23.88 kB / 0.9834 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.2361, allocations: 7.938 kB / 0.9834 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.2363, allocations: 11.84 kB / 0.9834 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.2363, allocations: 8.094 kB / 0.9834 GB, free: 22.89 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 0.0001119/0.2364, allocations: 123.9 kB / 0.9835 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.2365, allocations: 7.984 kB / 0.9836 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.2e-05/0.2365, allocations: 4.375 kB / 0.9836 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.2365, allocations: 4 kB / 0.9836 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.2365, allocations: 3.953 kB / 0.9836 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.2365, allocations: 0 / 0.9836 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008153/0.2374, allocations: 438.3 kB / 0.984 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.2374, allocations: 0 / 0.984 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.674e-05/0.2375, allocations: 8 kB / 0.984 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.2375, allocations: 4 kB / 0.984 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.2375, allocations: 7.938 kB / 0.984 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.2375, allocations: 3.938 kB / 0.984 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2375, allocations: 4 kB / 0.984 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006001/0.2381, allocations: 251.3 kB / 0.9842 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.342e-05/0.2382, allocations: 88.98 kB / 0.9843 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.579e-05/0.2382, allocations: 4 kB / 0.9843 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.2384, allocations: 15.94 kB / 0.9843 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.837e-05/0.2385, allocations: 11.98 kB / 0.9844 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.2385, allocations: 0 / 0.9844 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.074e-05/0.2386, allocations: 96.89 kB / 0.9845 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2386, allocations: 0 / 0.9845 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004121/0.239, allocations: 43.98 kB / 0.9845 GB, free: 21.7 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00165/0.2407, allocations: 0.8441 MB / 0.9853 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000704/0.2414, allocations: 95.88 kB / 0.9854 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.2415, allocations: 0 / 0.9854 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000378/0.2419, allocations: 59.89 kB / 0.9855 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005798/0.2425, allocations: 16.14 kB / 0.9855 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002372/0.2449, allocations: 0.6587 MB / 0.9861 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000194/0.2451, allocations: 0.6952 MB / 0.9868 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001024/0.2453, allocations: 7.984 kB / 0.9868 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.921e-05/0.2454, allocations: 23.38 kB / 0.9868 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of SimCode: time 2.144e-06/0.2454, allocations: 0 / 0.9868 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02577/0.2712, allocations: 2.663 MB / 0.9894 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002067/0.2714, allocations: 257.2 kB / 0.9897 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.675/2.947, allocations: 0 / 0.9897 GB, free: 16.46 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1)