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.41/1.41, allocations: 249.5 MB / 257 MB, free: 6.867 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.001332/0.001332, allocations: 180.8 kB / 316.3 MB, free: 3.23 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.647/1.647, allocations: 205.3 MB / 0.5671 GB, free: 15.83 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.0009171/0.0009172, allocations: 92.44 kB / 0.6714 GB, free: 4.945 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.042e-05/3.035e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.2001, allocations: 106.4 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7042/0.9045, allocations: 134.2 MB / 1.016 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.9048, allocations: 84 kB / 1.016 GB, free: 3.125 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.009761/0.9145, allocations: 3.21 MB / 1.02 GB, free: 412 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.162e-06/0.9146, allocations: 4 kB / 1.02 GB, free: 408 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.9146, allocations: 0 / 1.02 GB, free: 408 kB / 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.0005933/0.9152, allocations: 445.5 kB / 1.02 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.9153, allocations: 8.031 kB / 1.02 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.782e-05/0.9153, allocations: 19.66 kB / 1.02 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.9155, allocations: 171 kB / 1.02 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.126e-05/0.9155, allocations: 7.984 kB / 1.02 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.9155, allocations: 4 kB / 1.02 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.707e-05/0.9156, allocations: 27.38 kB / 1.02 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.9157, allocations: 72.66 kB / 1.02 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.9158, allocations: 3.984 kB / 1.02 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.9158, allocations: 0 / 1.02 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.9158, allocations: 0.8438 kB / 1.02 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006918/0.9165, allocations: 323.5 kB / 1.021 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 9.983e-05/0.9166, allocations: 49.44 kB / 1.021 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.548e-05/0.9167, allocations: 32.58 kB / 1.021 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.9167, allocations: 3.938 kB / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001482/0.9169, allocations: 86.67 kB / 1.021 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.9169, allocations: 0 / 1.021 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.0003392/0.9172, allocations: 124.5 kB / 1.021 GB, free: 15 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.9173, allocations: 59.28 kB / 1.021 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.9174, allocations: 114.5 kB / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.9174, allocations: 25.7 kB / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.485e-05/0.9175, allocations: 95.92 kB / 1.021 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.9175, allocations: 19.69 kB / 1.021 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-06/0.9175, allocations: 0 / 1.021 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.9177, allocations: 326.5 kB / 1.022 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.385e-05/0.9177, allocations: 19.5 kB / 1.022 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.932e-05/0.9178, allocations: 60.03 kB / 1.022 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.794e-05/0.9179, allocations: 31.23 kB / 1.022 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.9179, allocations: 4 kB / 1.022 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000158/0.918, allocations: 96.95 kB / 1.022 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.9181, allocations: 8 kB / 1.022 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.9181, allocations: 0 / 1.022 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.9181, allocations: 4 kB / 1.022 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.9182, allocations: 19.73 kB / 1.022 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.9182, allocations: 4 kB / 1.022 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.12e-05/0.9183, allocations: 12 kB / 1.022 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.9183, allocations: 7.984 kB / 1.022 GB, free: 14.12 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 9.033e-05/0.9184, allocations: 112.9 kB / 1.022 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002254/0.9187, allocations: 127.8 kB / 1.022 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.462e-05/0.9187, allocations: 4 kB / 1.022 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.25e-05/0.9187, allocations: 8.438 kB / 1.022 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.9187, allocations: 0 / 1.022 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.9187, allocations: 4 kB / 1.022 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.9188, allocations: 7.953 kB / 1.022 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003934/0.9191, allocations: 381 kB / 1.022 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.9192, allocations: 0 / 1.022 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.224e-05/0.9192, allocations: 7.938 kB / 1.022 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.9192, allocations: 0 / 1.022 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.9192, allocations: 7.984 kB / 1.022 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.9193, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.9193, allocations: 3.953 kB / 1.022 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002363/0.9195, allocations: 226.2 kB / 1.023 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.666e-05/0.9195, allocations: 85.05 kB / 1.023 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.9196, allocations: 4 kB / 1.023 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.9197, allocations: 7.984 kB / 1.023 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/0.9198, allocations: 11.94 kB / 1.023 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.9198, allocations: 4.062 kB / 1.023 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.272e-05/0.9198, allocations: 103.1 kB / 1.023 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9198, allocations: 0 / 1.023 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003285/0.9202, allocations: 47.94 kB / 1.023 GB, free: 13 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.00073/0.9209, allocations: 0.8116 MB / 1.024 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001518/0.9211, allocations: 67.11 kB / 1.024 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.9211, allocations: 0 / 1.024 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.207e-05/0.9211, allocations: 39.12 kB / 1.024 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001881/0.9213, allocations: 11.92 kB / 1.024 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004512/0.9218, allocations: 176.8 kB / 1.024 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/0.922, allocations: 0.6963 MB / 1.025 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.072e-05/0.9221, allocations: 4 kB / 1.025 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.306e-05/0.9221, allocations: 23.11 kB / 1.025 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of SimCode: time 2.51e-07/0.9221, allocations: 0 / 1.025 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01805/0.9402, allocations: 2.519 MB / 1.027 GB, free: 8.691 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001613/0.9404, allocations: 197 kB / 1.027 GB, free: 8.496 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.483/2.423, allocations: 3.125 kB / 1.027 GB, free: 8.496 MB / 0.6511 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)