Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.Zhang2012WindowsSouth,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",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.493/1.493, allocations: 249.3 MB / 261.9 MB, free: 6.031 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001146/0.001146, allocations: 176.9 kB / 321.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.704/1.704, allocations: 205.2 MB / 0.572 GB, free: 10.62 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.0008271/0.0008271, allocations: 82.55 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 5.345e-05/5.368e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2552, allocations: 106.3 MB / 0.8919 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8206/1.076, allocations: 133.6 MB / 1.022 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/1.076, allocations: 82.5 kB / 1.022 GB, free: 1.113 MB / 0.6355 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.009212/1.085, allocations: 2.972 MB / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.403e-06/1.085, allocations: 0 / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.417e-06/1.085, allocations: 4 kB / 1.025 GB, free: 14.56 MB / 0.6511 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.0005655/1.086, allocations: 422.8 kB / 1.026 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/1.086, allocations: 15.97 kB / 1.026 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.097e-05/1.086, allocations: 30.56 kB / 1.026 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.933e-05/1.086, allocations: 4 kB / 1.026 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/1.086, allocations: 170.9 kB / 1.026 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/1.086, allocations: 7 kB / 1.026 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/1.086, allocations: 7.984 kB / 1.026 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/1.087, allocations: 60.17 kB / 1.026 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/1.087, allocations: 0 / 1.026 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/1.087, allocations: 4 kB / 1.026 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/1.087, allocations: 4 kB / 1.026 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.343e-05/1.087, allocations: 21.81 kB / 1.026 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006432/1.087, allocations: 314.5 kB / 1.026 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 9.493e-05/1.087, allocations: 45.56 kB / 1.026 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.804e-05/1.087, allocations: 31.3 kB / 1.026 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/1.088, allocations: 0 / 1.026 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001384/1.088, allocations: 70.64 kB / 1.027 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/1.088, allocations: 0 / 1.027 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0002632/1.088, allocations: 98.34 kB / 1.027 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/1.088, allocations: 51.41 kB / 1.027 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.446e-05/1.088, allocations: 111.7 kB / 1.027 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/1.088, allocations: 33.33 kB / 1.027 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.44e-05/1.088, allocations: 92.17 kB / 1.027 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/1.088, allocations: 27.58 kB / 1.027 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-06/1.088, allocations: 0 / 1.027 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001282/1.088, allocations: 317.7 kB / 1.027 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.27e-05/1.088, allocations: 19.11 kB / 1.027 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.995e-05/1.088, allocations: 45.33 kB / 1.027 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.672e-05/1.089, allocations: 23.92 kB / 1.027 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/1.089, allocations: 0 / 1.027 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001575/1.089, allocations: 99.41 kB / 1.027 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/1.089, allocations: 11.98 kB / 1.027 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/1.089, allocations: 3.938 kB / 1.027 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/1.089, allocations: 0 / 1.027 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/1.089, allocations: 8 kB / 1.027 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.567e-05/1.089, allocations: 11.89 kB / 1.027 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.121e-05/1.089, allocations: 19.27 kB / 1.027 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/1.089, allocations: 4 kB / 1.027 GB, free: 12.34 MB / 0.6511 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 () * 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.804e-05/1.089, allocations: 108.6 kB / 1.028 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.24e-05/1.089, allocations: 0 / 1.028 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.397e-05/1.089, allocations: 16.42 kB / 1.028 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/1.089, allocations: 0 / 1.028 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/1.089, allocations: 0 / 1.028 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/1.089, allocations: 3.953 kB / 1.028 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003777/1.09, allocations: 378.3 kB / 1.028 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/1.09, allocations: 0 / 1.028 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.557e-05/1.09, allocations: 4 kB / 1.028 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/1.09, allocations: 3.984 kB / 1.028 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/1.09, allocations: 0 / 1.028 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/1.09, allocations: 3.953 kB / 1.028 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/1.09, allocations: 0 / 1.028 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002117/1.09, allocations: 194.8 kB / 1.028 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.58e-05/1.09, allocations: 85.02 kB / 1.028 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/1.09, allocations: 0 / 1.028 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.961e-05/1.09, allocations: 15.73 kB / 1.028 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.988e-05/1.09, allocations: 7.953 kB / 1.028 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/1.09, allocations: 0 / 1.028 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.66e-05/1.09, allocations: 100.9 kB / 1.028 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.41e-07/1.09, allocations: 0 / 1.028 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003366/1.091, allocations: 51.75 kB / 1.028 GB, free: 11.36 MB / 0.6511 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 () * 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.0009611/1.092, allocations: 0.7995 MB / 1.029 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001738/1.092, allocations: 58.11 kB / 1.029 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.092, allocations: 0 / 1.029 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.491e-05/1.092, allocations: 27.34 kB / 1.029 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001911/1.092, allocations: 11.64 kB / 1.029 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005157/1.093, allocations: 150.4 kB / 1.029 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/1.093, allocations: 0.6989 MB / 1.03 GB, free: 9.602 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.767e-05/1.093, allocations: 12.3 kB / 1.03 GB, free: 9.59 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.325e-05/1.093, allocations: 12.94 kB / 1.03 GB, free: 9.582 MB / 0.6511 GB Notification: Performance of SimCode: time 8.42e-07/1.093, allocations: 0 / 1.03 GB, free: 9.582 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01319/1.106, allocations: 2.522 MB / 1.033 GB, free: 7.184 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001823/1.106, allocations: 214.1 kB / 1.033 GB, free: 6.961 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.642/2.748, allocations: 0 / 1.033 GB, free: 6.961 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1)