Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",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.577/1.577, allocations: 251.9 MB / 266.9 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.001116/0.001116, allocations: 185.5 kB / 326.5 MB, free: 2.27 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.994/1.994, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0009159/0.000916, allocations: 103.6 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.00036, allocations: 12.25 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2404, allocations: 106.3 MB / 0.9002 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.001609/0.2421, allocations: 1.312 MB / 0.9014 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001206/0.2433, allocations: 0.7966 MB / 0.9022 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.111e-05/0.2434, allocations: 0 / 0.9022 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.96e-05/0.2434, allocations: 3.938 kB / 0.9022 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.2436, allocations: 27.94 kB / 0.9022 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005091/0.2441, allocations: 119.6 kB / 0.9024 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.2442, allocations: 91.8 kB / 0.9024 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.2443, allocations: 17.11 kB / 0.9025 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.616e-05/0.2444, allocations: 59.83 kB / 0.9025 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.9e-05/0.2445, allocations: 63.8 kB / 0.9026 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.2445, allocations: 8 kB / 0.9026 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001437/0.2447, allocations: 71.86 kB / 0.9027 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.275e-05/0.2447, allocations: 19.97 kB / 0.9027 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.398e-05/0.2448, allocations: 53.62 kB / 0.9027 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.2449, allocations: 139.9 kB / 0.9029 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.245, allocations: 0 / 0.9029 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.694e-06/0.245, allocations: 3.938 kB / 0.9029 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.245, allocations: 4 kB / 0.9029 GB, free: 61.06 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.00063/0.2456, allocations: 0.5251 MB / 0.9034 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.2456, allocations: 8.031 kB / 0.9034 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.84e-05/0.2457, allocations: 46.48 kB / 0.9034 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.849e-05/0.2457, allocations: 11.86 kB / 0.9034 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.899e-05/0.2458, allocations: 181 kB / 0.9036 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.2459, allocations: 8 kB / 0.9036 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.2459, allocations: 4 kB / 0.9036 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004147/0.2463, allocations: 153.5 kB / 0.9038 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.2463, allocations: 0 / 0.9038 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.2464, allocations: 4 kB / 0.9038 GB, free: 60 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.2464, allocations: 3.938 kB / 0.9038 GB, free: 60 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003782/0.2468, allocations: 131.8 kB / 0.9039 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006925/0.2475, allocations: 384.6 kB / 0.9043 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003529/0.2478, allocations: 122.5 kB / 0.9044 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.2479, allocations: 0 / 0.9044 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000401/0.2483, allocations: 159.2 kB / 0.9045 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.2483, allocations: 4 kB / 0.9045 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.001014/0.2493, allocations: 353.2 kB / 0.9049 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.2493, allocations: 59.41 kB / 0.9049 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.445e-05/0.2494, allocations: 145.8 kB / 0.9051 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.2495, allocations: 37.7 kB / 0.9051 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.003e-05/0.2495, allocations: 104.3 kB / 0.9052 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.2495, allocations: 19.72 kB / 0.9052 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-06/0.2495, allocations: 0 / 0.9052 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.769e-05/0.2496, allocations: 322.8 kB / 0.9055 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.2497, allocations: 47.97 kB / 0.9056 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.2499, allocations: 85.48 kB / 0.9057 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.25, allocations: 55.92 kB / 0.9057 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.25, allocations: 0 / 0.9057 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003098/0.2503, allocations: 177.4 kB / 0.9059 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.2503, allocations: 7.938 kB / 0.9059 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.2504, allocations: 4 kB / 0.9059 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.2504, allocations: 3.953 kB / 0.9059 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.2505, allocations: 19.98 kB / 0.9059 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.2505, allocations: 16.05 kB / 0.9059 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.953e-05/0.2506, allocations: 15.84 kB / 0.906 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.2507, allocations: 12 kB / 0.906 GB, free: 57.62 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,win.occ,$PRE.win.p,win.p,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 8.401e-05/0.2508, allocations: 125 kB / 0.9061 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.097e-05/0.2508, allocations: 8.016 kB / 0.9061 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.075e-05/0.2508, allocations: 16.66 kB / 0.9061 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.2508, allocations: 4 kB / 0.9061 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.2508, allocations: 3.953 kB / 0.9061 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.2509, allocations: 4 kB / 0.9061 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000912/0.2518, allocations: 0.5531 MB / 0.9067 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.2518, allocations: 4 kB / 0.9067 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.621e-05/0.2519, allocations: 15.92 kB / 0.9067 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.2519, allocations: 4 kB / 0.9067 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.2519, allocations: 7.938 kB / 0.9067 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2519, allocations: 0 / 0.9067 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2519, allocations: 0 / 0.9067 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006835/0.2526, allocations: 363.2 kB / 0.907 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.598e-05/0.2526, allocations: 84.95 kB / 0.9071 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.198e-05/0.2527, allocations: 4 kB / 0.9071 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.2529, allocations: 35.92 kB / 0.9072 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.145e-05/0.2529, allocations: 11.98 kB / 0.9072 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.253, allocations: 3.984 kB / 0.9072 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.075e-05/0.253, allocations: 103.3 kB / 0.9073 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.253, allocations: 4 kB / 0.9073 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003078/0.2533, allocations: 48.17 kB / 0.9073 GB, free: 56.13 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: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.001103/0.2545, allocations: 0.9586 MB / 0.9083 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000484/0.2549, allocations: 164 kB / 0.9084 GB, free: 55 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.255, allocations: 4.062 kB / 0.9084 GB, free: 55 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003013/0.2553, allocations: 96.02 kB / 0.9085 GB, free: 54.9 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.2555, allocations: 20.08 kB / 0.9085 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009818/0.2564, allocations: 1.29 MB / 0.9098 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.2566, allocations: 0.7082 MB / 0.9105 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.504e-05/0.2567, allocations: 4 kB / 0.9105 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.53e-05/0.2567, allocations: 31.42 kB / 0.9105 GB, free: 52.76 MB / 0.6042 GB Notification: Performance of SimCode: time 2e-07/0.2567, allocations: 0 / 0.9105 GB, free: 52.76 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01403/0.2708, allocations: 3.065 MB / 0.9135 GB, free: 49.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000161/0.271, allocations: 257 kB / 0.9137 GB, free: 49.56 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.624/1.895, allocations: 256 / 0.9137 GB, free: 49.56 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1)