Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",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.43/1.43, allocations: 251.9 MB / 266.8 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.001352/0.001352, allocations: 184.6 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.992/1.992, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.001043/0.001043, allocations: 94.36 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003376/0.0003376, allocations: 8.156 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2384, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.182/0.4205, allocations: 133.7 MB / 1.031 GB, free: 9.988 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/0.4208, allocations: 87.94 kB / 1.031 GB, free: 9.902 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.009396/0.4302, allocations: 2.99 MB / 1.034 GB, free: 6.906 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.194e-06/0.4302, allocations: 0 / 1.034 GB, free: 6.906 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.121e-05/0.4303, allocations: 4 kB / 1.034 GB, free: 6.902 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.0005912/0.4308, allocations: 432.7 kB / 1.034 GB, free: 6.426 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.4309, allocations: 8.031 kB / 1.034 GB, free: 6.418 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.65e-05/0.431, allocations: 34.55 kB / 1.034 GB, free: 6.375 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.71e-05/0.431, allocations: 7.906 kB / 1.034 GB, free: 6.367 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.4312, allocations: 174.9 kB / 1.034 GB, free: 6.156 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.4312, allocations: 11.94 kB / 1.034 GB, free: 6.145 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.4312, allocations: 7.984 kB / 1.034 GB, free: 6.137 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.4314, allocations: 73.59 kB / 1.034 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.4314, allocations: 4 kB / 1.034 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.4315, allocations: 0 / 1.034 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.4315, allocations: 3.984 kB / 1.034 GB, free: 6.051 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.4316, allocations: 39.98 kB / 1.034 GB, free: 6.012 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006226/0.4322, allocations: 320.8 kB / 1.035 GB, free: 5.648 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.4324, allocations: 54.48 kB / 1.035 GB, free: 5.586 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.4324, allocations: 0 / 1.035 GB, free: 5.586 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001663/0.4326, allocations: 79.5 kB / 1.035 GB, free: 5.496 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.4326, allocations: 0 / 1.035 GB, free: 5.496 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0003885/0.433, allocations: 145.5 kB / 1.035 GB, free: 5.348 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.433, allocations: 55.36 kB / 1.035 GB, free: 5.281 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.291e-05/0.4331, allocations: 120.9 kB / 1.035 GB, free: 5.156 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.4332, allocations: 25.7 kB / 1.035 GB, free: 5.125 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.374e-05/0.4332, allocations: 100.4 kB / 1.035 GB, free: 5.02 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.4333, allocations: 7.812 kB / 1.035 GB, free: 5.012 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.805e-06/0.4333, allocations: 4 kB / 1.035 GB, free: 5.008 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.4334, allocations: 324.8 kB / 1.036 GB, free: 4.684 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.832e-05/0.4335, allocations: 23.98 kB / 1.036 GB, free: 4.66 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.429e-05/0.4336, allocations: 58.92 kB / 1.036 GB, free: 4.594 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.163e-05/0.4337, allocations: 32.31 kB / 1.036 GB, free: 4.562 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4337, allocations: 0 / 1.036 GB, free: 4.562 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002698/0.434, allocations: 121.5 kB / 1.036 GB, free: 4.438 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.434, allocations: 8 kB / 1.036 GB, free: 4.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.4341, allocations: 0 / 1.036 GB, free: 4.43 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.4341, allocations: 3.938 kB / 1.036 GB, free: 4.426 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.235e-05/0.4342, allocations: 15.92 kB / 1.036 GB, free: 4.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.463e-06/0.4342, allocations: 4 kB / 1.036 GB, free: 4.406 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.243e-05/0.4343, allocations: 19.88 kB / 1.036 GB, free: 4.387 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.4343, allocations: 4.062 kB / 1.036 GB, free: 4.383 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 8.945e-05/0.4344, allocations: 117.8 kB / 1.036 GB, free: 4.258 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.754e-05/0.4344, allocations: 7.906 kB / 1.036 GB, free: 4.25 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.864e-05/0.4344, allocations: 8.375 kB / 1.036 GB, free: 4.242 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.4344, allocations: 4 kB / 1.036 GB, free: 4.238 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.4345, allocations: 0 / 1.036 GB, free: 4.238 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.4345, allocations: 3.984 kB / 1.036 GB, free: 4.234 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004442/0.4349, allocations: 386.4 kB / 1.036 GB, free: 3.801 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4349, allocations: 0 / 1.036 GB, free: 3.801 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.175e-05/0.435, allocations: 11.98 kB / 1.036 GB, free: 3.789 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.435, allocations: 0 / 1.036 GB, free: 3.789 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.435, allocations: 4 kB / 1.036 GB, free: 3.785 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.435, allocations: 4 kB / 1.036 GB, free: 3.781 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.435, allocations: 3.953 kB / 1.036 GB, free: 3.777 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002775/0.4353, allocations: 223.3 kB / 1.037 GB, free: 3.543 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.336e-05/0.4354, allocations: 81.02 kB / 1.037 GB, free: 3.445 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.4354, allocations: 8 kB / 1.037 GB, free: 3.438 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.818e-05/0.4355, allocations: 7.984 kB / 1.037 GB, free: 3.43 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/0.4355, allocations: 3.953 kB / 1.037 GB, free: 3.426 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.868e-06/0.4356, allocations: 8 kB / 1.037 GB, free: 3.418 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.19e-05/0.4356, allocations: 91.27 kB / 1.037 GB, free: 3.328 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4356, allocations: 0 / 1.037 GB, free: 3.328 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003133/0.4359, allocations: 51.92 kB / 1.037 GB, free: 3.277 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.0008491/0.4368, allocations: 0.8127 MB / 1.038 GB, free: 2.453 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002341/0.437, allocations: 80.28 kB / 1.038 GB, free: 2.375 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.4371, allocations: 0 / 1.038 GB, free: 2.375 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.921e-05/0.4372, allocations: 43.91 kB / 1.038 GB, free: 2.332 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001795/0.4373, allocations: 7.938 kB / 1.038 GB, free: 2.324 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008414/0.4382, allocations: 0.7364 MB / 1.039 GB, free: 1.52 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.4385, allocations: 0.694 MB / 1.039 GB, free: 0.8008 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.17e-05/0.4385, allocations: 4.188 kB / 1.039 GB, free: 0.7969 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.724e-05/0.4386, allocations: 23.42 kB / 1.039 GB, free: 0.7773 MB / 0.6823 GB Notification: Performance of SimCode: time 3.51e-07/0.4386, allocations: 0 / 1.039 GB, free: 0.7773 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01334/0.4519, allocations: 2.499 MB / 1.042 GB, free: 14.45 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000186/0.4522, allocations: 242.6 kB / 1.042 GB, free: 14.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.481/1.933, allocations: 0 / 1.042 GB, free: 14.2 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1)