Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Yun2008WindowsTOut,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",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.615/2.615, allocations: 287.5 MB / 302.4 MB, free: 8.238 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.001384/0.001384, allocations: 178.2 kB / 371 MB, free: 10.88 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.313/2.313, allocations: 205.4 MB / 0.6297 GB, free: 10.54 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.001057/0.001057, allocations: 91.53 kB / 0.743 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006567/0.0006572, allocations: 16.02 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2196, allocations: 115.3 MB / 0.9784 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.00254/0.2222, allocations: 1.215 MB / 0.9796 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002348/0.2246, allocations: 0.7502 MB / 0.9804 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.807e-05/0.2247, allocations: 0 / 0.9804 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.337e-05/0.2247, allocations: 7.922 kB / 0.9804 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.915e-05/0.2249, allocations: 3.938 kB / 0.9804 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008818/0.2258, allocations: 107.7 kB / 0.9805 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.226, allocations: 91.7 kB / 0.9806 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.2261, allocations: 12.27 kB / 0.9806 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.2263, allocations: 43.89 kB / 0.9806 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.2265, allocations: 47.77 kB / 0.9807 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.715e-05/0.2265, allocations: 4 kB / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003272/0.2269, allocations: 83.91 kB / 0.9808 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.24e-05/0.2269, allocations: 23.89 kB / 0.9808 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.612e-05/0.227, allocations: 41.64 kB / 0.9808 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002907/0.2273, allocations: 115.7 kB / 0.9809 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.2274, allocations: 0 / 0.9809 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.705e-06/0.2274, allocations: 8 kB / 0.9809 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.2274, allocations: 0 / 0.9809 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009024/0.2284, allocations: 438.4 kB / 0.9814 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.769e-05/0.2284, allocations: 12.02 kB / 0.9814 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.964e-05/0.2285, allocations: 42.55 kB / 0.9814 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.293e-05/0.2286, allocations: 11.86 kB / 0.9814 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.2287, allocations: 167.9 kB / 0.9816 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.095e-05/0.2288, allocations: 12 kB / 0.9816 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.367e-05/0.2289, allocations: 4 kB / 0.9816 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004554/0.2293, allocations: 85.56 kB / 0.9817 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.2294, allocations: 0 / 0.9817 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.757e-05/0.2294, allocations: 4 kB / 0.9817 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.2294, allocations: 0 / 0.9817 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005203/0.23, allocations: 55.95 kB / 0.9817 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001226/0.2312, allocations: 344.6 kB / 0.9821 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002566/0.2315, allocations: 70.53 kB / 0.9821 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.2317, allocations: 44.83 kB / 0.9822 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.2318, allocations: 4 kB / 0.9822 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003199/0.2321, allocations: 91.36 kB / 0.9823 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 3.958e-06/0.2321, allocations: 0 / 0.9823 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0007963/0.2329, allocations: 193.5 kB / 0.9824 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.233, allocations: 63.39 kB / 0.9825 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.2331, allocations: 127 kB / 0.9826 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.2331, allocations: 29.7 kB / 0.9827 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.181e-05/0.2332, allocations: 92.28 kB / 0.9827 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.2332, allocations: 19.8 kB / 0.9828 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.122e-05/0.2333, allocations: 4 kB / 0.9828 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.053e-05/0.2333, allocations: 322.8 kB / 0.9831 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.2335, allocations: 23.98 kB / 0.9831 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.2337, allocations: 81.2 kB / 0.9832 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.2338, allocations: 47.92 kB / 0.9832 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.2339, allocations: 0 / 0.9832 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004073/0.2343, allocations: 137.5 kB / 0.9833 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.2343, allocations: 4 kB / 0.9834 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.2343, allocations: 0 / 0.9834 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.2344, allocations: 7.984 kB / 0.9834 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.2345, allocations: 23.83 kB / 0.9834 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.2346, allocations: 4.078 kB / 0.9834 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.2347, allocations: 19.84 kB / 0.9834 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.965e-05/0.2347, allocations: 4.312 kB / 0.9834 GB, free: 22.9 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.0001027/0.2348, allocations: 117.8 kB / 0.9835 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.2349, allocations: 7.938 kB / 0.9835 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.366e-05/0.2349, allocations: 16.36 kB / 0.9835 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.2349, allocations: 0 / 0.9835 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.2349, allocations: 3.953 kB / 0.9835 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.235, allocations: 4 kB / 0.9836 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008113/0.2358, allocations: 430.4 kB / 0.984 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.2358, allocations: 0 / 0.984 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.454e-05/0.2359, allocations: 7.984 kB / 0.984 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.2359, allocations: 0 / 0.984 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.2359, allocations: 11.95 kB / 0.984 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.2359, allocations: 3.938 kB / 0.984 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2359, allocations: 0 / 0.984 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005409/0.2365, allocations: 243.4 kB / 0.9842 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.199e-05/0.2365, allocations: 92.95 kB / 0.9843 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.46e-05/0.2366, allocations: 3.984 kB / 0.9843 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.2368, allocations: 11.95 kB / 0.9843 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.335e-05/0.2368, allocations: 7.984 kB / 0.9843 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.2369, allocations: 4 kB / 0.9843 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.673e-05/0.2369, allocations: 92.14 kB / 0.9844 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.41e-07/0.2369, allocations: 0 / 0.9844 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004138/0.2374, allocations: 43.98 kB / 0.9845 GB, free: 21.72 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.00111/0.2385, allocations: 0.845 MB / 0.9853 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004502/0.239, allocations: 95.88 kB / 0.9854 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.239, allocations: 3.938 kB / 0.9854 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002167/0.2392, allocations: 52.16 kB / 0.9854 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.2396, allocations: 18.17 kB / 0.9855 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.2411, allocations: 0.6566 MB / 0.9861 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001364/0.2413, allocations: 0.6926 MB / 0.9868 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.655e-05/0.2414, allocations: 7.984 kB / 0.9868 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.36e-05/0.2415, allocations: 23.42 kB / 0.9868 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of SimCode: time 1.112e-06/0.2415, allocations: 0 / 0.9868 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0223/0.2638, allocations: 2.654 MB / 0.9894 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001972/0.264, allocations: 243.7 kB / 0.9896 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.883/3.147, allocations: 4 kB / 0.9896 GB, free: 16.5 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1)