Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.719/1.719, allocations: 252 MB / 267.3 MB, free: 10.86 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.001738/0.001738, allocations: 170.1 kB / 327 MB, free: 2.117 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.119/3.119, allocations: 205.4 MB / 0.578 GB, free: 20.47 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.001207/0.001207, allocations: 105.2 kB / 0.6826 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000426/0.0004263, allocations: 8.75 kB / 0.7971 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3382, allocations: 106.3 MB / 0.9009 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002957/0.3412, allocations: 1.219 MB / 0.9021 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002364/0.3437, allocations: 0.7681 MB / 0.9029 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.525e-05/0.3438, allocations: 0 / 0.9029 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.435e-05/0.3438, allocations: 3.984 kB / 0.9029 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001445/0.344, allocations: 15.8 kB / 0.9029 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009392/0.345, allocations: 111.8 kB / 0.903 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.3452, allocations: 63.84 kB / 0.903 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.3454, allocations: 11.98 kB / 0.9031 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001604/0.3455, allocations: 27.86 kB / 0.9031 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.3457, allocations: 39.83 kB / 0.9031 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.349e-05/0.3457, allocations: 4 kB / 0.9031 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003246/0.3461, allocations: 91.84 kB / 0.9032 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.294e-05/0.3461, allocations: 15.92 kB / 0.9032 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.3463, allocations: 57.55 kB / 0.9033 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003869/0.3467, allocations: 131.7 kB / 0.9034 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.3467, allocations: 0 / 0.9034 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.976e-06/0.3468, allocations: 0 / 0.9034 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.3468, allocations: 0 / 0.9034 GB, free: 61.18 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.0009912/0.3478, allocations: 405.3 kB / 0.9038 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 7.862e-05/0.3479, allocations: 12.03 kB / 0.9038 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.764e-05/0.348, allocations: 34.75 kB / 0.9038 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.521e-05/0.348, allocations: 16.83 kB / 0.9039 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.3482, allocations: 176.2 kB / 0.904 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.357e-05/0.3483, allocations: 4.375 kB / 0.904 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.062e-05/0.3483, allocations: 8.375 kB / 0.904 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003153/0.3486, allocations: 73.78 kB / 0.9041 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.3487, allocations: 0 / 0.9041 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.3487, allocations: 0 / 0.9041 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.3487, allocations: 0 / 0.9041 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000243/0.349, allocations: 47.97 kB / 0.9041 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008902/0.3499, allocations: 324.6 kB / 0.9045 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002015/0.3501, allocations: 58.48 kB / 0.9045 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.3503, allocations: 36.97 kB / 0.9045 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.287e-05/0.3503, allocations: 0 / 0.9045 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003087/0.3507, allocations: 83.38 kB / 0.9046 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 4.528e-06/0.3507, allocations: 0 / 0.9046 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.000664/0.3514, allocations: 141.6 kB / 0.9048 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.3514, allocations: 55.41 kB / 0.9048 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.3516, allocations: 129.7 kB / 0.9049 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.3516, allocations: 29.7 kB / 0.905 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.669e-05/0.3517, allocations: 84.14 kB / 0.905 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.906e-05/0.3517, allocations: 27.8 kB / 0.9051 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.808e-06/0.3518, allocations: 0 / 0.9051 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.103e-05/0.3518, allocations: 322.8 kB / 0.9054 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.352, allocations: 27.98 kB / 0.9054 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.3522, allocations: 54.55 kB / 0.9055 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002647/0.3524, allocations: 78.48 kB / 0.9055 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.3525, allocations: 4 kB / 0.9055 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003651/0.3528, allocations: 117.5 kB / 0.9057 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.3529, allocations: 7.984 kB / 0.9057 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.3529, allocations: 3.938 kB / 0.9057 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.3529, allocations: 4 kB / 0.9057 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.3531, allocations: 11.94 kB / 0.9057 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.3531, allocations: 64 / 0.9057 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.3532, allocations: 15.98 kB / 0.9057 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.3533, allocations: 400 / 0.9057 GB, free: 58.58 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001292/0.3534, allocations: 125.8 kB / 0.9058 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.3534, allocations: 7.844 kB / 0.9058 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.331e-05/0.3535, allocations: 12.36 kB / 0.9058 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.319e-06/0.3535, allocations: 0 / 0.9058 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.3535, allocations: 0 / 0.9058 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.3535, allocations: 7.984 kB / 0.9058 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005488/0.3541, allocations: 394.4 kB / 0.9062 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.3541, allocations: 0 / 0.9062 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.653e-05/0.3542, allocations: 4 kB / 0.9062 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.187e-06/0.3542, allocations: 0 / 0.9062 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.3543, allocations: 3.984 kB / 0.9062 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.3543, allocations: 11.94 kB / 0.9062 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3543, allocations: 0 / 0.9062 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004118/0.3547, allocations: 215.4 kB / 0.9064 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.523e-05/0.3548, allocations: 84.95 kB / 0.9065 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/0.3548, allocations: 0 / 0.9065 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.355, allocations: 15.92 kB / 0.9065 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.023e-05/0.3551, allocations: 4 kB / 0.9065 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.3551, allocations: 11.98 kB / 0.9066 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.796e-05/0.3552, allocations: 99.86 kB / 0.9066 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.11e-07/0.3552, allocations: 0 / 0.9066 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005192/0.3557, allocations: 32 kB / 0.9067 GB, free: 57.47 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009912/0.3567, allocations: 0.8053 MB / 0.9075 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003395/0.3571, allocations: 75.91 kB / 0.9075 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3571, allocations: 0 / 0.9075 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.3572, allocations: 47.91 kB / 0.9076 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004047/0.3576, allocations: 11.88 kB / 0.9076 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002153/0.3598, allocations: 1.519 MB / 0.9091 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001989/0.36, allocations: 0.6964 MB / 0.9098 GB, free: 54.19 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.495e-05/0.3601, allocations: 4 kB / 0.9098 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.653e-05/0.3602, allocations: 19.42 kB / 0.9098 GB, free: 54.17 MB / 0.6042 GB Notification: Performance of SimCode: time 3.9e-07/0.3602, allocations: 4 kB / 0.9098 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01716/0.3773, allocations: 2.332 MB / 0.9121 GB, free: 52 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003306/0.3778, allocations: 274.1 kB / 0.9123 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.566/2.944, allocations: 0 / 0.9123 GB, free: 51.64 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1)