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.446/1.446, allocations: 249.5 MB / 257 MB, free: 6.938 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.001012/0.001012, allocations: 181.9 kB / 316.3 MB, free: 3.215 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.598/1.598, allocations: 205.3 MB / 0.5671 GB, free: 15.78 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.000987/0.000987, allocations: 100.4 kB / 0.6714 GB, free: 4.895 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.646e-05/1.649e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.1968, allocations: 106.3 MB / 0.8853 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.689/0.8859, allocations: 133.9 MB / 1.016 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/0.8862, allocations: 80.64 kB / 1.016 GB, free: 3.711 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.008991/0.8952, allocations: 2.956 MB / 1.019 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8952, allocations: 0 / 1.019 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.8953, allocations: 0 / 1.019 GB, free: 1.215 MB / 0.6355 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.0005464/0.8958, allocations: 419.1 kB / 1.019 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.8959, allocations: 8.031 kB / 1.019 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.815e-05/0.8959, allocations: 4 kB / 1.019 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.8961, allocations: 178.9 kB / 1.02 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.991e-05/0.8961, allocations: 4 kB / 1.02 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.8961, allocations: 5.031 kB / 1.02 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.195e-05/0.8962, allocations: 19.06 kB / 1.02 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.8963, allocations: 56.8 kB / 1.02 GB, free: 472 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.8964, allocations: 0 / 1.02 GB, free: 472 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.8964, allocations: 3.438 kB / 1.02 GB, free: 472 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.8964, allocations: 0.75 kB / 1.02 GB, free: 472 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006007/0.897, allocations: 290.8 kB / 1.02 GB, free: 160 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.992e-05/0.8971, allocations: 45.38 kB / 1.02 GB, free: 116 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.329e-05/0.8971, allocations: 19.73 kB / 1.02 GB, free: 100 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.8972, allocations: 4 kB / 1.02 GB, free: 96 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001212/0.8973, allocations: 69.89 kB / 1.02 GB, free: 24 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.8973, allocations: 3.938 kB / 1.02 GB, free: 20 kB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.000287/0.8976, allocations: 99.95 kB / 1.02 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.8976, allocations: 55.09 kB / 1.02 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.8978, allocations: 112.3 kB / 1.02 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.8978, allocations: 25.7 kB / 1.02 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.375e-05/0.8979, allocations: 91.23 kB / 1.021 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.8979, allocations: 19.27 kB / 1.021 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.622e-06/0.8979, allocations: 0 / 1.021 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.8981, allocations: 322.1 kB / 1.021 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.265e-05/0.8981, allocations: 19.19 kB / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.713e-05/0.8982, allocations: 41.25 kB / 1.021 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.56e-05/0.8982, allocations: 23.3 kB / 1.021 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.8983, allocations: 0 / 1.021 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001555/0.8984, allocations: 90.03 kB / 1.021 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.8984, allocations: 8.062 kB / 1.021 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.8985, allocations: 0 / 1.021 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.8985, allocations: 4.688 kB / 1.021 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.8986, allocations: 19.48 kB / 1.021 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.8986, allocations: 0 / 1.021 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.632e-05/0.8987, allocations: 15.89 kB / 1.021 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.8987, allocations: 0 / 1.021 GB, free: 15.1 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 0.0001065/0.8988, allocations: 118.5 kB / 1.021 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001544/0.899, allocations: 98.03 kB / 1.021 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.368e-05/0.899, allocations: 7.906 kB / 1.021 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.938e-05/0.899, allocations: 11.12 kB / 1.021 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.899, allocations: 0 / 1.021 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.8991, allocations: 4 kB / 1.021 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/0.8991, allocations: 7.938 kB / 1.021 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003404/0.8994, allocations: 329.9 kB / 1.022 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.8994, allocations: 0 / 1.022 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.232e-05/0.8995, allocations: 8 kB / 1.022 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.8995, allocations: 0 / 1.022 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.8995, allocations: 3.984 kB / 1.022 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.8995, allocations: 4 kB / 1.022 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.8995, allocations: 3.953 kB / 1.022 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002031/0.8997, allocations: 189.5 kB / 1.022 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.582e-05/0.8998, allocations: 81.02 kB / 1.022 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.8998, allocations: 7.984 kB / 1.022 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.475e-05/0.8999, allocations: 10.19 kB / 1.022 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.834e-05/0.9, allocations: 7.938 kB / 1.022 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.9, allocations: 4 kB / 1.022 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.704e-05/0.9, allocations: 93.34 kB / 1.022 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9001, allocations: 3.938 kB / 1.022 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003129/0.9004, allocations: 47.92 kB / 1.022 GB, free: 14.06 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.0007656/0.9011, allocations: 0.7901 MB / 1.023 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000154/0.9013, allocations: 59.83 kB / 1.023 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.9013, allocations: 3.938 kB / 1.023 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.337e-05/0.9014, allocations: 28.06 kB / 1.023 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001923/0.9016, allocations: 11.55 kB / 1.023 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005168/0.9021, allocations: 148.9 kB / 1.023 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.9024, allocations: 0.6924 MB / 1.024 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.954e-05/0.9025, allocations: 4.188 kB / 1.024 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.907e-05/0.9025, allocations: 22.42 kB / 1.024 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of SimCode: time 2.4e-07/0.9025, allocations: 4 kB / 1.024 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02214/0.9247, allocations: 2.181 MB / 1.026 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002637/0.925, allocations: 199.8 kB / 1.026 GB, free: 9.871 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.426/2.352, allocations: 3.094 kB / 1.026 GB, free: 9.871 MB / 0.6511 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)