Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Yun2008WindowsTOut,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",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.391/1.391, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.001043/0.001043, allocations: 174.4 kB / 325.8 MB, free: 2.699 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.819/1.819, allocations: 205 MB / 0.576 GB, free: 21.03 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.0007265/0.0007265, allocations: 93.22 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003033/0.0003033, allocations: 9 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.1951, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.001581/0.1967, allocations: 1.254 MB / 0.8974 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001182/0.1979, allocations: 0.8117 MB / 0.8982 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.111e-05/0.198, allocations: 3.938 kB / 0.8982 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.236e-05/0.198, allocations: 0 / 0.8982 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.535e-05/0.1981, allocations: 11.88 kB / 0.8982 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004728/0.1986, allocations: 115.7 kB / 0.8983 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.374e-05/0.1987, allocations: 99.75 kB / 0.8984 GB, free: 65.78 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.127e-05/0.1988, allocations: 8 kB / 0.8984 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.872e-05/0.1989, allocations: 47.83 kB / 0.8985 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.975e-05/0.1989, allocations: 43.83 kB / 0.8985 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.199, allocations: 4 kB / 0.8985 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/0.1991, allocations: 87.91 kB / 0.8986 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.691e-05/0.1992, allocations: 31.83 kB / 0.8986 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.438e-05/0.1992, allocations: 39.73 kB / 0.8987 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000192/0.1994, allocations: 159.6 kB / 0.8988 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1994, allocations: 0 / 0.8988 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.414e-06/0.1994, allocations: 0 / 0.8988 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.898e-06/0.1994, allocations: 0 / 0.8988 GB, free: 65.36 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005483/0.2, allocations: 438.7 kB / 0.8993 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.2001, allocations: 12.03 kB / 0.8993 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.483e-05/0.2001, allocations: 34.73 kB / 0.8993 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.653e-05/0.2001, allocations: 12.84 kB / 0.8993 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.56e-05/0.2002, allocations: 172.2 kB / 0.8995 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.2002, allocations: 8.375 kB / 0.8995 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.2003, allocations: 4.375 kB / 0.8995 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002293/0.2005, allocations: 97.69 kB / 0.8996 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.2005, allocations: 0 / 0.8996 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.2005, allocations: 0 / 0.8996 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.2005, allocations: 0 / 0.8996 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001594/0.2007, allocations: 63.95 kB / 0.8996 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000617/0.2013, allocations: 344.7 kB / 0.9 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.2015, allocations: 62.55 kB / 0.9 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.2016, allocations: 44.83 kB / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.2016, allocations: 0 / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001966/0.2018, allocations: 99.36 kB / 0.9002 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.693e-06/0.2018, allocations: 0 / 0.9002 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0004573/0.2023, allocations: 193.5 kB / 0.9004 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.2023, allocations: 59.39 kB / 0.9004 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.631e-05/0.2024, allocations: 129.7 kB / 0.9005 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.2024, allocations: 29.7 kB / 0.9006 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.607e-05/0.2025, allocations: 96.27 kB / 0.9007 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/0.2025, allocations: 19.75 kB / 0.9007 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.567e-05/0.2025, allocations: 21.7 kB / 0.9007 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.843e-05/0.2026, allocations: 322.8 kB / 0.901 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.631e-05/0.2027, allocations: 35.97 kB / 0.901 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.83e-05/0.2028, allocations: 66.16 kB / 0.9011 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.2029, allocations: 108.1 kB / 0.9012 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2029, allocations: 0 / 0.9012 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002194/0.2032, allocations: 141.5 kB / 0.9013 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.2032, allocations: 4 kB / 0.9013 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.2032, allocations: 4 kB / 0.9013 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.2032, allocations: 0 / 0.9013 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.955e-05/0.2033, allocations: 19.92 kB / 0.9014 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.2033, allocations: 4 kB / 0.9014 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.892e-05/0.2034, allocations: 8 kB / 0.9014 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.2034, allocations: 4.312 kB / 0.9014 GB, free: 62.48 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,occ.y,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.212e-05/0.2035, allocations: 129.8 kB / 0.9015 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.611e-05/0.2035, allocations: 3.953 kB / 0.9015 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.696e-05/0.2036, allocations: 16.36 kB / 0.9015 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.2036, allocations: 3.938 kB / 0.9015 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.2036, allocations: 0 / 0.9015 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2036, allocations: 0 / 0.9015 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004303/0.204, allocations: 446.2 kB / 0.902 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.204, allocations: 0 / 0.902 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.751e-05/0.2041, allocations: 7.984 kB / 0.902 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2041, allocations: 0 / 0.902 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.2041, allocations: 0 / 0.902 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.2041, allocations: 3.984 kB / 0.902 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.2041, allocations: 11.88 kB / 0.902 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003011/0.2044, allocations: 247.4 kB / 0.9022 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.27e-05/0.2044, allocations: 81.08 kB / 0.9023 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.413e-05/0.2045, allocations: 8 kB / 0.9023 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.2046, allocations: 11.98 kB / 0.9023 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/0.2046, allocations: 7.938 kB / 0.9023 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.2047, allocations: 11.92 kB / 0.9023 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.726e-05/0.2047, allocations: 99.27 kB / 0.9024 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2047, allocations: 0 / 0.9024 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002601/0.205, allocations: 40 kB / 0.9025 GB, free: 61.28 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0007029/0.2057, allocations: 0.8368 MB / 0.9033 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002423/0.2059, allocations: 99.86 kB / 0.9034 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2059, allocations: 0 / 0.9034 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.2061, allocations: 47.98 kB / 0.9034 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.2063, allocations: 15.92 kB / 0.9034 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.2076, allocations: 1.587 MB / 0.905 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.2077, allocations: 0.6926 MB / 0.9057 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.676e-05/0.2077, allocations: 4.094 kB / 0.9057 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.81e-05/0.2078, allocations: 25.55 kB / 0.9057 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.2078, allocations: 0 / 0.9057 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01132/0.2191, allocations: 2.671 MB / 0.9083 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001397/0.2193, allocations: 269 kB / 0.9086 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.548/1.767, allocations: 4 kB / 0.9086 GB, free: 54.96 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1)