Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.722/1.722, allocations: 288.4 MB / 303.3 MB, free: 8.164 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 180.5 kB / 372 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.644/1.644, allocations: 205.4 MB / 0.6307 GB, free: 9.98 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007151/0.0007151, allocations: 89.33 kB / 0.744 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004033/0.0004033, allocations: 11.47 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2192, allocations: 115.3 MB / 0.9796 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.001623/0.2209, allocations: 1.325 MB / 0.9809 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001365/0.2223, allocations: 0.7842 MB / 0.9817 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.926e-05/0.2224, allocations: 0 / 0.9817 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.551e-05/0.2225, allocations: 3.938 kB / 0.9817 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.981e-05/0.2225, allocations: 19.84 kB / 0.9817 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005547/0.2231, allocations: 119.7 kB / 0.9818 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.2232, allocations: 143.5 kB / 0.982 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.497e-05/0.2233, allocations: 17.41 kB / 0.982 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.234e-05/0.2234, allocations: 59.81 kB / 0.9821 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.369e-05/0.2235, allocations: 67.73 kB / 0.9821 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/0.2236, allocations: 4 kB / 0.9821 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.2237, allocations: 87.91 kB / 0.9822 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.41e-05/0.2238, allocations: 35.89 kB / 0.9822 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.432e-05/0.2238, allocations: 41.64 kB / 0.9823 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.2239, allocations: 139.7 kB / 0.9824 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.224, allocations: 4 kB / 0.9824 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.232e-06/0.224, allocations: 0 / 0.9824 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.224, allocations: 0 / 0.9824 GB, free: 24.71 MB / 0.6198 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.0006239/0.2246, allocations: 0.5251 MB / 0.9829 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.2246, allocations: 12.03 kB / 0.9829 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.506e-05/0.2247, allocations: 30.56 kB / 0.983 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.816e-05/0.2247, allocations: 15.81 kB / 0.983 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.601e-05/0.2248, allocations: 182.8 kB / 0.9832 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.2249, allocations: 11.94 kB / 0.9832 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.2249, allocations: 4 kB / 0.9832 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004532/0.2253, allocations: 157.5 kB / 0.9833 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.2254, allocations: 0 / 0.9833 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.2254, allocations: 0 / 0.9833 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.2254, allocations: 8 kB / 0.9833 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003953/0.2258, allocations: 127.9 kB / 0.9835 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006558/0.2265, allocations: 400.5 kB / 0.9838 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003364/0.2268, allocations: 110.5 kB / 0.9839 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003003/0.2271, allocations: 104.8 kB / 0.984 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.2272, allocations: 4 kB / 0.984 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004023/0.2276, allocations: 167.1 kB / 0.9842 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.703e-06/0.2276, allocations: 0 / 0.9842 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.001067/0.2286, allocations: 353.2 kB / 0.9845 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.2287, allocations: 55.41 kB / 0.9846 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.062e-05/0.2288, allocations: 149.1 kB / 0.9847 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.2288, allocations: 29.7 kB / 0.9848 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.156e-05/0.2289, allocations: 100.3 kB / 0.9849 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/0.2289, allocations: 27.88 kB / 0.9849 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.326e-06/0.2289, allocations: 112 / 0.9849 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.577e-05/0.229, allocations: 326.8 kB / 0.9852 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.2291, allocations: 47.97 kB / 0.9852 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.2292, allocations: 85.12 kB / 0.9853 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.2294, allocations: 59.91 kB / 0.9854 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.2294, allocations: 0 / 0.9854 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003186/0.2297, allocations: 169.3 kB / 0.9855 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.2297, allocations: 9.719 kB / 0.9856 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2298, allocations: 4.125 kB / 0.9856 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.2298, allocations: 7.984 kB / 0.9856 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.2299, allocations: 27.94 kB / 0.9856 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.2299, allocations: 0 / 0.9856 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.2301, allocations: 15.98 kB / 0.9856 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.2301, allocations: 4 kB / 0.9856 GB, free: 21.16 MB / 0.6198 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 7.94e-05/0.2302, allocations: 131.9 kB / 0.9857 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.046e-05/0.2302, allocations: 11.81 kB / 0.9857 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.888e-05/0.2302, allocations: 16.7 kB / 0.9858 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.2302, allocations: 0 / 0.9858 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.2302, allocations: 3.953 kB / 0.9858 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2303, allocations: 0 / 0.9858 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008745/0.2311, allocations: 0.5572 MB / 0.9863 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.2311, allocations: 0 / 0.9863 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.14e-05/0.2312, allocations: 15.98 kB / 0.9863 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2312, allocations: 0 / 0.9863 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.2313, allocations: 3.953 kB / 0.9863 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.2313, allocations: 11.98 kB / 0.9863 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.2313, allocations: 0 / 0.9863 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006882/0.232, allocations: 355.2 kB / 0.9867 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.384e-05/0.232, allocations: 88.92 kB / 0.9868 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.838e-05/0.232, allocations: 3.984 kB / 0.9868 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.2323, allocations: 31.92 kB / 0.9868 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.2323, allocations: 15.92 kB / 0.9868 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.2323, allocations: 8 kB / 0.9868 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.43e-05/0.2324, allocations: 109.9 kB / 0.9869 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2324, allocations: 0 / 0.9869 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000293/0.2327, allocations: 44 kB / 0.987 GB, free: 19.68 MB / 0.6198 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.001149/0.2338, allocations: 0.9517 MB / 0.9879 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005016/0.2344, allocations: 171.9 kB / 0.9881 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2344, allocations: 0 / 0.9881 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003168/0.2347, allocations: 108 kB / 0.9882 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.235, allocations: 15.95 kB / 0.9882 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.2363, allocations: 0.8515 MB / 0.989 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.2365, allocations: 0.7004 MB / 0.9897 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.635e-05/0.2365, allocations: 7.984 kB / 0.9897 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.501e-05/0.2366, allocations: 31.42 kB / 0.9897 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.2366, allocations: 0 / 0.9897 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01313/0.2498, allocations: 3.103 MB / 0.9928 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001571/0.25, allocations: 266 kB / 0.993 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.706/1.956, allocations: 0 / 0.993 GB, free: 13.5 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1)