Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",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.303/1.303, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.001055/0.001055, allocations: 171.4 kB / 325.8 MB, free: 2.676 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.777/1.777, allocations: 205 MB / 0.576 GB, free: 20.97 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.0008242/0.000824, allocations: 90.72 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003396/0.0003396, allocations: 12.28 kB / 0.7932 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2423, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.00165/0.244, allocations: 1.235 MB / 0.8974 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001213/0.2452, allocations: 0.7805 MB / 0.8982 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.87e-05/0.2453, allocations: 3.938 kB / 0.8982 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.622e-05/0.2453, allocations: 0 / 0.8982 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.066e-05/0.2454, allocations: 15.86 kB / 0.8982 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004507/0.2458, allocations: 107.8 kB / 0.8983 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.331e-05/0.2459, allocations: 67.77 kB / 0.8984 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.422e-05/0.246, allocations: 12 kB / 0.8984 GB, free: 65.83 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.032e-05/0.2461, allocations: 35.89 kB / 0.8984 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.951e-05/0.2462, allocations: 35.84 kB / 0.8984 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.2462, allocations: 4 kB / 0.8984 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001753/0.2464, allocations: 91.84 kB / 0.8985 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.008e-05/0.2464, allocations: 15.97 kB / 0.8985 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.59e-05/0.2465, allocations: 27.8 kB / 0.8986 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001772/0.2467, allocations: 135.7 kB / 0.8987 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2467, allocations: 0 / 0.8987 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.744e-06/0.2467, allocations: 0 / 0.8987 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.2467, allocations: 4 kB / 0.8987 GB, free: 65.49 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.0005006/0.2472, allocations: 401.1 kB / 0.8991 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.2472, allocations: 12.03 kB / 0.8991 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.558e-05/0.2473, allocations: 34.75 kB / 0.8991 GB, free: 64.99 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.18e-05/0.2473, allocations: 8.844 kB / 0.8991 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.168e-05/0.2474, allocations: 176.2 kB / 0.8993 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.2474, allocations: 4.375 kB / 0.8993 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.2475, allocations: 4.375 kB / 0.8993 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.2476, allocations: 73.78 kB / 0.8994 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.2476, allocations: 3.984 kB / 0.8994 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.2477, allocations: 4 kB / 0.8994 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.2477, allocations: 4 kB / 0.8994 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.2478, allocations: 43.95 kB / 0.8994 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005179/0.2483, allocations: 328.6 kB / 0.8998 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.2484, allocations: 46.56 kB / 0.8998 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.164e-05/0.2485, allocations: 32.97 kB / 0.8998 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.2485, allocations: 4 kB / 0.8998 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001535/0.2487, allocations: 83.38 kB / 0.8999 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.054e-06/0.2487, allocations: 0 / 0.8999 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003354/0.249, allocations: 149.9 kB / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.2491, allocations: 55.41 kB / 0.9001 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.715e-05/0.2492, allocations: 133.6 kB / 0.9002 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.2492, allocations: 25.7 kB / 0.9003 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.431e-05/0.2492, allocations: 92.12 kB / 0.9003 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.557e-05/0.2492, allocations: 15.81 kB / 0.9004 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.492e-05/0.2493, allocations: 21.7 kB / 0.9004 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.36e-05/0.2493, allocations: 318.8 kB / 0.9007 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.945e-05/0.2494, allocations: 35.92 kB / 0.9007 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.717e-05/0.2495, allocations: 55.41 kB / 0.9008 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.2496, allocations: 91.34 kB / 0.9009 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2496, allocations: 0 / 0.9009 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001939/0.2498, allocations: 121.4 kB / 0.901 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.2499, allocations: 8 kB / 0.901 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.2499, allocations: 0 / 0.901 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.2499, allocations: 4.062 kB / 0.901 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.514e-05/0.25, allocations: 15.98 kB / 0.901 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.25, allocations: 4.062 kB / 0.901 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.181e-05/0.2501, allocations: 11.94 kB / 0.901 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.2501, allocations: 7.984 kB / 0.901 GB, free: 62.84 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,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.768e-05/0.2501, allocations: 121.7 kB / 0.9011 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.438e-05/0.2502, allocations: 7.906 kB / 0.9011 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.2502, allocations: 12.38 kB / 0.9012 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2502, allocations: 64 / 0.9012 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.2502, allocations: 4 kB / 0.9012 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2502, allocations: 0 / 0.9012 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003771/0.2506, allocations: 386.5 kB / 0.9015 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2506, allocations: 3.938 kB / 0.9015 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.596e-05/0.2507, allocations: 11.98 kB / 0.9015 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2507, allocations: 0 / 0.9015 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.2507, allocations: 4 kB / 0.9016 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.2507, allocations: 7.875 kB / 0.9016 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2507, allocations: 0 / 0.9016 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002226/0.2509, allocations: 219.4 kB / 0.9018 GB, free: 62 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.427e-05/0.251, allocations: 81.02 kB / 0.9018 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.251, allocations: 4 kB / 0.9019 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.966e-05/0.2511, allocations: 11.92 kB / 0.9019 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/0.2511, allocations: 48 / 0.9019 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.2511, allocations: 7.984 kB / 0.9019 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.965e-05/0.2512, allocations: 91.27 kB / 0.902 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2512, allocations: 0 / 0.902 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002602/0.2514, allocations: 39.98 kB / 0.902 GB, free: 61.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,occ.y,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.0005902/0.252, allocations: 0.8163 MB / 0.9028 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001985/0.2522, allocations: 75.89 kB / 0.9029 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2523, allocations: 0 / 0.9029 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.004e-05/0.2523, allocations: 35.98 kB / 0.9029 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.2526, allocations: 23.14 kB / 0.9029 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.2538, allocations: 1.516 MB / 0.9044 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.2539, allocations: 0.6949 MB / 0.9051 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.686e-05/0.254, allocations: 8.375 kB / 0.9051 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.816e-05/0.254, allocations: 19.38 kB / 0.9051 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.254, allocations: 4 kB / 0.9051 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04315/0.2972, allocations: 2.342 MB / 0.9074 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001879/0.2974, allocations: 263.3 kB / 0.9076 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.712/2.009, allocations: 3.938 kB / 0.9077 GB, free: 55.9 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1)