Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.658/2.658, allocations: 287.3 MB / 302.3 MB, free: 8.355 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.002265/0.002265, allocations: 179.1 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.412/2.412, allocations: 205.4 MB / 0.6295 GB, free: 10.56 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.00113/0.00113, allocations: 93.09 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006414/0.0006416, allocations: 11.89 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2203, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.001915/0.2223, allocations: 1.317 MB / 0.9796 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001662/0.224, allocations: 0.7806 MB / 0.9803 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.414e-05/0.2241, allocations: 0 / 0.9803 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.559e-05/0.2241, allocations: 7.922 kB / 0.9803 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.94e-05/0.2243, allocations: 15.97 kB / 0.9804 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006323/0.2249, allocations: 123.6 kB / 0.9805 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.2251, allocations: 87.81 kB / 0.9806 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.2252, allocations: 25.39 kB / 0.9806 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.2253, allocations: 51.89 kB / 0.9806 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.2255, allocations: 71.72 kB / 0.9807 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.825e-05/0.2255, allocations: 11.94 kB / 0.9807 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001987/0.2257, allocations: 71.86 kB / 0.9808 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.135e-05/0.2258, allocations: 23.91 kB / 0.9808 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.733e-05/0.2258, allocations: 45.64 kB / 0.9808 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002324/0.2261, allocations: 147.7 kB / 0.981 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.2261, allocations: 0 / 0.981 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2261, allocations: 0 / 0.981 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.2261, allocations: 0 / 0.981 GB, free: 25.47 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.0008413/0.227, allocations: 0.5212 MB / 0.9815 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.227, allocations: 8.031 kB / 0.9815 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.041e-05/0.2271, allocations: 42.56 kB / 0.9815 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.947e-05/0.2271, allocations: 15.77 kB / 0.9816 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.2273, allocations: 189.5 kB / 0.9817 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.2273, allocations: 4 kB / 0.9817 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.386e-05/0.2274, allocations: 8 kB / 0.9818 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000703/0.2281, allocations: 157.5 kB / 0.9819 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.2281, allocations: 0 / 0.9819 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.311e-05/0.2281, allocations: 0 / 0.9819 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.2281, allocations: 0 / 0.9819 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007116/0.2289, allocations: 123.9 kB / 0.982 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.2299, allocations: 396.5 kB / 0.9824 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006275/0.2306, allocations: 122.5 kB / 0.9825 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.197e-05/0.2306, allocations: 4.141 kB / 0.9825 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006884/0.2313, allocations: 159.2 kB / 0.9827 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 3.226e-06/0.2313, allocations: 0 / 0.9827 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.00191/0.2333, allocations: 353.2 kB / 0.983 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.2333, allocations: 59.41 kB / 0.9831 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.2335, allocations: 143.1 kB / 0.9832 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.2335, allocations: 34.08 kB / 0.9832 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.881e-05/0.2336, allocations: 104.3 kB / 0.9833 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.153e-05/0.2336, allocations: 15.75 kB / 0.9833 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.287e-05/0.2337, allocations: 4 kB / 0.9834 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.963e-05/0.2337, allocations: 326.8 kB / 0.9837 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/0.234, allocations: 47.97 kB / 0.9837 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002377/0.2342, allocations: 81.12 kB / 0.9838 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002414/0.2345, allocations: 59.91 kB / 0.9838 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.2345, allocations: 112 / 0.9838 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006203/0.2351, allocations: 185.3 kB / 0.984 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.2352, allocations: 4 kB / 0.984 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.2352, allocations: 4 kB / 0.984 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.2352, allocations: 4.078 kB / 0.984 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/0.2355, allocations: 27.98 kB / 0.9841 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.2355, allocations: 4 kB / 0.9841 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/0.2357, allocations: 19.98 kB / 0.9841 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/0.2357, allocations: 7.938 kB / 0.9841 GB, free: 22.03 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 0.0001575/0.2359, allocations: 121.4 kB / 0.9842 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.909e-05/0.236, allocations: 23.8 kB / 0.9842 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.402e-05/0.236, allocations: 8.719 kB / 0.9842 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.236, allocations: 0 / 0.9842 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.236, allocations: 7.953 kB / 0.9842 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.2361, allocations: 0 / 0.9842 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001634/0.2377, allocations: 0.5568 MB / 0.9848 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.2378, allocations: 0 / 0.9848 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/0.2379, allocations: 11.98 kB / 0.9848 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.257e-06/0.238, allocations: 4 kB / 0.9848 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.021e-05/0.238, allocations: 7.938 kB / 0.9848 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.238, allocations: 3.938 kB / 0.9848 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.238, allocations: 4 kB / 0.9848 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/0.2394, allocations: 355.2 kB / 0.9852 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.796e-05/0.2394, allocations: 88.91 kB / 0.9852 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.658e-05/0.2395, allocations: 8.188 kB / 0.9852 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003717/0.2398, allocations: 31.92 kB / 0.9853 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.978e-05/0.2399, allocations: 11.92 kB / 0.9853 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.468e-05/0.24, allocations: 4 kB / 0.9853 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.78e-05/0.2401, allocations: 119.3 kB / 0.9854 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2401, allocations: 0 / 0.9854 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004564/0.2405, allocations: 47.98 kB / 0.9855 GB, free: 20.54 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.001795/0.2423, allocations: 0.9335 MB / 0.9864 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009093/0.2433, allocations: 172.1 kB / 0.9865 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.2433, allocations: 0 / 0.9865 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005706/0.2439, allocations: 108 kB / 0.9866 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/0.2441, allocations: 15.89 kB / 0.9866 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.2456, allocations: 1.286 MB / 0.9879 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000161/0.2458, allocations: 0.7043 MB / 0.9886 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.934e-05/0.2459, allocations: 11.84 kB / 0.9886 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.401e-05/0.246, allocations: 31.42 kB / 0.9886 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of SimCode: time 9.32e-07/0.246, allocations: 0 / 0.9886 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02719/0.2732, allocations: 3.061 MB / 0.9916 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000237/0.2735, allocations: 251 kB / 0.9919 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.602/2.876, allocations: 0 / 0.9919 GB, free: 13.96 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1)