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: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00121/0.00121, allocations: 176.8 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.004/2.004, allocations: 205.4 MB / 0.5775 GB, free: 20.59 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.0009043/0.0009043, allocations: 93.45 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003202/0.0003202, allocations: 8.531 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2169, allocations: 106.3 MB / 0.9001 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1706/0.3876, allocations: 134 MB / 1.031 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/0.3879, allocations: 83.95 kB / 1.031 GB, free: 9.98 MB / 0.6823 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.009913/0.3978, allocations: 3.228 MB / 1.034 GB, free: 6.746 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.524e-06/0.3978, allocations: 0 / 1.034 GB, free: 6.746 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.3979, allocations: 4 kB / 1.034 GB, free: 6.742 MB / 0.6823 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.0006038/0.3985, allocations: 462.3 kB / 1.035 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.3985, allocations: 12.03 kB / 1.035 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.953e-05/0.3986, allocations: 42.55 kB / 1.035 GB, free: 6.168 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.891e-05/0.3986, allocations: 11.84 kB / 1.035 GB, free: 6.156 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.3988, allocations: 182.8 kB / 1.035 GB, free: 5.938 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.3988, allocations: 4 kB / 1.035 GB, free: 5.934 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.3988, allocations: 4 kB / 1.035 GB, free: 5.93 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/0.3991, allocations: 85.62 kB / 1.035 GB, free: 5.84 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.545e-06/0.3991, allocations: 0 / 1.035 GB, free: 5.84 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.3991, allocations: 8 kB / 1.035 GB, free: 5.832 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.3991, allocations: 0 / 1.035 GB, free: 5.832 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001729/0.3993, allocations: 55.89 kB / 1.035 GB, free: 5.777 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007271/0.4, allocations: 336.8 kB / 1.035 GB, free: 5.398 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.4002, allocations: 62.55 kB / 1.035 GB, free: 5.328 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.4002, allocations: 3.984 kB / 1.035 GB, free: 5.324 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002194/0.4005, allocations: 107.3 kB / 1.036 GB, free: 5.207 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 1.743e-06/0.4005, allocations: 0 / 1.036 GB, free: 5.207 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.0005392/0.401, allocations: 189.7 kB / 1.036 GB, free: 5.016 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.4011, allocations: 59.36 kB / 1.036 GB, free: 4.945 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.705e-05/0.4012, allocations: 118.3 kB / 1.036 GB, free: 4.824 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.4012, allocations: 29.7 kB / 1.036 GB, free: 4.789 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.991e-05/0.4013, allocations: 95.98 kB / 1.036 GB, free: 4.691 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.4013, allocations: 15.81 kB / 1.036 GB, free: 4.676 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.578e-06/0.4013, allocations: 4 kB / 1.036 GB, free: 4.672 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.4014, allocations: 322.8 kB / 1.036 GB, free: 4.348 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.159e-05/0.4015, allocations: 31.98 kB / 1.036 GB, free: 4.316 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.4016, allocations: 72.48 kB / 1.036 GB, free: 4.234 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.592e-05/0.4017, allocations: 35.98 kB / 1.036 GB, free: 4.199 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4017, allocations: 4 kB / 1.036 GB, free: 4.195 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002605/0.402, allocations: 133.4 kB / 1.037 GB, free: 4.059 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.402, allocations: 8 kB / 1.037 GB, free: 4.051 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.4021, allocations: 0 / 1.037 GB, free: 4.051 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.4021, allocations: 4 kB / 1.037 GB, free: 4.047 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.4022, allocations: 12.08 kB / 1.037 GB, free: 4.035 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.4022, allocations: 8.312 kB / 1.037 GB, free: 4.027 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.183e-05/0.4023, allocations: 19.84 kB / 1.037 GB, free: 4.008 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.4023, allocations: 12 kB / 1.037 GB, free: 3.996 MB / 0.6823 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.0001051/0.4024, allocations: 121.8 kB / 1.037 GB, free: 3.867 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.605e-05/0.4025, allocations: 4 kB / 1.037 GB, free: 3.863 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.083e-05/0.4025, allocations: 16.3 kB / 1.037 GB, free: 3.848 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.4025, allocations: 7.938 kB / 1.037 GB, free: 3.84 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4025, allocations: 4 kB / 1.037 GB, free: 3.836 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.4025, allocations: 0 / 1.037 GB, free: 3.836 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005633/0.4031, allocations: 438.3 kB / 1.037 GB, free: 3.352 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.4031, allocations: 0 / 1.037 GB, free: 3.352 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.76e-05/0.4031, allocations: 4 kB / 1.037 GB, free: 3.348 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.4032, allocations: 7.984 kB / 1.037 GB, free: 3.34 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.4032, allocations: 0 / 1.037 GB, free: 3.34 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.4032, allocations: 4 kB / 1.037 GB, free: 3.336 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4032, allocations: 3.953 kB / 1.037 GB, free: 3.332 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003627/0.4036, allocations: 251.4 kB / 1.037 GB, free: 3.07 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.339e-05/0.4036, allocations: 81.02 kB / 1.038 GB, free: 2.973 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.912e-05/0.4036, allocations: 7.984 kB / 1.038 GB, free: 2.965 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.4038, allocations: 11.94 kB / 1.038 GB, free: 2.953 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-05/0.4038, allocations: 7.938 kB / 1.038 GB, free: 2.945 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.4038, allocations: 4 kB / 1.038 GB, free: 2.941 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.79e-05/0.4039, allocations: 95.27 kB / 1.038 GB, free: 2.848 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4039, allocations: 0 / 1.038 GB, free: 2.848 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003643/0.4043, allocations: 55.92 kB / 1.038 GB, free: 2.793 MB / 0.6823 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.0009578/0.4052, allocations: 0.8474 MB / 1.039 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002811/0.4055, allocations: 95.88 kB / 1.039 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4055, allocations: 0 / 1.039 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.4057, allocations: 56.11 kB / 1.039 GB, free: 1.785 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000185/0.4059, allocations: 16.52 kB / 1.039 GB, free: 1.77 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009519/0.4068, allocations: 1.069 MB / 1.04 GB, free: 0.6289 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.4072, allocations: 0.6946 MB / 1.04 GB, free: 15.91 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.113e-05/0.4072, allocations: 4 kB / 1.04 GB, free: 15.91 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.027e-05/0.4073, allocations: 23.42 kB / 1.04 GB, free: 15.89 MB / 0.698 GB Notification: Performance of SimCode: time 2.915e-06/0.4073, allocations: 0 / 1.04 GB, free: 15.89 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01407/0.4213, allocations: 2.82 MB / 1.043 GB, free: 13.23 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002295/0.4216, allocations: 239.2 kB / 1.043 GB, free: 12.99 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.53/1.951, allocations: 0 / 1.043 GB, free: 12.99 MB / 0.698 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)