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.425/1.425, allocations: 249.5 MB / 257 MB, free: 6.945 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009924/0.0009925, allocations: 191.2 kB / 316.3 MB, free: 3.238 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.631/1.631, allocations: 205.3 MB / 0.5671 GB, free: 15.9 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.0008963/0.0008962, allocations: 104.3 kB / 0.6714 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.016e-05/2.018e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1862, allocations: 106.4 MB / 0.8853 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7005/0.8867, allocations: 134.2 MB / 1.016 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/0.887, allocations: 79.33 kB / 1.016 GB, free: 3.246 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.009753/0.8968, allocations: 3.2 MB / 1.02 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.102e-06/0.8968, allocations: 1.031 kB / 1.02 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.8968, allocations: 4 kB / 1.02 GB, free: 0.5273 MB / 0.6355 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.000528/0.8973, allocations: 451.6 kB / 1.02 GB, free: 36 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/0.8974, allocations: 8.031 kB / 1.02 GB, free: 28 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.734e-05/0.8974, allocations: 11.84 kB / 1.02 GB, free: 16 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.8976, allocations: 171 kB / 1.02 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.8976, allocations: 4 kB / 1.02 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.8977, allocations: 4 kB / 1.02 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.369e-05/0.8978, allocations: 32.11 kB / 1.02 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.8979, allocations: 76.72 kB / 1.02 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.8979, allocations: 0 / 1.02 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.8979, allocations: 4 kB / 1.02 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.898, allocations: 4 kB / 1.02 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007031/0.8987, allocations: 318.5 kB / 1.021 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 8.281e-05/0.8988, allocations: 53.14 kB / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.154e-05/0.8988, allocations: 27.73 kB / 1.021 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.8989, allocations: 8.031 kB / 1.021 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001432/0.899, allocations: 78.62 kB / 1.021 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/0.899, allocations: 0 / 1.021 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.000302/0.8993, allocations: 123.4 kB / 1.021 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.8994, allocations: 55.41 kB / 1.021 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.499e-05/0.8995, allocations: 116.7 kB / 1.021 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.8995, allocations: 29.7 kB / 1.021 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.568e-05/0.8996, allocations: 91.61 kB / 1.021 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.8996, allocations: 15.5 kB / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.184e-06/0.8996, allocations: 0 / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.8997, allocations: 326.4 kB / 1.022 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.421e-05/0.8998, allocations: 23.31 kB / 1.022 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.79e-05/0.8999, allocations: 60.84 kB / 1.022 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.725e-05/0.8999, allocations: 31.22 kB / 1.022 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.8999, allocations: 0 / 1.022 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001611/0.9001, allocations: 103.6 kB / 1.022 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.9001, allocations: 4 kB / 1.022 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.9001, allocations: 0 / 1.022 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.9002, allocations: 4.094 kB / 1.022 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.9003, allocations: 23.92 kB / 1.022 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.9003, allocations: 4.062 kB / 1.022 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.382e-05/0.9004, allocations: 11.91 kB / 1.022 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.9004, allocations: 11.61 kB / 1.022 GB, free: 14.25 MB / 0.6511 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 () * 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.583e-05/0.9005, allocations: 108.9 kB / 1.022 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002074/0.9007, allocations: 126.9 kB / 1.022 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/0.9007, allocations: 8 kB / 1.022 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.098e-05/0.9008, allocations: 8.312 kB / 1.022 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.9008, allocations: 0 / 1.022 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.9008, allocations: 4 kB / 1.022 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.9008, allocations: 3.953 kB / 1.022 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003816/0.9012, allocations: 382 kB / 1.022 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.9012, allocations: 0 / 1.022 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.421e-05/0.9012, allocations: 7.938 kB / 1.022 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.9012, allocations: 3.938 kB / 1.022 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.9013, allocations: 11.98 kB / 1.022 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.9013, allocations: 64 / 1.022 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.9013, allocations: 7.953 kB / 1.022 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002958/0.9016, allocations: 219.8 kB / 1.023 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.863e-05/0.9016, allocations: 81.02 kB / 1.023 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.9017, allocations: 4 kB / 1.023 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.9018, allocations: 11.67 kB / 1.023 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/0.9018, allocations: 15.94 kB / 1.023 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.9019, allocations: 0 / 1.023 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.542e-05/0.9019, allocations: 94.95 kB / 1.023 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9019, allocations: 0 / 1.023 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003144/0.9022, allocations: 47.44 kB / 1.023 GB, free: 13.14 MB / 0.6511 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) * 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.0007464/0.903, allocations: 0.8144 MB / 1.024 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001513/0.9032, allocations: 68.23 kB / 1.024 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.9032, allocations: 0 / 1.024 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.844e-05/0.9033, allocations: 32.81 kB / 1.024 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001898/0.9034, allocations: 18.84 kB / 1.024 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004736/0.9039, allocations: 175.2 kB / 1.024 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.9042, allocations: 0.6924 MB / 1.025 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.305e-05/0.9042, allocations: 7.984 kB / 1.025 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5e-05/0.9043, allocations: 20.31 kB / 1.025 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of SimCode: time 2.71e-07/0.9043, allocations: 0 / 1.025 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02245/0.9267, allocations: 2.514 MB / 1.027 GB, free: 8.832 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002461/0.9271, allocations: 191.5 kB / 1.027 GB, free: 8.645 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.448/2.375, allocations: 0 / 1.027 GB, free: 8.645 MB / 0.6511 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)