Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",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.625/1.625, allocations: 252 MB / 267 MB, free: 10.96 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.00103/0.001031, allocations: 184.6 kB / 326.6 MB, free: 2.215 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.074/2.074, allocations: 205.4 MB / 0.5776 GB, free: 20.23 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.0007576/0.0007572, allocations: 83.92 kB / 0.6822 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004676/0.0004677, allocations: 9 kB / 0.7964 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3056, allocations: 106.3 MB / 0.9003 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.001738/0.3074, allocations: 1.289 MB / 0.9016 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.3086, allocations: 0.7801 MB / 0.9023 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.861e-05/0.3086, allocations: 0 / 0.9023 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.16e-05/0.3087, allocations: 7.922 kB / 0.9023 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.36e-05/0.3087, allocations: 11.88 kB / 0.9023 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004958/0.3092, allocations: 131.6 kB / 0.9025 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.3094, allocations: 111.6 kB / 0.9026 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.083e-05/0.3095, allocations: 15.98 kB / 0.9026 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.263e-05/0.3096, allocations: 43.89 kB / 0.9026 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.699e-05/0.3097, allocations: 71.73 kB / 0.9027 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.3097, allocations: 4 kB / 0.9027 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001668/0.3099, allocations: 91.84 kB / 0.9028 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.717e-05/0.3099, allocations: 23.95 kB / 0.9028 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.951e-05/0.31, allocations: 41.64 kB / 0.9029 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.3101, allocations: 132 kB / 0.903 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.3101, allocations: 0 / 0.903 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.664e-06/0.3102, allocations: 0 / 0.903 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.3102, allocations: 0 / 0.903 GB, free: 61.04 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006365/0.3108, allocations: 474.3 kB / 0.9034 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.3109, allocations: 8.031 kB / 0.9034 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.921e-05/0.3109, allocations: 38.55 kB / 0.9035 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.678e-05/0.311, allocations: 15.86 kB / 0.9035 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.599e-05/0.3111, allocations: 175.4 kB / 0.9037 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.3111, allocations: 4 kB / 0.9037 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.3111, allocations: 11.98 kB / 0.9037 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.3113, allocations: 105.6 kB / 0.9038 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.3114, allocations: 0 / 0.9038 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.3114, allocations: 0 / 0.9038 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.3114, allocations: 0 / 0.9038 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001899/0.3116, allocations: 75.95 kB / 0.9038 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007741/0.3124, allocations: 388.5 kB / 0.9042 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/0.3126, allocations: 74.55 kB / 0.9043 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/0.3127, allocations: 52.95 kB / 0.9043 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.3127, allocations: 11.92 kB / 0.9044 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002585/0.313, allocations: 107.3 kB / 0.9045 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.313, allocations: 0 / 0.9045 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0005455/0.3136, allocations: 233.6 kB / 0.9047 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.786e-05/0.3136, allocations: 55.41 kB / 0.9047 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.3137, allocations: 142.4 kB / 0.9049 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.3137, allocations: 29.7 kB / 0.9049 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.441e-05/0.3138, allocations: 104.3 kB / 0.905 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.3138, allocations: 11.81 kB / 0.905 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.765e-06/0.3138, allocations: 8 kB / 0.905 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.028e-05/0.3139, allocations: 322.8 kB / 0.9053 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.314, allocations: 43.97 kB / 0.9054 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.3142, allocations: 78.89 kB / 0.9054 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.3143, allocations: 55.92 kB / 0.9055 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3143, allocations: 0 / 0.9055 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003005/0.3146, allocations: 161.5 kB / 0.9056 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.3146, allocations: 8 kB / 0.9057 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3147, allocations: 4 kB / 0.9057 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.3147, allocations: 7.953 kB / 0.9057 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.3148, allocations: 24.02 kB / 0.9057 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.3148, allocations: 8 kB / 0.9057 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.315, allocations: 19.83 kB / 0.9057 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.315, allocations: 4 kB / 0.9057 GB, free: 57.98 MB / 0.6042 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,win.occ,$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 (14): * Single equations (assignments): 14 * 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 9.751e-05/0.3151, allocations: 121.8 kB / 0.9058 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.923e-05/0.3151, allocations: 7.906 kB / 0.9058 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.346e-05/0.3152, allocations: 16.64 kB / 0.9059 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.3152, allocations: 8 kB / 0.9059 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.3152, allocations: 3.953 kB / 0.9059 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.3152, allocations: 0 / 0.9059 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000519/0.3157, allocations: 470.5 kB / 0.9063 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3157, allocations: 0 / 0.9063 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.15e-05/0.3158, allocations: 15.98 kB / 0.9063 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.3158, allocations: 0 / 0.9063 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.3158, allocations: 3.953 kB / 0.9063 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3158, allocations: 0 / 0.9063 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3158, allocations: 0 / 0.9063 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003676/0.3162, allocations: 287.4 kB / 0.9066 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.925e-05/0.3162, allocations: 88.95 kB / 0.9067 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.3163, allocations: 4 kB / 0.9067 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.3164, allocations: 15.94 kB / 0.9067 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/0.3165, allocations: 7.984 kB / 0.9067 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.3165, allocations: 4.047 kB / 0.9067 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.665e-05/0.3165, allocations: 115.6 kB / 0.9068 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.6e-07/0.3165, allocations: 0 / 0.9068 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003355/0.3169, allocations: 40 kB / 0.9069 GB, free: 56.7 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: 7 (win.sampleTrigger,$whenCondition1,win.occ,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 (9): * Single equations (assignments): 5 * 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.0007966/0.3177, allocations: 0.8685 MB / 0.9077 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003129/0.318, allocations: 131.8 kB / 0.9078 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.318, allocations: 4 kB / 0.9078 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.3182, allocations: 51.97 kB / 0.9079 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.3185, allocations: 16.14 kB / 0.9079 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.3197, allocations: 0.7976 MB / 0.9087 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/0.3199, allocations: 0.6963 MB / 0.9094 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.63e-05/0.32, allocations: 4 kB / 0.9094 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.661e-05/0.32, allocations: 27.42 kB / 0.9094 GB, free: 54.01 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.32, allocations: 8 kB / 0.9094 GB, free: 54 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01361/0.3337, allocations: 3.01 MB / 0.9123 GB, free: 51.18 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000249/0.334, allocations: 257.3 kB / 0.9126 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.704/2.038, allocations: 1.406 kB / 0.9126 GB, free: 50.84 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1)