Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Yun2008WindowsTOut,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",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.001624/0.001624, allocations: 100 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.002094/0.002094, 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.125/3.125, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.066/3.066, allocations: 292.6 MB / 0.5497 GB, free: 14.62 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.001017/0.001017, allocations: 16.09 kB / 0.6737 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5227/0.5238, allocations: 116.3 MB / 0.7872 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.003371/0.5272, allocations: 1.216 MB / 0.7884 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002121/0.5294, allocations: 0.7454 MB / 0.7891 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.813e-05/0.5296, allocations: 4 kB / 0.7891 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.977e-05/0.5296, allocations: 3.984 kB / 0.7892 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001259/0.5298, allocations: 19.91 kB / 0.7892 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009633/0.5307, allocations: 99.73 kB / 0.7893 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001996/0.5309, allocations: 59.86 kB / 0.7893 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.5311, allocations: 4.281 kB / 0.7893 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.5313, allocations: 51.83 kB / 0.7894 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.5315, allocations: 47.81 kB / 0.7894 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.431e-05/0.5315, allocations: 4 kB / 0.7894 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002905/0.5318, allocations: 63.94 kB / 0.7895 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.195e-05/0.5319, allocations: 27.89 kB / 0.7895 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.45e-05/0.5319, allocations: 37.7 kB / 0.7895 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000309/0.5323, allocations: 107.7 kB / 0.7897 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.5323, allocations: 0 / 0.7897 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.877e-06/0.5323, allocations: 0 / 0.7897 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.667e-06/0.5323, allocations: 0 / 0.7897 GB, free: 9.391 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.001296/0.5336, allocations: 462.3 kB / 0.7901 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 8.163e-05/0.5337, allocations: 8.031 kB / 0.7901 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.277e-05/0.5338, allocations: 34.56 kB / 0.7901 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.052e-05/0.5339, allocations: 7.906 kB / 0.7901 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003353/0.5342, allocations: 174.2 kB / 0.7903 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.742e-05/0.5343, allocations: 7.984 kB / 0.7903 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.5343, allocations: 4 kB / 0.7903 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003699/0.5347, allocations: 93.58 kB / 0.7904 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.5347, allocations: 3.938 kB / 0.7904 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/0.5348, allocations: 3.984 kB / 0.7904 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.916e-06/0.5348, allocations: 0 / 0.7904 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000255/0.535, allocations: 51.97 kB / 0.7905 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/0.5365, allocations: 348.7 kB / 0.7908 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002566/0.5367, allocations: 62.59 kB / 0.7909 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.413e-05/0.5368, allocations: 7.984 kB / 0.7909 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003832/0.5372, allocations: 91.36 kB / 0.791 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.654e-06/0.5372, allocations: 0 / 0.791 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0008071/0.538, allocations: 193.5 kB / 0.7911 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.721e-05/0.5381, allocations: 63.3 kB / 0.7912 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.5383, allocations: 129.7 kB / 0.7913 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.185e-05/0.5383, allocations: 25.7 kB / 0.7913 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.5384, allocations: 100.3 kB / 0.7914 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.519e-05/0.5385, allocations: 15.81 kB / 0.7915 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.466e-06/0.5385, allocations: 4 kB / 0.7915 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002223/0.5387, allocations: 322.8 kB / 0.7918 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.5389, allocations: 27.98 kB / 0.7918 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001791/0.539, allocations: 64.27 kB / 0.7919 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.5392, allocations: 39.98 kB / 0.7919 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/0.5392, allocations: 4 kB / 0.7919 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004916/0.5397, allocations: 141.5 kB / 0.792 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.212e-05/0.5398, allocations: 4 kB / 0.792 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.5398, allocations: 0 / 0.792 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.4e-05/0.5398, allocations: 4 kB / 0.792 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.54, allocations: 23.86 kB / 0.7921 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.54, allocations: 0 / 0.7921 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.5402, allocations: 27.78 kB / 0.7921 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.351e-05/0.5402, allocations: 4 kB / 0.7921 GB, free: 6.637 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.0002342/0.5404, allocations: 117.9 kB / 0.7922 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.357e-05/0.5405, allocations: 4 kB / 0.7922 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.717e-05/0.5405, allocations: 8.375 kB / 0.7922 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/0.5405, allocations: 4 kB / 0.7922 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.5406, allocations: 0 / 0.7922 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.5406, allocations: 4.047 kB / 0.7922 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008978/0.5415, allocations: 442.3 kB / 0.7926 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.5415, allocations: 0 / 0.7926 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.85e-05/0.5415, allocations: 4 kB / 0.7927 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.5416, allocations: 0 / 0.7927 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.437e-05/0.5416, allocations: 11.98 kB / 0.7927 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.5416, allocations: 0 / 0.7927 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.5416, allocations: 7.891 kB / 0.7927 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005531/0.5422, allocations: 251.3 kB / 0.7929 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.455e-05/0.5423, allocations: 84.95 kB / 0.793 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.08e-05/0.5423, allocations: 4 kB / 0.793 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.5425, allocations: 7.984 kB / 0.793 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.502e-05/0.5426, allocations: 7.953 kB / 0.793 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/0.5426, allocations: 11.98 kB / 0.793 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.5e-05/0.5427, allocations: 98.27 kB / 0.7931 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5427, allocations: 0 / 0.7931 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005826/0.5433, allocations: 40 kB / 0.7932 GB, free: 5.453 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.0016/0.5449, allocations: 0.8332 MB / 0.794 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004626/0.5454, allocations: 103.9 kB / 0.7941 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.5454, allocations: 3.938 kB / 0.7941 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001977/0.5456, allocations: 48.52 kB / 0.7941 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.546, allocations: 11.94 kB / 0.7941 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.5477, allocations: 1.057 MB / 0.7952 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007797/0.5485, allocations: 0.6926 MB / 0.7958 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.623e-05/0.5486, allocations: 11.98 kB / 0.7958 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.344e-05/0.5487, allocations: 19.44 kB / 0.7959 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of SimCode: time 6.51e-07/0.5487, allocations: 0 / 0.7959 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02211/0.5708, allocations: 2.619 MB / 0.7984 GB, free: 108 kB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003138/0.5712, allocations: 232.2 kB / 0.7986 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.384/3.955, allocations: 3.375 kB / 0.7986 GB, free: 15.87 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) Environment - environmentSimulation: