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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.948/1.948, allocations: 292.6 MB / 307.5 MB, free: 5.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 185 kB / 377.1 MB, free: 1.516 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.549/1.549, allocations: 205.4 MB / 0.6366 GB, free: 8.633 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009137/0.0009137, allocations: 92.94 kB / 0.7509 GB, free: 63.19 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003637/0.0003637, allocations: 8 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2866, allocations: 116.3 MB / 0.9884 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7953/1.082, allocations: 141.2 MB / 1.126 GB, free: 33.82 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/1.082, allocations: 83.19 kB / 1.126 GB, free: 33.76 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.009896/1.092, allocations: 3.225 MB / 1.13 GB, free: 31.45 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.517e-06/1.092, allocations: 0 / 1.13 GB, free: 31.45 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.089e-05/1.092, allocations: 4 kB / 1.13 GB, free: 31.44 MB / 0.7292 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.0005303/1.093, allocations: 465.3 kB / 1.13 GB, free: 30.94 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/1.093, allocations: 12.02 kB / 1.13 GB, free: 30.93 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.507e-05/1.093, allocations: 46.31 kB / 1.13 GB, free: 30.88 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.986e-05/1.093, allocations: 9.969 kB / 1.13 GB, free: 30.87 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/1.093, allocations: 167 kB / 1.13 GB, free: 30.67 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/1.093, allocations: 13.38 kB / 1.13 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/1.093, allocations: 8 kB / 1.13 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002262/1.093, allocations: 83.22 kB / 1.13 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/1.093, allocations: 0 / 1.13 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/1.093, allocations: 4 kB / 1.13 GB, free: 30.58 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/1.093, allocations: 4 kB / 1.13 GB, free: 30.58 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001547/1.094, allocations: 51.02 kB / 1.13 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007102/1.094, allocations: 346.8 kB / 1.131 GB, free: 30.2 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/1.094, allocations: 62.92 kB / 1.131 GB, free: 30.13 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/1.094, allocations: 4 kB / 1.131 GB, free: 30.13 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000195/1.095, allocations: 101 kB / 1.131 GB, free: 30.04 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/1.095, allocations: 0.9375 kB / 1.131 GB, free: 30.04 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.000504/1.095, allocations: 190.6 kB / 1.131 GB, free: 29.87 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/1.095, allocations: 54.92 kB / 1.131 GB, free: 29.8 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.652e-05/1.095, allocations: 120.6 kB / 1.131 GB, free: 29.68 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/1.095, allocations: 29.7 kB / 1.131 GB, free: 29.65 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.159e-05/1.095, allocations: 95.66 kB / 1.131 GB, free: 29.55 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/1.096, allocations: 19.7 kB / 1.131 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.963e-06/1.096, allocations: 4 kB / 1.131 GB, free: 29.53 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.485e-05/1.096, allocations: 318.5 kB / 1.132 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.229e-05/1.096, allocations: 31.7 kB / 1.132 GB, free: 29.19 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.545e-05/1.096, allocations: 72.53 kB / 1.132 GB, free: 29.11 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.521e-05/1.096, allocations: 40 kB / 1.132 GB, free: 29.07 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/1.096, allocations: 4 kB / 1.132 GB, free: 29.07 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002338/1.096, allocations: 132.8 kB / 1.132 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/1.096, allocations: 8 kB / 1.132 GB, free: 28.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/1.096, allocations: 0 / 1.132 GB, free: 28.94 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/1.096, allocations: 4.656 kB / 1.132 GB, free: 28.94 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/1.096, allocations: 15.92 kB / 1.132 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/1.096, allocations: 11.61 kB / 1.132 GB, free: 28.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.351e-05/1.096, allocations: 11.88 kB / 1.132 GB, free: 28.91 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/1.096, allocations: 11.95 kB / 1.132 GB, free: 28.89 MB / 0.7292 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.0001024/1.097, allocations: 126.1 kB / 1.132 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.639e-05/1.097, allocations: 7.906 kB / 1.132 GB, free: 28.76 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.059e-05/1.097, allocations: 9.219 kB / 1.132 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/1.097, allocations: 7.516 kB / 1.132 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.097, allocations: 4.5 kB / 1.132 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/1.097, allocations: 0 / 1.132 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000506/1.097, allocations: 427.8 kB / 1.133 GB, free: 28.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/1.097, allocations: 0.5 kB / 1.133 GB, free: 28.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.788e-05/1.097, allocations: 7.375 kB / 1.133 GB, free: 28.31 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/1.097, allocations: 4 kB / 1.133 GB, free: 28.31 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/1.097, allocations: 0.5 kB / 1.133 GB, free: 28.31 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/1.097, allocations: 8.594 kB / 1.133 GB, free: 28.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/1.097, allocations: 0 / 1.133 GB, free: 28.3 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003442/1.098, allocations: 248.9 kB / 1.133 GB, free: 28.06 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.842e-05/1.098, allocations: 85.02 kB / 1.133 GB, free: 27.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.326e-05/1.098, allocations: 12.44 kB / 1.133 GB, free: 27.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/1.098, allocations: 4 kB / 1.133 GB, free: 27.95 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.474e-05/1.098, allocations: 7.469 kB / 1.133 GB, free: 27.95 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/1.098, allocations: 4.172 kB / 1.133 GB, free: 27.95 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.627e-05/1.098, allocations: 103.3 kB / 1.133 GB, free: 27.85 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.098, allocations: 0 / 1.133 GB, free: 27.85 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003008/1.098, allocations: 47.94 kB / 1.133 GB, free: 27.8 MB / 0.7292 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.0009859/1.099, allocations: 0.863 MB / 1.134 GB, free: 26.96 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003114/1.1, allocations: 94.94 kB / 1.134 GB, free: 26.89 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/1.1, allocations: 4 kB / 1.134 GB, free: 26.88 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001284/1.1, allocations: 50.98 kB / 1.134 GB, free: 26.84 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002073/1.1, allocations: 7.938 kB / 1.134 GB, free: 26.83 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/1.101, allocations: 1.061 MB / 1.135 GB, free: 25.74 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/1.101, allocations: 0.6949 MB / 1.136 GB, free: 25.03 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.033e-05/1.101, allocations: 8.078 kB / 1.136 GB, free: 25.03 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.473e-05/1.101, allocations: 19.44 kB / 1.136 GB, free: 25.01 MB / 0.7292 GB Notification: Performance of SimCode: time 5.67e-06/1.101, allocations: 0 / 1.136 GB, free: 25.01 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01639/1.118, allocations: 2.813 MB / 1.139 GB, free: 23.49 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001792/1.118, allocations: 224.3 kB / 1.139 GB, free: 23.26 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.829/2.947, allocations: 7.875 kB / 1.139 GB, free: 23.25 MB / 0.7292 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)