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.468/1.468, allocations: 251.5 MB / 266.7 MB, free: 11.06 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.0008726/0.0008727, allocations: 183 kB / 325.8 MB, free: 2.711 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.737/1.737, allocations: 205 MB / 0.576 GB, free: 21.01 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.0008108/0.0008104, allocations: 83.44 kB / 0.6797 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003394/0.0003394, allocations: 9.125 kB / 0.7933 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2377, allocations: 105.4 MB / 0.8962 GB, free: 68.13 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.001757/0.2395, allocations: 1.239 MB / 0.8974 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.2407, allocations: 0.7844 MB / 0.8982 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.036e-05/0.2408, allocations: 0 / 0.8982 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.769e-05/0.2408, allocations: 7.984 kB / 0.8982 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.657e-05/0.2409, allocations: 7.875 kB / 0.8982 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004723/0.2414, allocations: 99.83 kB / 0.8983 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.98e-05/0.2415, allocations: 75.7 kB / 0.8984 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.806e-05/0.2416, allocations: 15.98 kB / 0.8984 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.75e-05/0.2417, allocations: 27.92 kB / 0.8984 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.381e-05/0.2417, allocations: 35.83 kB / 0.8984 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.2417, allocations: 8 kB / 0.8984 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001494/0.2419, allocations: 87.84 kB / 0.8985 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.103e-05/0.2419, allocations: 11.98 kB / 0.8985 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.037e-05/0.242, allocations: 31.8 kB / 0.8986 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.2422, allocations: 131.7 kB / 0.8987 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2422, allocations: 3.938 kB / 0.8987 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2422, allocations: 0 / 0.8987 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.2422, allocations: 0 / 0.8987 GB, free: 65.55 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.0005438/0.2427, allocations: 409.1 kB / 0.8991 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.2428, allocations: 12.03 kB / 0.8991 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.304e-05/0.2428, allocations: 30.75 kB / 0.8991 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.306e-05/0.2429, allocations: 8.844 kB / 0.8991 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.744e-05/0.2429, allocations: 176.2 kB / 0.8993 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.243, allocations: 8.375 kB / 0.8993 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.243, allocations: 4.375 kB / 0.8993 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.2432, allocations: 73.78 kB / 0.8994 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.2432, allocations: 0 / 0.8994 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.2432, allocations: 0 / 0.8994 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.2432, allocations: 0 / 0.8994 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.2433, allocations: 51.91 kB / 0.8994 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004943/0.2438, allocations: 332.5 kB / 0.8998 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.244, allocations: 54.55 kB / 0.8998 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.139e-05/0.244, allocations: 36.97 kB / 0.8998 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.2441, allocations: 4 kB / 0.8998 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001552/0.2442, allocations: 75.38 kB / 0.8999 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.753e-06/0.2442, allocations: 0 / 0.8999 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003343/0.2446, allocations: 153.6 kB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.2446, allocations: 55.41 kB / 0.9001 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.626e-05/0.2447, allocations: 125.7 kB / 0.9002 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.2447, allocations: 33.7 kB / 0.9003 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.28e-05/0.2447, allocations: 84.14 kB / 0.9003 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/0.2448, allocations: 15.88 kB / 0.9004 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.359e-05/0.2448, allocations: 21.7 kB / 0.9004 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.407e-05/0.2448, allocations: 322.8 kB / 0.9007 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.249e-05/0.2449, allocations: 35.98 kB / 0.9007 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.838e-05/0.245, allocations: 50.94 kB / 0.9008 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.2452, allocations: 82.48 kB / 0.9009 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.2452, allocations: 0 / 0.9009 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001925/0.2454, allocations: 121.5 kB / 0.901 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.2454, allocations: 4 kB / 0.901 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.2454, allocations: 4.062 kB / 0.901 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.2454, allocations: 0 / 0.901 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.675e-05/0.2455, allocations: 19.92 kB / 0.901 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.2455, allocations: 0 / 0.901 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.904e-05/0.2456, allocations: 7.938 kB / 0.901 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.2456, allocations: 4 kB / 0.901 GB, free: 62.93 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,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * 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 6.676e-05/0.2457, allocations: 121.8 kB / 0.9011 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.397e-05/0.2457, allocations: 15.89 kB / 0.9011 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.359e-05/0.2457, allocations: 8.375 kB / 0.9011 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.2457, allocations: 0 / 0.9011 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2457, allocations: 0 / 0.9011 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.2457, allocations: 0 / 0.9011 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003335/0.2461, allocations: 390.4 kB / 0.9015 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.2461, allocations: 0 / 0.9015 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.567e-05/0.2461, allocations: 8 kB / 0.9015 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.2461, allocations: 7.969 kB / 0.9015 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.2462, allocations: 0 / 0.9015 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.2462, allocations: 7.875 kB / 0.9015 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2462, allocations: 0 / 0.9015 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.2464, allocations: 219.4 kB / 0.9017 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.204e-05/0.2464, allocations: 89 kB / 0.9018 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.2465, allocations: 3.938 kB / 0.9018 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.138e-05/0.2466, allocations: 7.938 kB / 0.9018 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.2466, allocations: 7.984 kB / 0.9019 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.2466, allocations: 0 / 0.9019 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.651e-05/0.2467, allocations: 99.27 kB / 0.9019 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2467, allocations: 0 / 0.9019 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000251/0.2469, allocations: 36 kB / 0.902 GB, free: 61.82 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.0006204/0.2476, allocations: 0.8138 MB / 0.9028 GB, free: 61 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002127/0.2478, allocations: 79.89 kB / 0.9029 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2478, allocations: 0 / 0.9029 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.807e-05/0.2479, allocations: 40.05 kB / 0.9029 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.2481, allocations: 12.48 kB / 0.9029 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.2493, allocations: 1.503 MB / 0.9044 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/0.2495, allocations: 0.6926 MB / 0.905 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.471e-05/0.2495, allocations: 8 kB / 0.9051 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.1e-05/0.2496, allocations: 27.36 kB / 0.9051 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2496, allocations: 3.938 kB / 0.9051 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02082/0.2704, allocations: 2.324 MB / 0.9074 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001751/0.2706, allocations: 276.5 kB / 0.9076 GB, free: 56 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.608/1.879, allocations: 0 / 0.9076 GB, free: 56 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)