Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.587/1.587, allocations: 288.2 MB / 303.2 MB, free: 8.129 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.001197/0.001197, allocations: 185.5 kB / 371.8 MB, free: 10.29 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.261/2.261, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.0009876/0.0009877, allocations: 93.56 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004172/0.0004173, allocations: 11.59 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.273, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.001578/0.2746, allocations: 1.203 MB / 0.9806 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.2757, allocations: 0.7617 MB / 0.9814 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.643e-05/0.2757, allocations: 0 / 0.9814 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.052e-05/0.2758, allocations: 3.938 kB / 0.9814 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.556e-05/0.2759, allocations: 15.97 kB / 0.9814 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004923/0.2764, allocations: 107.7 kB / 0.9815 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.2765, allocations: 55.92 kB / 0.9816 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.2766, allocations: 8.266 kB / 0.9816 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.59e-05/0.2767, allocations: 43.84 kB / 0.9816 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.429e-05/0.2768, allocations: 47.81 kB / 0.9817 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.2768, allocations: 4 kB / 0.9817 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001485/0.277, allocations: 75.86 kB / 0.9817 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.223e-05/0.277, allocations: 15.97 kB / 0.9818 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.97e-05/0.277, allocations: 45.64 kB / 0.9818 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001699/0.2772, allocations: 115.7 kB / 0.9819 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2772, allocations: 0 / 0.9819 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2772, allocations: 0 / 0.9819 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.2772, allocations: 0 / 0.9819 GB, free: 25.09 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.0006597/0.2779, allocations: 446.4 kB / 0.9823 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.278, allocations: 12.02 kB / 0.9823 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.444e-05/0.278, allocations: 38.56 kB / 0.9824 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.536e-05/0.278, allocations: 7.906 kB / 0.9824 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.2782, allocations: 185 kB / 0.9826 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.762e-05/0.2782, allocations: 4 kB / 0.9826 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.2782, allocations: 8 kB / 0.9826 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002316/0.2785, allocations: 89.56 kB / 0.9827 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.2785, allocations: 3.938 kB / 0.9827 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.2785, allocations: 0 / 0.9827 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.2785, allocations: 8 kB / 0.9827 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.2787, allocations: 51.97 kB / 0.9827 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006614/0.2793, allocations: 352.6 kB / 0.9831 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.2795, allocations: 58.55 kB / 0.9831 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.2795, allocations: 4 kB / 0.9831 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002219/0.2798, allocations: 103.3 kB / 0.9832 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/0.2798, allocations: 0 / 0.9832 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0004927/0.2803, allocations: 193.7 kB / 0.9834 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.2803, allocations: 67.36 kB / 0.9835 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.779e-05/0.2804, allocations: 125.7 kB / 0.9836 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.2804, allocations: 29.7 kB / 0.9836 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.158e-05/0.2805, allocations: 88.14 kB / 0.9837 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.2805, allocations: 19.8 kB / 0.9837 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.304e-06/0.2805, allocations: 4 kB / 0.9837 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.352e-05/0.2806, allocations: 318.8 kB / 0.984 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.673e-05/0.2806, allocations: 31.97 kB / 0.9841 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.38e-05/0.2807, allocations: 65.28 kB / 0.9841 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.779e-05/0.2808, allocations: 43.92 kB / 0.9842 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.2808, allocations: 4 kB / 0.9842 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002132/0.2811, allocations: 133.5 kB / 0.9843 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.2811, allocations: 4 kB / 0.9843 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.2811, allocations: 0 / 0.9843 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.2811, allocations: 4 kB / 0.9843 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.2812, allocations: 28.08 kB / 0.9843 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.2812, allocations: 3.938 kB / 0.9843 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.943e-05/0.2813, allocations: 19.8 kB / 0.9843 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.2813, allocations: 4 kB / 0.9844 GB, free: 22.33 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 7.872e-05/0.2814, allocations: 121.8 kB / 0.9845 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.454e-05/0.2814, allocations: 7.938 kB / 0.9845 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.518e-05/0.2815, allocations: 8.375 kB / 0.9845 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.2815, allocations: 8 kB / 0.9845 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.2815, allocations: 0 / 0.9845 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.2815, allocations: 0 / 0.9845 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005018/0.282, allocations: 434.3 kB / 0.9849 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.282, allocations: 4.047 kB / 0.9849 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.653e-05/0.2821, allocations: 11.98 kB / 0.9849 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.2821, allocations: 0 / 0.9849 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.2821, allocations: 3.984 kB / 0.9849 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.2821, allocations: 3.938 kB / 0.9849 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.2821, allocations: 7.891 kB / 0.9849 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003149/0.2824, allocations: 251.4 kB / 0.9852 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.068e-05/0.2825, allocations: 84.95 kB / 0.9853 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.554e-05/0.2825, allocations: 7.984 kB / 0.9853 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.2826, allocations: 8 kB / 0.9853 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.752e-05/0.2827, allocations: 11.94 kB / 0.9853 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.2827, allocations: 0 / 0.9853 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.515e-05/0.2827, allocations: 97.64 kB / 0.9854 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2827, allocations: 0 / 0.9854 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002805/0.283, allocations: 47.98 kB / 0.9854 GB, free: 21.14 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.0007041/0.2837, allocations: 0.8427 MB / 0.9862 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000257/0.284, allocations: 95.88 kB / 0.9863 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.284, allocations: 4.188 kB / 0.9863 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.2841, allocations: 51.91 kB / 0.9864 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001773/0.2843, allocations: 8 kB / 0.9864 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006673/0.285, allocations: 1.058 MB / 0.9874 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.2851, allocations: 0.6926 MB / 0.9881 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.024e-05/0.2852, allocations: 7.984 kB / 0.9881 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.153e-05/0.2852, allocations: 27.42 kB / 0.9881 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.2852, allocations: 0 / 0.9881 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01236/0.2976, allocations: 2.665 MB / 0.9907 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001457/0.2978, allocations: 246.4 kB / 0.991 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.458/1.756, allocations: 0 / 0.991 GB, free: 15.48 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1)