Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.652/1.652, allocations: 289.7 MB / 302.3 MB, free: 2.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001424/0.001424, allocations: 178.3 kB / 371.6 MB, free: 3.391 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.645/1.645, allocations: 205.2 MB / 0.6309 GB, free: 11.78 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008403/0.0008405, allocations: 86.22 kB / 0.745 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.892e-05/4.894e-05, allocations: 4 kB / 0.8663 GB, free: 15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3201, allocations: 116.3 MB / 0.9799 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9599/1.28, allocations: 140.9 MB / 1.117 GB, free: 43.23 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003167/1.281, allocations: 81.17 kB / 1.118 GB, free: 43.2 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.00873/1.289, allocations: 2.967 MB / 1.12 GB, free: 41.49 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.285e-06/1.289, allocations: 7.219 kB / 1.12 GB, free: 41.49 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.785e-06/1.289, allocations: 0 / 1.12 GB, free: 41.49 MB / 0.7448 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.0004504/1.29, allocations: 413.4 kB / 1.121 GB, free: 41.06 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/1.29, allocations: 8.031 kB / 1.121 GB, free: 41.05 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.915e-05/1.29, allocations: 41.83 kB / 1.121 GB, free: 41 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.717e-05/1.29, allocations: 6.406 kB / 1.121 GB, free: 41 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.958e-05/1.29, allocations: 166.3 kB / 1.121 GB, free: 40.8 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/1.29, allocations: 11.69 kB / 1.121 GB, free: 40.79 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/1.29, allocations: 4 kB / 1.121 GB, free: 40.79 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/1.29, allocations: 65.45 kB / 1.121 GB, free: 40.74 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/1.29, allocations: 0 / 1.121 GB, free: 40.74 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/1.29, allocations: 4.25 kB / 1.121 GB, free: 40.74 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/1.29, allocations: 0 / 1.121 GB, free: 40.74 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.796e-05/1.29, allocations: 27.53 kB / 1.121 GB, free: 40.72 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000564/1.291, allocations: 313.7 kB / 1.121 GB, free: 40.42 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.587e-05/1.291, allocations: 40.7 kB / 1.122 GB, free: 40.38 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.351e-05/1.291, allocations: 26.8 kB / 1.122 GB, free: 40.36 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/1.291, allocations: 0 / 1.122 GB, free: 40.36 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001251/1.291, allocations: 80.66 kB / 1.122 GB, free: 40.29 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/1.291, allocations: 0 / 1.122 GB, free: 40.29 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002361/1.291, allocations: 98.89 kB / 1.122 GB, free: 40.21 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/1.292, allocations: 59.36 kB / 1.122 GB, free: 40.14 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.422e-05/1.292, allocations: 111.8 kB / 1.122 GB, free: 40.04 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/1.292, allocations: 33.58 kB / 1.122 GB, free: 40 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.651e-05/1.292, allocations: 91.28 kB / 1.122 GB, free: 39.91 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/1.292, allocations: 19.06 kB / 1.122 GB, free: 39.89 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.493e-06/1.292, allocations: 0 / 1.122 GB, free: 39.89 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.02e-05/1.292, allocations: 325.3 kB / 1.122 GB, free: 39.57 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.994e-05/1.292, allocations: 19.44 kB / 1.122 GB, free: 39.56 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.695e-05/1.292, allocations: 40.47 kB / 1.122 GB, free: 39.53 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.335e-05/1.292, allocations: 26.62 kB / 1.122 GB, free: 39.51 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/1.292, allocations: 0 / 1.122 GB, free: 39.51 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001418/1.292, allocations: 106.9 kB / 1.123 GB, free: 39.42 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/1.292, allocations: 4 kB / 1.123 GB, free: 39.42 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/1.292, allocations: 0 / 1.123 GB, free: 39.42 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/1.292, allocations: 4 kB / 1.123 GB, free: 39.41 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-05/1.292, allocations: 15.58 kB / 1.123 GB, free: 39.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/1.292, allocations: 0 / 1.123 GB, free: 39.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.921e-05/1.292, allocations: 8.516 kB / 1.123 GB, free: 39.4 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/1.292, allocations: 4 kB / 1.123 GB, free: 39.39 MB / 0.7448 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 7.142e-05/1.292, allocations: 122.1 kB / 1.123 GB, free: 39.28 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.432e-05/1.292, allocations: 8.656 kB / 1.123 GB, free: 39.27 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.908e-05/1.293, allocations: 8.25 kB / 1.123 GB, free: 39.27 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/1.293, allocations: 4 kB / 1.123 GB, free: 39.27 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/1.293, allocations: 1.969 kB / 1.123 GB, free: 39.27 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/1.293, allocations: 0 / 1.123 GB, free: 39.27 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003016/1.293, allocations: 359.9 kB / 1.123 GB, free: 38.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/1.293, allocations: 0.6875 kB / 1.123 GB, free: 38.92 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.213e-05/1.293, allocations: 15.36 kB / 1.123 GB, free: 38.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/1.293, allocations: 0 / 1.123 GB, free: 38.91 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/1.293, allocations: 4 kB / 1.123 GB, free: 38.9 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/1.293, allocations: 0 / 1.123 GB, free: 38.9 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.293, allocations: 8.641 kB / 1.123 GB, free: 38.89 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001644/1.293, allocations: 197.9 kB / 1.123 GB, free: 38.71 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.646e-05/1.293, allocations: 77.67 kB / 1.123 GB, free: 38.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/1.293, allocations: 0 / 1.123 GB, free: 38.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.297e-05/1.293, allocations: 14.5 kB / 1.123 GB, free: 38.61 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.399e-05/1.293, allocations: 8.594 kB / 1.123 GB, free: 38.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.868e-06/1.293, allocations: 8.578 kB / 1.123 GB, free: 38.6 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.963e-05/1.293, allocations: 87.83 kB / 1.123 GB, free: 38.52 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/1.293, allocations: 0.9375 kB / 1.123 GB, free: 38.52 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002692/1.294, allocations: 53.67 kB / 1.123 GB, free: 38.48 MB / 0.7448 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.000626/1.294, allocations: 0.8003 MB / 1.124 GB, free: 37.71 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001388/1.294, allocations: 56.42 kB / 1.124 GB, free: 37.66 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/1.294, allocations: 2.875 kB / 1.124 GB, free: 37.66 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.462e-05/1.295, allocations: 29.61 kB / 1.124 GB, free: 37.64 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001685/1.295, allocations: 9 kB / 1.124 GB, free: 37.64 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000423/1.295, allocations: 155.5 kB / 1.125 GB, free: 37.48 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001449/1.295, allocations: 0.6914 MB / 1.125 GB, free: 36.77 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.126e-05/1.295, allocations: 8.484 kB / 1.125 GB, free: 36.77 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.495e-05/1.295, allocations: 21.02 kB / 1.125 GB, free: 36.76 MB / 0.7448 GB Notification: Performance of SimCode: time 2.5e-07/1.295, allocations: 0 / 1.125 GB, free: 36.76 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01329/1.309, allocations: 2.5 MB / 1.128 GB, free: 35.41 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001795/1.309, allocations: 213.1 kB / 1.128 GB, free: 35.18 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.728/3.037, allocations: 0 / 1.128 GB, free: 35.18 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1)