Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",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.452/1.452, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.001592/0.001592, allocations: 173.5 kB / 325.8 MB, free: 2.691 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.846/1.846, allocations: 205 MB / 0.576 GB, free: 21 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.0007356/0.0007356, allocations: 100 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000345/0.0003452, allocations: 11.56 kB / 0.7932 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2021, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.001602/0.2037, allocations: 1.254 MB / 0.8974 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.205, allocations: 0.8078 MB / 0.8982 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.418e-05/0.205, allocations: 3.938 kB / 0.8982 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.194e-05/0.2051, allocations: 0 / 0.8982 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.012e-05/0.2052, allocations: 15.84 kB / 0.8982 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005797/0.2057, allocations: 115.8 kB / 0.8983 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.2059, allocations: 95.77 kB / 0.8984 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.44e-05/0.206, allocations: 11.98 kB / 0.8984 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.2061, allocations: 47.83 kB / 0.8985 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.813e-05/0.2062, allocations: 47.81 kB / 0.8985 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.2062, allocations: 4 kB / 0.8985 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001889/0.2064, allocations: 91.91 kB / 0.8986 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.916e-05/0.2064, allocations: 19.91 kB / 0.8986 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.96e-05/0.2065, allocations: 39.78 kB / 0.8987 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002111/0.2067, allocations: 167.5 kB / 0.8988 GB, free: 65.35 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2067, allocations: 0 / 0.8988 GB, free: 65.35 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.913e-06/0.2067, allocations: 0 / 0.8988 GB, free: 65.35 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.2067, allocations: 0 / 0.8988 GB, free: 65.35 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.0005227/0.2073, allocations: 438.7 kB / 0.8993 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.2073, allocations: 8.031 kB / 0.8993 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.664e-05/0.2073, allocations: 38.73 kB / 0.8993 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.003e-05/0.2074, allocations: 12.84 kB / 0.8993 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.084e-05/0.2075, allocations: 172.2 kB / 0.8995 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.69e-05/0.2075, allocations: 4.375 kB / 0.8995 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.2075, allocations: 12.36 kB / 0.8995 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002224/0.2078, allocations: 93.69 kB / 0.8996 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.2078, allocations: 0 / 0.8996 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.2078, allocations: 4 kB / 0.8996 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2078, allocations: 0 / 0.8996 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001625/0.208, allocations: 55.97 kB / 0.8996 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006794/0.2087, allocations: 352.7 kB / 0.9 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.2088, allocations: 62.55 kB / 0.9 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.209, allocations: 48.83 kB / 0.9001 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.209, allocations: 0 / 0.9001 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002083/0.2092, allocations: 103.4 kB / 0.9002 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.2092, allocations: 0 / 0.9002 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0004854/0.2097, allocations: 205.7 kB / 0.9004 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.2098, allocations: 51.41 kB / 0.9004 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.873e-05/0.2098, allocations: 133.7 kB / 0.9006 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.2098, allocations: 29.7 kB / 0.9006 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.278e-05/0.2099, allocations: 92.12 kB / 0.9007 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.683e-05/0.2099, allocations: 15.75 kB / 0.9007 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.763e-05/0.2099, allocations: 25.7 kB / 0.9007 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.46e-05/0.21, allocations: 318.8 kB / 0.901 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.039e-05/0.2101, allocations: 39.97 kB / 0.9011 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.927e-05/0.2102, allocations: 71.28 kB / 0.9011 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.2103, allocations: 108.1 kB / 0.9012 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2103, allocations: 0 / 0.9012 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002291/0.2106, allocations: 137.5 kB / 0.9014 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.2106, allocations: 8 kB / 0.9014 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.2106, allocations: 3.938 kB / 0.9014 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.2106, allocations: 4 kB / 0.9014 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.2107, allocations: 15.92 kB / 0.9014 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.2108, allocations: 4 kB / 0.9014 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.492e-05/0.2108, allocations: 4 kB / 0.9014 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.2109, allocations: 8 kB / 0.9014 GB, free: 62.45 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.228e-05/0.2109, allocations: 129.8 kB / 0.9015 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.817e-05/0.211, allocations: 7.906 kB / 0.9015 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.552e-05/0.211, allocations: 8.375 kB / 0.9015 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.211, allocations: 4 kB / 0.9015 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.211, allocations: 0 / 0.9015 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.211, allocations: 3.938 kB / 0.9016 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004579/0.2115, allocations: 442.2 kB / 0.902 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.2115, allocations: 0 / 0.902 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.723e-05/0.2115, allocations: 8 kB / 0.902 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.2115, allocations: 0 / 0.902 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.2116, allocations: 3.984 kB / 0.902 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2116, allocations: 0 / 0.902 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.2116, allocations: 3.938 kB / 0.902 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003215/0.2119, allocations: 255.3 kB / 0.9022 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.946e-05/0.2119, allocations: 81.02 kB / 0.9023 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.212, allocations: 7.984 kB / 0.9023 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.2121, allocations: 12.06 kB / 0.9023 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/0.2122, allocations: 15.92 kB / 0.9023 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.2122, allocations: 7.938 kB / 0.9024 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.546e-05/0.2122, allocations: 91.27 kB / 0.9024 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2122, allocations: 0 / 0.9024 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002785/0.2125, allocations: 43.98 kB / 0.9025 GB, free: 61.25 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.0007127/0.2132, allocations: 0.8517 MB / 0.9033 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002539/0.2135, allocations: 99.88 kB / 0.9034 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2135, allocations: 0 / 0.9034 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.2136, allocations: 51.97 kB / 0.9035 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.2139, allocations: 13.81 kB / 0.9035 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.2152, allocations: 1.599 MB / 0.905 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.806e-05/0.2153, allocations: 0.6901 MB / 0.9057 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.184e-05/0.2153, allocations: 7.984 kB / 0.9057 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.088e-05/0.2154, allocations: 21.06 kB / 0.9057 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.2154, allocations: 0 / 0.9057 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01156/0.227, allocations: 2.68 MB / 0.9084 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001391/0.2271, allocations: 268.8 kB / 0.9086 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.702/1.929, allocations: 3.938 kB / 0.9086 GB, free: 54.9 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1)