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 1.664/1.664, allocations: 287.4 MB / 302.5 MB, free: 8.34 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.0008917/0.0008918, allocations: 178.5 kB / 371.1 MB, free: 10.83 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.316/1.316, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0006771/0.0006772, allocations: 94.94 kB / 0.7431 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005811/0.0005816, allocations: 12.39 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.201, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.00152/0.2026, allocations: 1.327 MB / 0.98 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.2036, allocations: 0.7814 MB / 0.9808 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.231e-05/0.2037, allocations: 0 / 0.9808 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.665e-05/0.2037, allocations: 7.938 kB / 0.9808 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.807e-05/0.2038, allocations: 19.78 kB / 0.9808 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000435/0.2042, allocations: 115.7 kB / 0.9809 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.2044, allocations: 139.5 kB / 0.9811 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.559e-05/0.2045, allocations: 25.33 kB / 0.9811 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.324e-05/0.2046, allocations: 55.83 kB / 0.9811 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.229e-05/0.2047, allocations: 63.8 kB / 0.9812 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.2047, allocations: 8 kB / 0.9812 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001494/0.2048, allocations: 91.84 kB / 0.9813 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.041e-05/0.2049, allocations: 31.88 kB / 0.9813 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.39e-05/0.2049, allocations: 41.64 kB / 0.9814 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000151/0.2051, allocations: 151.7 kB / 0.9815 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2051, allocations: 0 / 0.9815 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2051, allocations: 0 / 0.9815 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.2051, allocations: 0 / 0.9815 GB, free: 25.23 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.0005739/0.2057, allocations: 0.5175 MB / 0.982 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.2057, allocations: 16.02 kB / 0.982 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.857e-05/0.2058, allocations: 34.75 kB / 0.9821 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.602e-05/0.2058, allocations: 16.75 kB / 0.9821 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.127e-05/0.2059, allocations: 184.1 kB / 0.9823 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.2059, allocations: 384 / 0.9823 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.206, allocations: 8.375 kB / 0.9823 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004022/0.2064, allocations: 161.6 kB / 0.9824 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.2064, allocations: 0 / 0.9824 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.2064, allocations: 7.984 kB / 0.9824 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.2064, allocations: 0 / 0.9824 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003718/0.2068, allocations: 127.8 kB / 0.9826 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006438/0.2075, allocations: 392.6 kB / 0.9829 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003234/0.2078, allocations: 126.4 kB / 0.983 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002767/0.2081, allocations: 92.8 kB / 0.9831 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.2081, allocations: 7.984 kB / 0.9831 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003754/0.2085, allocations: 155.3 kB / 0.9833 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.814e-06/0.2085, allocations: 0 / 0.9833 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.001034/0.2095, allocations: 357.2 kB / 0.9836 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.2096, allocations: 55.41 kB / 0.9837 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.918e-05/0.2097, allocations: 150.3 kB / 0.9838 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.2097, allocations: 29.7 kB / 0.9839 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.136e-05/0.2097, allocations: 104.3 kB / 0.984 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.875e-05/0.2098, allocations: 23.89 kB / 0.984 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-06/0.2098, allocations: 0 / 0.984 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.565e-05/0.2098, allocations: 330.8 kB / 0.9843 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.2099, allocations: 47.97 kB / 0.9843 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.2101, allocations: 90.48 kB / 0.9844 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002346/0.2103, allocations: 133 kB / 0.9846 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2103, allocations: 112 / 0.9846 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003021/0.2106, allocations: 185.3 kB / 0.9847 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.2107, allocations: 4 kB / 0.9847 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.2107, allocations: 4 kB / 0.9847 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.2107, allocations: 0 / 0.9847 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.2108, allocations: 23.92 kB / 0.9848 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.2108, allocations: 4 kB / 0.9848 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.932e-05/0.2109, allocations: 24.05 kB / 0.9848 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.211, allocations: 7.938 kB / 0.9848 GB, free: 21.58 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.101e-05/0.211, allocations: 125.8 kB / 0.9849 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.886e-05/0.2111, allocations: 16.19 kB / 0.9849 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.566e-05/0.2111, allocations: 8.719 kB / 0.9849 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.2111, allocations: 4 kB / 0.9849 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.2111, allocations: 0 / 0.9849 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.2111, allocations: 7.938 kB / 0.9849 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008127/0.2119, allocations: 0.5529 MB / 0.9855 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.212, allocations: 0 / 0.9855 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.536e-05/0.212, allocations: 19.98 kB / 0.9855 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.212, allocations: 0 / 0.9855 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.2121, allocations: 3.984 kB / 0.9855 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.2121, allocations: 3.938 kB / 0.9855 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2121, allocations: 0 / 0.9855 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006672/0.2128, allocations: 359.2 kB / 0.9859 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.255e-05/0.2128, allocations: 88.92 kB / 0.9859 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.055e-05/0.2128, allocations: 4 kB / 0.9859 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/0.213, allocations: 35.91 kB / 0.986 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/0.2131, allocations: 7.984 kB / 0.986 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.2131, allocations: 7.984 kB / 0.986 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.3e-05/0.2132, allocations: 107.3 kB / 0.9861 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2132, allocations: 0 / 0.9861 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002798/0.2134, allocations: 47.98 kB / 0.9861 GB, free: 20.1 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.001022/0.2145, allocations: 0.9568 MB / 0.9871 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004565/0.2149, allocations: 163.8 kB / 0.9872 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.215, allocations: 4 kB / 0.9872 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002901/0.2152, allocations: 104.1 kB / 0.9873 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.2155, allocations: 14.47 kB / 0.9874 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.2168, allocations: 0.8595 MB / 0.9882 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.217, allocations: 0.7004 MB / 0.9889 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.244e-05/0.217, allocations: 4 kB / 0.9889 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.25e-05/0.2171, allocations: 31.42 kB / 0.9889 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2171, allocations: 0 / 0.9889 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01345/0.2305, allocations: 3.059 MB / 0.9919 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001605/0.2307, allocations: 250.5 kB / 0.9921 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.647/1.878, allocations: 2.5 kB / 0.9921 GB, free: 13.97 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)