Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",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.581/1.581, allocations: 288.4 MB / 303.6 MB, free: 8.852 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.0009476/0.0009476, allocations: 172.6 kB / 372.3 MB, free: 6.441 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.367/1.367, allocations: 205.4 MB / 0.631 GB, free: 13.45 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007645/0.0007646, allocations: 91.59 kB / 0.7444 GB, free: 64.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004207/0.0004208, allocations: 12 kB / 0.8676 GB, free: 500 kB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2618, allocations: 115.3 MB / 0.9802 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.001941/0.2638, allocations: 1.211 MB / 0.9814 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001345/0.2652, allocations: 0.7104 MB / 0.9821 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.922e-05/0.2652, allocations: 0 / 0.9821 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.432e-05/0.2653, allocations: 0 / 0.9821 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.549e-05/0.2654, allocations: 15.86 kB / 0.9821 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005648/0.2659, allocations: 95.77 kB / 0.9822 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.266, allocations: 59.84 kB / 0.9822 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.2662, allocations: 15.98 kB / 0.9822 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.508e-05/0.2663, allocations: 39.78 kB / 0.9823 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.916e-05/0.2663, allocations: 27.91 kB / 0.9823 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.2664, allocations: 4 kB / 0.9823 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001897/0.2666, allocations: 87.84 kB / 0.9824 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.196e-05/0.2666, allocations: 15.97 kB / 0.9824 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.981e-05/0.2667, allocations: 53.56 kB / 0.9825 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.2668, allocations: 100 kB / 0.9826 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2668, allocations: 0 / 0.9826 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.766e-06/0.2669, allocations: 4 kB / 0.9826 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.002e-06/0.2669, allocations: 3.938 kB / 0.9826 GB, free: 10.53 MB / 0.7136 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.0005986/0.2675, allocations: 405 kB / 0.983 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.2675, allocations: 8.031 kB / 0.983 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.451e-05/0.2676, allocations: 38.69 kB / 0.983 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.646e-05/0.2676, allocations: 12.83 kB / 0.983 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.2678, allocations: 172.2 kB / 0.9832 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.547e-05/0.2678, allocations: 4.375 kB / 0.9832 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.2678, allocations: 8.375 kB / 0.9832 GB, free: 9.793 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.268, allocations: 73.78 kB / 0.9833 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.2681, allocations: 0 / 0.9833 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.2681, allocations: 3.938 kB / 0.9833 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.2681, allocations: 0 / 0.9833 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.2682, allocations: 43.97 kB / 0.9833 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006387/0.2689, allocations: 324.7 kB / 0.9836 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.269, allocations: 50.55 kB / 0.9837 GB, free: 9.242 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.849e-05/0.2691, allocations: 40.97 kB / 0.9837 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.2692, allocations: 0 / 0.9837 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002042/0.2694, allocations: 87.31 kB / 0.9838 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.2694, allocations: 0 / 0.9838 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0004114/0.2698, allocations: 149.5 kB / 0.9839 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.2698, allocations: 51.41 kB / 0.984 GB, free: 8.887 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.568e-05/0.2699, allocations: 121.8 kB / 0.9841 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.27, allocations: 25.7 kB / 0.9841 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.437e-05/0.27, allocations: 99.98 kB / 0.9842 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.226e-05/0.2701, allocations: 19.86 kB / 0.9842 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.816e-06/0.2701, allocations: 8 kB / 0.9842 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.2702, allocations: 314.8 kB / 0.9845 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.407e-05/0.2703, allocations: 31.98 kB / 0.9846 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.496e-05/0.2704, allocations: 54.48 kB / 0.9846 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.2706, allocations: 78.55 kB / 0.9847 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2706, allocations: 0 / 0.9847 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002402/0.2708, allocations: 113.6 kB / 0.9848 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.2708, allocations: 7.984 kB / 0.9848 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.2709, allocations: 0 / 0.9848 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.2709, allocations: 4 kB / 0.9848 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.812e-05/0.271, allocations: 11.94 kB / 0.9848 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.463e-06/0.271, allocations: 3.938 kB / 0.9848 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.407e-05/0.2711, allocations: 15.89 kB / 0.9848 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.2711, allocations: 8 kB / 0.9849 GB, free: 7.934 MB / 0.7136 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 0.0001072/0.2712, allocations: 125.8 kB / 0.985 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.535e-05/0.2712, allocations: 7.906 kB / 0.985 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.746e-05/0.2713, allocations: 12.36 kB / 0.985 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.2713, allocations: 3.938 kB / 0.985 GB, free: 7.777 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.2713, allocations: 0 / 0.985 GB, free: 7.777 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.2713, allocations: 0 / 0.985 GB, free: 7.777 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000449/0.2717, allocations: 398.7 kB / 0.9854 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.2718, allocations: 0 / 0.9854 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.027e-05/0.2718, allocations: 4 kB / 0.9854 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.2718, allocations: 0 / 0.9854 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.2718, allocations: 3.984 kB / 0.9854 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.2718, allocations: 7.938 kB / 0.9854 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2719, allocations: 0 / 0.9854 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003082/0.2722, allocations: 223.3 kB / 0.9856 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.423e-05/0.2722, allocations: 81.02 kB / 0.9857 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.2722, allocations: 3.984 kB / 0.9857 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.2724, allocations: 7.938 kB / 0.9857 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-05/0.2724, allocations: 11.98 kB / 0.9857 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.2724, allocations: 4 kB / 0.9857 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.02e-05/0.2725, allocations: 95.27 kB / 0.9858 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2725, allocations: 0 / 0.9858 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002937/0.2728, allocations: 36 kB / 0.9858 GB, free: 6.828 MB / 0.7136 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.0008538/0.2736, allocations: 0.8159 MB / 0.9866 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000231/0.2739, allocations: 71.97 kB / 0.9867 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.2739, allocations: 4.125 kB / 0.9867 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.8e-05/0.274, allocations: 43.91 kB / 0.9867 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.2743, allocations: 3.938 kB / 0.9867 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.2753, allocations: 0.6088 MB / 0.9873 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/0.2756, allocations: 0.6926 MB / 0.988 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.719e-05/0.2757, allocations: 4 kB / 0.988 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.092e-05/0.2757, allocations: 23.42 kB / 0.988 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.2758, allocations: 0 / 0.988 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1561/0.4319, allocations: 2.326 MB / 0.9903 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002298/0.4321, allocations: 248.5 kB / 0.9906 GB, free: 1.93 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.897/2.329, allocations: 0 / 0.9906 GB, free: 1.93 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1)