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.72/1.72, allocations: 289.9 MB / 297.4 MB, free: 6.355 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.001415/0.001415, allocations: 176.8 kB / 366.7 MB, free: 1.656 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.752/1.752, allocations: 205.2 MB / 0.626 GB, free: 7.191 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.0008816/0.0008818, allocations: 90.02 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.166e-05/2.182e-05, allocations: 0 / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.952/0.9521, allocations: 116.3 MB / 0.9733 GB, free: 76.11 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.202/1.154, allocations: 140.5 MB / 1.111 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/1.154, allocations: 81.8 kB / 1.111 GB, free: 9.516 MB / 0.7136 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.01051/1.165, allocations: 3.205 MB / 1.114 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.382e-06/1.165, allocations: 0 / 1.114 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.392e-06/1.165, allocations: 0 / 1.114 GB, free: 6.348 MB / 0.7136 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.0005725/1.166, allocations: 443.6 kB / 1.114 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/1.166, allocations: 8.031 kB / 1.114 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.283e-05/1.166, allocations: 10.78 kB / 1.114 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/1.166, allocations: 186.9 kB / 1.114 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.083e-05/1.166, allocations: 0 / 1.114 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/1.166, allocations: 4 kB / 1.114 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.724e-05/1.166, allocations: 28 kB / 1.114 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/1.166, allocations: 75.8 kB / 1.114 GB, free: 5.512 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/1.166, allocations: 3.938 kB / 1.114 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/1.166, allocations: 3.406 kB / 1.114 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/1.166, allocations: 0 / 1.114 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007915/1.167, allocations: 317.2 kB / 1.115 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9e-05/1.167, allocations: 48 kB / 1.115 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.781e-05/1.167, allocations: 32.86 kB / 1.115 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/1.167, allocations: 0.8125 kB / 1.115 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001404/1.167, allocations: 86.72 kB / 1.115 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/1.167, allocations: 0 / 1.115 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0003038/1.168, allocations: 125.7 kB / 1.115 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/1.168, allocations: 51.41 kB / 1.115 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.76e-05/1.168, allocations: 114.9 kB / 1.115 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.224e-05/1.168, allocations: 29.7 kB / 1.115 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.003e-05/1.168, allocations: 95.56 kB / 1.115 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/1.168, allocations: 15.72 kB / 1.115 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.013e-06/1.168, allocations: 4 kB / 1.115 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001266/1.168, allocations: 322.8 kB / 1.116 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.475e-05/1.168, allocations: 20 kB / 1.116 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.783e-05/1.168, allocations: 59.16 kB / 1.116 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.804e-05/1.168, allocations: 25.81 kB / 1.116 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/1.168, allocations: 0 / 1.116 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001764/1.169, allocations: 109.5 kB / 1.116 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/1.169, allocations: 8.094 kB / 1.116 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/1.169, allocations: 7.234 kB / 1.116 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/1.169, allocations: 3.984 kB / 1.116 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/1.169, allocations: 19.92 kB / 1.116 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/1.169, allocations: 0 / 1.116 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.105e-05/1.169, allocations: 8 kB / 1.116 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/1.169, allocations: 4 kB / 1.116 GB, free: 3.922 MB / 0.7136 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 0.000113/1.169, allocations: 116.9 kB / 1.116 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002274/1.169, allocations: 128 kB / 1.116 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.612e-05/1.169, allocations: 7.906 kB / 1.116 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.056e-05/1.169, allocations: 12.62 kB / 1.116 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/1.169, allocations: 0 / 1.116 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/1.169, allocations: 0 / 1.116 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/1.169, allocations: 0 / 1.116 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004235/1.17, allocations: 375 kB / 1.117 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/1.17, allocations: 0 / 1.117 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.822e-05/1.17, allocations: 15.98 kB / 1.117 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/1.17, allocations: 1.688 kB / 1.117 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/1.17, allocations: 0 / 1.117 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/1.17, allocations: 0 / 1.117 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.17, allocations: 3.938 kB / 1.117 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002566/1.17, allocations: 231.3 kB / 1.117 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.883e-05/1.17, allocations: 85.02 kB / 1.117 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/1.17, allocations: 0 / 1.117 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/1.17, allocations: 11.98 kB / 1.117 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/1.17, allocations: 4 kB / 1.117 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/1.17, allocations: 7.984 kB / 1.117 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.293e-05/1.17, allocations: 101.6 kB / 1.117 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/1.17, allocations: 0 / 1.117 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003296/1.171, allocations: 47.92 kB / 1.117 GB, free: 2.715 MB / 0.7136 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.0008837/1.172, allocations: 0.8309 MB / 1.118 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000163/1.172, allocations: 63.94 kB / 1.118 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.172, allocations: 0 / 1.118 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.882e-05/1.172, allocations: 40.17 kB / 1.118 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/1.172, allocations: 10.81 kB / 1.118 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005074/1.173, allocations: 177.7 kB / 1.118 GB, free: 1.559 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/1.173, allocations: 0.6892 MB / 1.119 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.797e-05/1.173, allocations: 11.77 kB / 1.119 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.113e-05/1.173, allocations: 23.44 kB / 1.119 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/1.173, allocations: 2.719 kB / 1.119 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02385/1.197, allocations: 2.487 MB / 1.121 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002178/1.197, allocations: 179.4 kB / 1.121 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.652/2.85, allocations: 2.984 kB / 1.121 GB, free: 14.18 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)