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.584/1.584, allocations: 252 MB / 267 MB, free: 10.97 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.0009847/0.0009844, allocations: 192.1 kB / 326.6 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.025/2.025, allocations: 205.4 MB / 0.5776 GB, free: 20.26 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.0007762/0.0007765, allocations: 93.98 kB / 0.6823 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003858/0.000386, allocations: 8.781 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2706, allocations: 106.3 MB / 0.9003 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.001932/0.2726, allocations: 1.203 MB / 0.9015 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001131/0.2737, allocations: 0.7295 MB / 0.9022 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.565e-05/0.2738, allocations: 4 kB / 0.9022 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.093e-05/0.2738, allocations: 7.922 kB / 0.9022 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.012e-05/0.2739, allocations: 3.938 kB / 0.9022 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004756/0.2744, allocations: 91.77 kB / 0.9023 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.2745, allocations: 83.69 kB / 0.9024 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.2746, allocations: 4 kB / 0.9024 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.858e-05/0.2747, allocations: 27.92 kB / 0.9024 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.594e-05/0.2748, allocations: 39.81 kB / 0.9024 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.2748, allocations: 4 kB / 0.9024 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001701/0.275, allocations: 79.92 kB / 0.9025 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.35e-05/0.275, allocations: 15.92 kB / 0.9025 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.455e-05/0.2751, allocations: 37.7 kB / 0.9026 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001699/0.2753, allocations: 99.81 kB / 0.9027 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.2753, allocations: 0 / 0.9027 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.836e-06/0.2753, allocations: 0 / 0.9027 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.2753, allocations: 0 / 0.9027 GB, free: 61.39 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.0005868/0.2759, allocations: 401.2 kB / 0.9031 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 7.474e-05/0.276, allocations: 8.031 kB / 0.9031 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.89e-05/0.276, allocations: 46.48 kB / 0.9031 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.118e-05/0.2761, allocations: 15.86 kB / 0.9031 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.77e-05/0.2762, allocations: 170.9 kB / 0.9033 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.2762, allocations: 0 / 0.9033 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.2762, allocations: 8 kB / 0.9033 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.2764, allocations: 69.59 kB / 0.9034 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.2764, allocations: 4 kB / 0.9034 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.2764, allocations: 3.984 kB / 0.9034 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.2764, allocations: 0 / 0.9034 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.2766, allocations: 43.92 kB / 0.9034 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005466/0.2771, allocations: 324.8 kB / 0.9037 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.2773, allocations: 50.56 kB / 0.9038 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.213e-05/0.2773, allocations: 32.97 kB / 0.9038 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.2774, allocations: 0 / 0.9038 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002102/0.2776, allocations: 91.31 kB / 0.9039 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.2776, allocations: 0 / 0.9039 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0004224/0.278, allocations: 141.5 kB / 0.904 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.2781, allocations: 63.39 kB / 0.9041 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.88e-05/0.2782, allocations: 117.8 kB / 0.9042 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.2782, allocations: 29.7 kB / 0.9042 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.092e-05/0.2783, allocations: 100.2 kB / 0.9043 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/0.2783, allocations: 15.83 kB / 0.9043 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-06/0.2783, allocations: 4 kB / 0.9043 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.181e-05/0.2784, allocations: 314.8 kB / 0.9046 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.07e-05/0.2785, allocations: 31.97 kB / 0.9047 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.156e-05/0.2786, allocations: 54.94 kB / 0.9047 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.786e-05/0.2787, allocations: 31.98 kB / 0.9047 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.2787, allocations: 0 / 0.9047 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002134/0.2789, allocations: 125.8 kB / 0.9049 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.279, allocations: 8 kB / 0.9049 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.279, allocations: 0 / 0.9049 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.279, allocations: 7.953 kB / 0.9049 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.677e-05/0.2791, allocations: 15.92 kB / 0.9049 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.2791, allocations: 4 kB / 0.9049 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.938e-05/0.2792, allocations: 11.91 kB / 0.9049 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.2792, allocations: 4 kB / 0.9049 GB, free: 58.84 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,$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.0001028/0.2793, allocations: 129.8 kB / 0.905 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.355e-05/0.2793, allocations: 4 kB / 0.905 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.158e-05/0.2794, allocations: 8.375 kB / 0.9051 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.2794, allocations: 4 kB / 0.9051 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.2794, allocations: 3.953 kB / 0.9051 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.2794, allocations: 0 / 0.9051 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004101/0.2798, allocations: 382.4 kB / 0.9054 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2798, allocations: 3.938 kB / 0.9054 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.974e-05/0.2799, allocations: 7.984 kB / 0.9054 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.2799, allocations: 4 kB / 0.9054 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.2799, allocations: 7.953 kB / 0.9054 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.2799, allocations: 0 / 0.9054 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2799, allocations: 0 / 0.9054 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002812/0.2802, allocations: 211.4 kB / 0.9056 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.111e-05/0.2803, allocations: 85.03 kB / 0.9057 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.2803, allocations: 4 kB / 0.9057 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.736e-05/0.2804, allocations: 11.95 kB / 0.9057 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.191e-05/0.2804, allocations: 3.984 kB / 0.9057 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.2805, allocations: 8 kB / 0.9058 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.615e-05/0.2805, allocations: 95.42 kB / 0.9058 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2805, allocations: 0 / 0.9058 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002861/0.2808, allocations: 39.98 kB / 0.9059 GB, free: 57.75 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 (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.0007649/0.2816, allocations: 0.8092 MB / 0.9067 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002677/0.2819, allocations: 79.95 kB / 0.9068 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.2819, allocations: 0 / 0.9068 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.847e-05/0.282, allocations: 36.45 kB / 0.9068 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.2823, allocations: 11.95 kB / 0.9068 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000974/0.2833, allocations: 0.6049 MB / 0.9074 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/0.2834, allocations: 0.6848 MB / 0.9081 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.941e-05/0.2835, allocations: 12.16 kB / 0.9081 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.192e-05/0.2835, allocations: 15.44 kB / 0.9081 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.2835, allocations: 7.938 kB / 0.9081 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01441/0.2979, allocations: 2.343 MB / 0.9104 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001664/0.2982, allocations: 258.4 kB / 0.9106 GB, free: 52.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.654/1.952, allocations: 7.172 kB / 0.9106 GB, free: 52.89 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)