Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 98.69 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001675/0.001675, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.44/3.44, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 3.233/3.233, allocations: 292.6 MB / 0.5497 GB, free: 14.6 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008758/0.0008761, allocations: 11.19 kB / 0.6737 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4633/0.4642, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002455/0.4668, allocations: 1.216 MB / 0.7884 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001688/0.4685, allocations: 0.7455 MB / 0.7891 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.495e-05/0.4686, allocations: 0 / 0.7891 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.486e-05/0.4686, allocations: 3.938 kB / 0.7892 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.415e-05/0.4687, allocations: 15.97 kB / 0.7892 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006946/0.4694, allocations: 103.7 kB / 0.7893 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.4696, allocations: 59.84 kB / 0.7893 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.4697, allocations: 12.28 kB / 0.7893 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.4698, allocations: 39.84 kB / 0.7894 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.47, allocations: 55.81 kB / 0.7894 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.47, allocations: 4 kB / 0.7894 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001953/0.4702, allocations: 67.92 kB / 0.7895 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.828e-05/0.4703, allocations: 19.91 kB / 0.7895 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.032e-05/0.4703, allocations: 33.7 kB / 0.7895 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000258/0.4706, allocations: 115.7 kB / 0.7897 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.4706, allocations: 0 / 0.7897 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.236e-06/0.4706, allocations: 3.938 kB / 0.7897 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.4706, allocations: 0 / 0.7897 GB, free: 9.371 MB / 0.6075 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.0008698/0.4715, allocations: 450.4 kB / 0.7901 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.711e-05/0.4716, allocations: 12.03 kB / 0.7901 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.343e-05/0.4716, allocations: 34.56 kB / 0.7901 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.041e-05/0.4717, allocations: 7.906 kB / 0.7901 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/0.4719, allocations: 174.9 kB / 0.7903 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.688e-05/0.472, allocations: 11.98 kB / 0.7903 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.472, allocations: 4 kB / 0.7903 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003245/0.4723, allocations: 97.5 kB / 0.7904 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.4724, allocations: 0 / 0.7904 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/0.4724, allocations: 4 kB / 0.7904 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.4724, allocations: 3.984 kB / 0.7904 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000207/0.4726, allocations: 51.97 kB / 0.7905 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009747/0.4736, allocations: 348.7 kB / 0.7908 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.4738, allocations: 62.58 kB / 0.7909 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.417e-05/0.4739, allocations: 8 kB / 0.7909 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003053/0.4742, allocations: 95.34 kB / 0.791 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.263e-06/0.4742, allocations: 0 / 0.791 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.000686/0.4749, allocations: 205.6 kB / 0.7912 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.926e-05/0.475, allocations: 59.36 kB / 0.7912 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.4751, allocations: 125.7 kB / 0.7913 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.4752, allocations: 29.7 kB / 0.7914 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.532e-05/0.4752, allocations: 92.14 kB / 0.7915 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.4753, allocations: 11.81 kB / 0.7915 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.626e-06/0.4753, allocations: 4 kB / 0.7915 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.4755, allocations: 322.8 kB / 0.7918 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.828e-05/0.4756, allocations: 35.97 kB / 0.7918 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.4757, allocations: 60.28 kB / 0.7919 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.4758, allocations: 39.98 kB / 0.7919 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4758, allocations: 0 / 0.7919 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003103/0.4761, allocations: 137.4 kB / 0.792 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.4762, allocations: 12.09 kB / 0.792 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.4762, allocations: 0 / 0.792 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.4762, allocations: 4 kB / 0.7921 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.4764, allocations: 19.86 kB / 0.7921 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.4764, allocations: 4 kB / 0.7921 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.552e-05/0.4765, allocations: 19.8 kB / 0.7921 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/0.4765, allocations: 4.312 kB / 0.7921 GB, free: 6.617 MB / 0.6075 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 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$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.0001704/0.4767, allocations: 125.8 kB / 0.7922 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.708e-05/0.4767, allocations: 4 kB / 0.7922 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.624e-05/0.4767, allocations: 8.375 kB / 0.7922 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.4767, allocations: 0 / 0.7922 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.4768, allocations: 4 kB / 0.7922 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.4768, allocations: 64 / 0.7922 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00071/0.4775, allocations: 450.2 kB / 0.7927 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.4775, allocations: 3.938 kB / 0.7927 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.972e-05/0.4775, allocations: 4 kB / 0.7927 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.4776, allocations: 4 kB / 0.7927 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.4776, allocations: 3.984 kB / 0.7927 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.4776, allocations: 0 / 0.7927 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.4776, allocations: 3.953 kB / 0.7927 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004639/0.4781, allocations: 259.3 kB / 0.7929 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.059e-05/0.4781, allocations: 84.95 kB / 0.793 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.259e-05/0.4782, allocations: 7.984 kB / 0.793 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.4783, allocations: 8 kB / 0.793 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.222e-05/0.4784, allocations: 11.94 kB / 0.793 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.4784, allocations: 4 kB / 0.793 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.502e-05/0.4785, allocations: 102.5 kB / 0.7931 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4785, allocations: 0 / 0.7931 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003983/0.4789, allocations: 43.98 kB / 0.7932 GB, free: 5.41 MB / 0.6075 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 (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.001266/0.4802, allocations: 0.8334 MB / 0.794 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003813/0.4806, allocations: 103.9 kB / 0.7941 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.4806, allocations: 3.938 kB / 0.7941 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001659/0.4808, allocations: 51.97 kB / 0.7941 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.481, allocations: 7.938 kB / 0.7942 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.4823, allocations: 1.059 MB / 0.7952 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005087/0.4828, allocations: 0.6887 MB / 0.7959 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.312e-05/0.4829, allocations: 11.98 kB / 0.7959 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.164e-05/0.483, allocations: 23.42 kB / 0.7959 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of SimCode: time 8.62e-07/0.483, allocations: 0 / 0.7959 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02061/0.5036, allocations: 2.638 MB / 0.7985 GB, free: 48 kB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003394/0.5041, allocations: 237.3 kB / 0.7987 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.42/3.924, allocations: 0 / 0.7987 GB, free: 15.8 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) Environment - environmentSimulation: