Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009017/0.009017, allocations: 110.1 kB / 15.05 MB, free: 5.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001096/0.001096, allocations: 183.9 kB / 15.94 MB, free: 5.926 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.929/1.929, allocations: 194.6 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.259/2.259, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004685/0.0004686, allocations: 12 kB / 0.5869 GB, free: 2.156 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.621/0.6215, allocations: 98.71 MB / 0.6833 GB, free: 16.91 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1905/0.812, allocations: 126.5 MB / 0.8069 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/0.8123, allocations: 87.94 kB / 0.8069 GB, free: 15.71 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.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.01293/0.8253, allocations: 2.952 MB / 0.8098 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.296e-06/0.8253, allocations: 0 / 0.8098 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.635e-06/0.8253, allocations: 0 / 0.8098 GB, free: 12.75 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.0006809/0.826, allocations: 416.8 kB / 0.8102 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.8261, allocations: 8.031 kB / 0.8102 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.886e-05/0.8262, allocations: 15.84 kB / 0.8102 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.8264, allocations: 171 kB / 0.8104 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.911e-05/0.8265, allocations: 0 / 0.8104 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.472e-05/0.8265, allocations: 8 kB / 0.8104 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003743/0.8269, allocations: 69.66 kB / 0.8105 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.8269, allocations: 0 / 0.8105 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.725e-05/0.827, allocations: 7.938 kB / 0.8105 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.882e-06/0.827, allocations: 0 / 0.8105 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003356/0.8274, allocations: 47.89 kB / 0.8105 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001197/0.8286, allocations: 323.1 kB / 0.8108 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002909/0.8289, allocations: 50.55 kB / 0.8109 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.188e-05/0.829, allocations: 4 kB / 0.8109 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003633/0.8294, allocations: 83.44 kB / 0.811 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 5.11e-06/0.8294, allocations: 0 / 0.811 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0008678/0.8303, allocations: 153.6 kB / 0.8111 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.331e-05/0.8304, allocations: 55.41 kB / 0.8112 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.8306, allocations: 112.9 kB / 0.8113 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.595e-05/0.8306, allocations: 25.7 kB / 0.8113 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.8308, allocations: 100.2 kB / 0.8114 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.783e-05/0.8308, allocations: 11.81 kB / 0.8114 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.577e-05/0.8309, allocations: 4 kB / 0.8114 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002158/0.8311, allocations: 322.8 kB / 0.8117 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.8313, allocations: 23.98 kB / 0.8117 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002138/0.8315, allocations: 50.5 kB / 0.8118 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002199/0.8318, allocations: 39.98 kB / 0.8118 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.862e-06/0.8318, allocations: 0 / 0.8118 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005866/0.8324, allocations: 121.8 kB / 0.812 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.8324, allocations: 4 kB / 0.812 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.447e-06/0.8325, allocations: 0 / 0.812 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.8325, allocations: 4 kB / 0.812 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/0.8327, allocations: 16.05 kB / 0.812 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/0.8327, allocations: 3.953 kB / 0.812 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.8329, allocations: 8 kB / 0.812 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/0.833, allocations: 4 kB / 0.812 GB, free: 10.3 MB / 0.6355 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.000189/0.8332, allocations: 121.8 kB / 0.8121 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.593e-05/0.8332, allocations: 7.906 kB / 0.8121 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.424e-05/0.8333, allocations: 12.38 kB / 0.8121 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.8333, allocations: 4 kB / 0.8121 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.939e-06/0.8333, allocations: 4 kB / 0.8121 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.8334, allocations: 3.953 kB / 0.8121 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.8344, allocations: 378.5 kB / 0.8125 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.693e-06/0.8344, allocations: 7.938 kB / 0.8125 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.621e-05/0.8345, allocations: 7.984 kB / 0.8125 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.294e-06/0.8346, allocations: 4 kB / 0.8125 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.8346, allocations: 3.938 kB / 0.8125 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.802e-06/0.8346, allocations: 3.953 kB / 0.8125 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.478e-06/0.8347, allocations: 0 / 0.8125 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006488/0.8353, allocations: 215.4 kB / 0.8127 GB, free: 9.453 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.473e-05/0.8354, allocations: 88.95 kB / 0.8128 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.099e-05/0.8355, allocations: 8 kB / 0.8128 GB, free: 9.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.8357, allocations: 4 kB / 0.8128 GB, free: 9.336 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.592e-05/0.8358, allocations: 11.94 kB / 0.8128 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.8358, allocations: 0 / 0.8128 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001184/0.836, allocations: 91.92 kB / 0.8129 GB, free: 9.234 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.66e-07/0.836, allocations: 0 / 0.8129 GB, free: 9.234 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008007/0.8368, allocations: 55.92 kB / 0.813 GB, free: 9.18 MB / 0.6355 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.0006604/0.8375, allocations: 186.4 kB / 0.8132 GB, free: 9.008 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000521/0.838, allocations: 71.95 kB / 0.8132 GB, free: 8.938 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.8381, allocations: 128 / 0.8132 GB, free: 8.938 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002295/0.8383, allocations: 47.92 kB / 0.8133 GB, free: 8.891 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.8387, allocations: 0 / 0.8133 GB, free: 8.891 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007605/0.8395, allocations: 201.7 kB / 0.8135 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004964/0.84, allocations: 0.6926 MB / 0.8141 GB, free: 7.941 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.541e-05/0.8401, allocations: 4.172 kB / 0.8141 GB, free: 7.938 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.246e-05/0.8402, allocations: 11.44 kB / 0.8142 GB, free: 7.926 MB / 0.6355 GB Notification: Performance of SimCode: time 1.893e-06/0.8402, allocations: 0 / 0.8142 GB, free: 7.926 MB / 0.6355 GB Notification: Performance of Templates: time 0.0105/0.8507, allocations: 1.525 MB / 0.8156 GB, free: 6.402 MB / 0.6355 GB