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.897/1.897, allocations: 289.7 MB / 302.2 MB, free: 2.133 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.00109/0.00109, allocations: 181.3 kB / 371.6 MB, free: 3.418 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.676/1.676, allocations: 205.1 MB / 0.6309 GB, free: 11.73 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.000925/0.0009248, allocations: 91.12 kB / 0.745 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.384e-05/3.386e-05, allocations: 0 / 0.8663 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3037, allocations: 116.3 MB / 0.9799 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9751/1.279, allocations: 141.2 MB / 1.118 GB, free: 43.07 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003017/1.279, allocations: 85.05 kB / 1.118 GB, free: 43.04 MB / 0.7448 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.009112/1.288, allocations: 3.203 MB / 1.121 GB, free: 41.2 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.154e-06/1.288, allocations: 0 / 1.121 GB, free: 41.2 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.087e-06/1.288, allocations: 5.625 kB / 1.121 GB, free: 41.2 MB / 0.7448 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.0005035/1.289, allocations: 450.6 kB / 1.121 GB, free: 40.73 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/1.289, allocations: 15.55 kB / 1.121 GB, free: 40.71 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.497e-05/1.289, allocations: 34.31 kB / 1.121 GB, free: 40.68 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.073e-05/1.289, allocations: 15.16 kB / 1.121 GB, free: 40.66 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/1.289, allocations: 167 kB / 1.122 GB, free: 40.46 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/1.289, allocations: 7.188 kB / 1.122 GB, free: 40.46 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/1.289, allocations: 7.375 kB / 1.122 GB, free: 40.46 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/1.289, allocations: 78.06 kB / 1.122 GB, free: 40.4 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/1.289, allocations: 0 / 1.122 GB, free: 40.4 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/1.289, allocations: 5.875 kB / 1.122 GB, free: 40.4 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/1.29, allocations: 0 / 1.122 GB, free: 40.4 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.928e-05/1.29, allocations: 25.81 kB / 1.122 GB, free: 40.38 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007478/1.29, allocations: 356.2 kB / 1.122 GB, free: 40.06 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/1.29, allocations: 51.11 kB / 1.122 GB, free: 40.02 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.182e-05/1.291, allocations: 31.73 kB / 1.122 GB, free: 39.99 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/1.291, allocations: 4 kB / 1.122 GB, free: 39.99 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001392/1.291, allocations: 86.48 kB / 1.122 GB, free: 39.92 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/1.291, allocations: 0 / 1.122 GB, free: 39.92 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0003275/1.291, allocations: 127.7 kB / 1.122 GB, free: 39.82 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/1.291, allocations: 65.86 kB / 1.122 GB, free: 39.75 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.436e-05/1.291, allocations: 112 kB / 1.123 GB, free: 39.65 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/1.291, allocations: 28.89 kB / 1.123 GB, free: 39.62 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.158e-05/1.291, allocations: 94.33 kB / 1.123 GB, free: 39.53 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/1.291, allocations: 18.52 kB / 1.123 GB, free: 39.52 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-06/1.291, allocations: 0.6562 kB / 1.123 GB, free: 39.52 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.447e-05/1.291, allocations: 317.8 kB / 1.123 GB, free: 39.2 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.968e-05/1.291, allocations: 26.75 kB / 1.123 GB, free: 39.19 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.464e-05/1.292, allocations: 59.06 kB / 1.123 GB, free: 39.12 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.338e-05/1.292, allocations: 33.64 kB / 1.123 GB, free: 39.11 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.292, allocations: 3.938 kB / 1.123 GB, free: 39.1 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001759/1.292, allocations: 113.3 kB / 1.123 GB, free: 39.01 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/1.292, allocations: 8.844 kB / 1.123 GB, free: 39 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/1.292, allocations: 0 / 1.123 GB, free: 39 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/1.292, allocations: 5.156 kB / 1.123 GB, free: 39 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/1.292, allocations: 19.55 kB / 1.123 GB, free: 38.99 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/1.292, allocations: 8.547 kB / 1.123 GB, free: 38.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.332e-05/1.292, allocations: 10.7 kB / 1.123 GB, free: 38.97 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/1.292, allocations: 4.75 kB / 1.123 GB, free: 38.97 MB / 0.7448 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 6.741e-05/1.292, allocations: 109.6 kB / 1.123 GB, free: 38.86 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.733e-05/1.292, allocations: 11.47 kB / 1.123 GB, free: 38.85 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.524e-05/1.292, allocations: 15.5 kB / 1.123 GB, free: 38.85 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/1.292, allocations: 0 / 1.123 GB, free: 38.85 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/1.292, allocations: 4 kB / 1.123 GB, free: 38.84 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/1.292, allocations: 0 / 1.123 GB, free: 38.84 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004075/1.293, allocations: 413.6 kB / 1.124 GB, free: 38.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/1.293, allocations: 0.625 kB / 1.124 GB, free: 38.46 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.14e-05/1.293, allocations: 7.281 kB / 1.124 GB, free: 38.46 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/1.293, allocations: 0 / 1.124 GB, free: 38.46 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/1.293, allocations: 0.6562 kB / 1.124 GB, free: 38.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/1.293, allocations: 0.5 kB / 1.124 GB, free: 38.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/1.293, allocations: 11.38 kB / 1.124 GB, free: 38.45 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/1.293, allocations: 232.7 kB / 1.124 GB, free: 38.25 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.779e-05/1.293, allocations: 81.02 kB / 1.124 GB, free: 38.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/1.293, allocations: 4.875 kB / 1.124 GB, free: 38.15 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/1.293, allocations: 8.266 kB / 1.124 GB, free: 38.15 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.7e-05/1.293, allocations: 8.219 kB / 1.124 GB, free: 38.14 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/1.293, allocations: 7.422 kB / 1.124 GB, free: 38.14 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.062e-05/1.293, allocations: 96.09 kB / 1.124 GB, free: 38.05 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/1.293, allocations: 0 / 1.124 GB, free: 38.05 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002915/1.294, allocations: 58.59 kB / 1.124 GB, free: 38 MB / 0.7448 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.0006906/1.294, allocations: 0.8212 MB / 1.125 GB, free: 37.22 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001732/1.295, allocations: 77 kB / 1.125 GB, free: 37.17 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/1.295, allocations: 0 / 1.125 GB, free: 37.17 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.187e-05/1.295, allocations: 38 kB / 1.125 GB, free: 37.15 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001934/1.295, allocations: 16.55 kB / 1.125 GB, free: 37.14 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004644/1.295, allocations: 169.4 kB / 1.125 GB, free: 36.97 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/1.295, allocations: 0.6996 MB / 1.126 GB, free: 36.26 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.167e-05/1.295, allocations: 5.219 kB / 1.126 GB, free: 36.25 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.288e-05/1.296, allocations: 22.12 kB / 1.126 GB, free: 36.25 MB / 0.7448 GB Notification: Performance of SimCode: time 2.81e-07/1.296, allocations: 0 / 1.126 GB, free: 36.25 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01344/1.309, allocations: 2.833 MB / 1.129 GB, free: 34.71 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002099/1.309, allocations: 208 kB / 1.129 GB, free: 34.49 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.682/2.992, allocations: 0 / 1.129 GB, free: 34.49 MB / 0.7448 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)