Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.459/2.459, allocations: 287.5 MB / 303.2 MB, free: 8.191 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.001355/0.001354, allocations: 169.9 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.116/2.116, allocations: 205.4 MB / 0.6305 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001279/0.001279, allocations: 97.17 kB / 0.7438 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000487/0.0004872, allocations: 16.67 kB / 0.8667 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2096, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9495/1.159, allocations: 139.9 MB / 1.116 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/1.16, allocations: 86.45 kB / 1.116 GB, free: 15.77 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0128/1.172, allocations: 3 MB / 1.119 GB, free: 31.32 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.225e-06/1.172, allocations: 0 / 1.119 GB, free: 31.32 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.644e-06/1.172, allocations: 0 / 1.119 GB, free: 31.32 MB / 0.698 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.0006385/1.173, allocations: 420.2 kB / 1.119 GB, free: 30.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/1.173, allocations: 11.5 kB / 1.119 GB, free: 30.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.942e-05/1.173, allocations: 4.844 kB / 1.119 GB, free: 30.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/1.173, allocations: 180.8 kB / 1.119 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.392e-05/1.173, allocations: 6.062 kB / 1.119 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/1.173, allocations: 8.125 kB / 1.119 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/1.174, allocations: 70.34 kB / 1.12 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/1.174, allocations: 192 / 1.12 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/1.174, allocations: 7.922 kB / 1.12 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/1.174, allocations: 0 / 1.12 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002091/1.174, allocations: 51.09 kB / 1.12 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007484/1.175, allocations: 317.3 kB / 1.12 GB, free: 30.38 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001819/1.175, allocations: 56.44 kB / 1.12 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001376/1.175, allocations: 34.78 kB / 1.12 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/1.175, allocations: 5.031 kB / 1.12 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002187/1.175, allocations: 86.08 kB / 1.12 GB, free: 30.28 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.204e-06/1.175, allocations: 1.312 kB / 1.12 GB, free: 30.28 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0005515/1.176, allocations: 145.5 kB / 1.12 GB, free: 30.25 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/1.176, allocations: 58.88 kB / 1.12 GB, free: 30.18 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/1.176, allocations: 120.8 kB / 1.12 GB, free: 30.09 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/1.176, allocations: 29.7 kB / 1.12 GB, free: 30.05 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.065e-05/1.176, allocations: 91.27 kB / 1.121 GB, free: 29.97 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.312e-05/1.176, allocations: 14.45 kB / 1.121 GB, free: 29.96 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.448e-06/1.176, allocations: 3.812 kB / 1.121 GB, free: 29.96 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001608/1.176, allocations: 318.5 kB / 1.121 GB, free: 29.64 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/1.177, allocations: 31.98 kB / 1.121 GB, free: 29.64 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/1.177, allocations: 55.48 kB / 1.121 GB, free: 29.61 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002395/1.177, allocations: 77.42 kB / 1.121 GB, free: 29.59 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.177, allocations: 0 / 1.121 GB, free: 29.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003643/1.177, allocations: 123.8 kB / 1.121 GB, free: 29.54 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/1.177, allocations: 3.812 kB / 1.121 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/1.177, allocations: 3.922 kB / 1.121 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/1.177, allocations: 0 / 1.121 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/1.178, allocations: 18.19 kB / 1.121 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/1.178, allocations: 7.641 kB / 1.121 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/1.178, allocations: 7.938 kB / 1.121 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/1.178, allocations: 3.844 kB / 1.121 GB, free: 29.53 MB / 0.698 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 0.0001158/1.178, allocations: 124.1 kB / 1.121 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.857e-05/1.178, allocations: 7.75 kB / 1.121 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.085e-05/1.178, allocations: 8 kB / 1.121 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/1.178, allocations: 3.844 kB / 1.121 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/1.178, allocations: 0 / 1.121 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/1.178, allocations: 0 / 1.121 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005996/1.179, allocations: 390.3 kB / 1.122 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/1.179, allocations: 0 / 1.122 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.842e-05/1.179, allocations: 3.875 kB / 1.122 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/1.179, allocations: 0 / 1.122 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/1.179, allocations: 3.047 kB / 1.122 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/1.179, allocations: 3.875 kB / 1.122 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/1.179, allocations: 4 kB / 1.122 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003928/1.179, allocations: 214.6 kB / 1.122 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.957e-05/1.179, allocations: 91.64 kB / 1.122 GB, free: 28.86 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/1.179, allocations: 3.375 kB / 1.122 GB, free: 28.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/1.179, allocations: 7.812 kB / 1.122 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.747e-05/1.179, allocations: 10.81 kB / 1.122 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/1.179, allocations: 4.594 kB / 1.122 GB, free: 28.85 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.525e-05/1.18, allocations: 98.73 kB / 1.122 GB, free: 28.77 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/1.18, allocations: 0 / 1.122 GB, free: 28.77 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004283/1.18, allocations: 48.88 kB / 1.122 GB, free: 28.76 MB / 0.698 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.0004351/1.18, allocations: 173.9 kB / 1.122 GB, free: 28.65 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003424/1.181, allocations: 79.05 kB / 1.122 GB, free: 28.64 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.181, allocations: 0 / 1.122 GB, free: 28.64 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001477/1.181, allocations: 39.17 kB / 1.122 GB, free: 28.64 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/1.181, allocations: 7.359 kB / 1.122 GB, free: 28.64 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000498/1.182, allocations: 200 kB / 1.123 GB, free: 28.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/1.182, allocations: 0.6867 MB / 1.123 GB, free: 27.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.899e-05/1.182, allocations: 10.48 kB / 1.123 GB, free: 27.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.64e-05/1.182, allocations: 11.34 kB / 1.123 GB, free: 27.79 MB / 0.698 GB Notification: Performance of SimCode: time 8.72e-07/1.182, allocations: 0 / 1.123 GB, free: 27.79 MB / 0.698 GB Notification: Performance of Templates: time 0.005306/1.188, allocations: 1.532 MB / 1.125 GB, free: 27.64 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1)