Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",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.504/1.504, allocations: 251.9 MB / 266.9 MB, free: 11.04 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.001241/0.001241, allocations: 193.8 kB / 326.5 MB, free: 2.242 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.062/2.062, allocations: 205.4 MB / 0.5775 GB, free: 20.3 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.0009906/0.0009904, allocations: 94.5 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003186/0.0003185, allocations: 9.562 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2287, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1677/0.3964, allocations: 133.7 MB / 1.031 GB, free: 9.957 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/0.3967, allocations: 87.94 kB / 1.031 GB, free: 9.871 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.009057/0.4058, allocations: 2.99 MB / 1.034 GB, free: 6.875 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.515e-06/0.4058, allocations: 0 / 1.034 GB, free: 6.875 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.4059, allocations: 8 kB / 1.034 GB, free: 6.867 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005284/0.4064, allocations: 424.7 kB / 1.034 GB, free: 6.398 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.4064, allocations: 8.031 kB / 1.034 GB, free: 6.391 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.093e-05/0.4065, allocations: 34.56 kB / 1.034 GB, free: 6.348 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.012e-05/0.4065, allocations: 7.906 kB / 1.034 GB, free: 6.34 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.4066, allocations: 182.8 kB / 1.034 GB, free: 6.121 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.4067, allocations: 4 kB / 1.034 GB, free: 6.117 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.4067, allocations: 11.98 kB / 1.034 GB, free: 6.105 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.4069, allocations: 69.66 kB / 1.034 GB, free: 6.031 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.4069, allocations: 3.938 kB / 1.034 GB, free: 6.027 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.4069, allocations: 0 / 1.034 GB, free: 6.027 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.4069, allocations: 0 / 1.034 GB, free: 6.027 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.4071, allocations: 43.97 kB / 1.035 GB, free: 5.984 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006415/0.4077, allocations: 320.8 kB / 1.035 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.4079, allocations: 46.56 kB / 1.035 GB, free: 5.566 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.4079, allocations: 4 kB / 1.035 GB, free: 5.562 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001603/0.4081, allocations: 83.44 kB / 1.035 GB, free: 5.469 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/0.4081, allocations: 0 / 1.035 GB, free: 5.469 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0003929/0.4085, allocations: 149.5 kB / 1.035 GB, free: 5.316 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.4085, allocations: 55.36 kB / 1.035 GB, free: 5.25 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.828e-05/0.4086, allocations: 113 kB / 1.035 GB, free: 5.133 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.4086, allocations: 29.7 kB / 1.035 GB, free: 5.098 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.455e-05/0.4087, allocations: 88.33 kB / 1.035 GB, free: 5.004 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.4087, allocations: 19.86 kB / 1.035 GB, free: 4.984 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.224e-06/0.4088, allocations: 0 / 1.035 GB, free: 4.984 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.4089, allocations: 324.7 kB / 1.036 GB, free: 4.66 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.148e-05/0.409, allocations: 31.97 kB / 1.036 GB, free: 4.629 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.118e-05/0.4091, allocations: 50.56 kB / 1.036 GB, free: 4.57 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.771e-05/0.4092, allocations: 35.98 kB / 1.036 GB, free: 4.535 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4092, allocations: 0 / 1.036 GB, free: 4.535 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002275/0.4094, allocations: 117.5 kB / 1.036 GB, free: 4.414 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.4094, allocations: 8 kB / 1.036 GB, free: 4.406 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.4095, allocations: 3.938 kB / 1.036 GB, free: 4.402 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.4095, allocations: 0 / 1.036 GB, free: 4.402 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.985e-05/0.4096, allocations: 12.05 kB / 1.036 GB, free: 4.391 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.4096, allocations: 8 kB / 1.036 GB, free: 4.383 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.554e-05/0.4097, allocations: 11.89 kB / 1.036 GB, free: 4.371 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.4097, allocations: 4 kB / 1.036 GB, free: 4.367 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.517e-05/0.4098, allocations: 117.8 kB / 1.036 GB, free: 4.242 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.482e-05/0.4098, allocations: 7.906 kB / 1.036 GB, free: 4.234 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.521e-05/0.4098, allocations: 12.31 kB / 1.036 GB, free: 4.223 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.4098, allocations: 4 kB / 1.036 GB, free: 4.219 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.4099, allocations: 4 kB / 1.036 GB, free: 4.215 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.4099, allocations: 0 / 1.036 GB, free: 4.215 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004335/0.4103, allocations: 390.8 kB / 1.036 GB, free: 3.777 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4103, allocations: 0 / 1.036 GB, free: 3.777 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.935e-05/0.4104, allocations: 7.984 kB / 1.036 GB, free: 3.77 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.4104, allocations: 0 / 1.036 GB, free: 3.77 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.4104, allocations: 8 kB / 1.036 GB, free: 3.762 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.4104, allocations: 4 kB / 1.036 GB, free: 3.758 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.4104, allocations: 3.953 kB / 1.036 GB, free: 3.754 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002731/0.4107, allocations: 215.5 kB / 1.037 GB, free: 3.527 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.803e-05/0.4107, allocations: 85 kB / 1.037 GB, free: 3.426 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.4108, allocations: 8 kB / 1.037 GB, free: 3.418 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.623e-05/0.4109, allocations: 4 kB / 1.037 GB, free: 3.414 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.817e-05/0.4109, allocations: 11.88 kB / 1.037 GB, free: 3.402 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.4109, allocations: 4 kB / 1.037 GB, free: 3.398 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.4e-05/0.411, allocations: 91.27 kB / 1.037 GB, free: 3.309 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1e-07/0.411, allocations: 0 / 1.037 GB, free: 3.309 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003593/0.4114, allocations: 51.92 kB / 1.037 GB, free: 3.258 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: 6 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0008672/0.4122, allocations: 0.8221 MB / 1.038 GB, free: 2.426 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002294/0.4125, allocations: 79.89 kB / 1.038 GB, free: 2.348 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4125, allocations: 0 / 1.038 GB, free: 2.348 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.4126, allocations: 43.92 kB / 1.038 GB, free: 2.305 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001712/0.4128, allocations: 3.375 kB / 1.038 GB, free: 2.305 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007915/0.4136, allocations: 0.7323 MB / 1.039 GB, free: 1.504 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.4139, allocations: 0.6911 MB / 1.039 GB, free: 0.7891 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.049e-05/0.4139, allocations: 8.172 kB / 1.039 GB, free: 0.7812 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.22e-05/0.414, allocations: 20.56 kB / 1.039 GB, free: 0.7656 MB / 0.6823 GB Notification: Performance of SimCode: time 3.41e-07/0.414, allocations: 0 / 1.039 GB, free: 0.7656 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01283/0.4268, allocations: 2.496 MB / 1.042 GB, free: 14.42 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003801/0.4272, allocations: 249.5 kB / 1.042 GB, free: 14.14 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.531/1.958, allocations: 4 kB / 1.042 GB, free: 14.14 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1)