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.Zhang2012WindowsWest.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.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01561/0.01562, allocations: 108.5 kB / 15.06 MB, free: 5.562 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.001924/0.001924, allocations: 180.2 kB / 15.95 MB, free: 5.523 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 2.047/2.047, allocations: 194.6 MB / 211.3 MB, free: 11.33 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.36/2.36, allocations: 236.2 MB / 492.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007207/0.0007212, allocations: 12 kB / 0.5869 GB, free: 2.207 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.635/0.6358, allocations: 98.72 MB / 0.6833 GB, free: 16.76 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.001546/0.6373, allocations: 1.184 MB / 0.6845 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001232/0.6386, allocations: 0.7091 MB / 0.6852 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.01e-05/0.6387, allocations: 0 / 0.6852 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.88e-05/0.6387, allocations: 1.266 kB / 0.6852 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 5.535e-05/0.6388, allocations: 11.72 kB / 0.6852 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004611/0.6392, allocations: 90.77 kB / 0.6853 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 9.154e-05/0.6393, allocations: 45.61 kB / 0.6853 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 8.388e-05/0.6394, allocations: 7.531 kB / 0.6853 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 9.433e-05/0.6395, allocations: 36.91 kB / 0.6854 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 7.699e-05/0.6396, allocations: 37.64 kB / 0.6854 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.6397, allocations: 2.531 kB / 0.6854 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001784/0.6399, allocations: 66.11 kB / 0.6855 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.638e-05/0.6399, allocations: 18.81 kB / 0.6855 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.365e-05/0.6399, allocations: 35.44 kB / 0.6855 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001964/0.6401, allocations: 89.61 kB / 0.6856 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.744e-06/0.6402, allocations: 3.938 kB / 0.6856 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.105e-06/0.6402, allocations: 1.438 kB / 0.6856 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.807e-06/0.6402, allocations: 0 / 0.6856 GB, free: 15.22 MB / 0.5261 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.0005088/0.6407, allocations: 413 kB / 0.686 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.6408, allocations: 9.547 kB / 0.686 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.443e-05/0.6408, allocations: 11.86 kB / 0.686 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.487e-05/0.6409, allocations: 179.7 kB / 0.6862 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.047e-05/0.6409, allocations: 4.219 kB / 0.6862 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.641, allocations: 3.031 kB / 0.6862 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002328/0.6412, allocations: 70.27 kB / 0.6863 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.243e-06/0.6412, allocations: 1.188 kB / 0.6863 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.6413, allocations: 0.6094 kB / 0.6863 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.547e-06/0.6413, allocations: 5.219 kB / 0.6863 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001895/0.6415, allocations: 49.28 kB / 0.6863 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006127/0.6421, allocations: 314.4 kB / 0.6866 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.6423, allocations: 49.62 kB / 0.6867 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.6423, allocations: 0 / 0.6867 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000218/0.6426, allocations: 84.02 kB / 0.6868 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 2.437e-06/0.6426, allocations: 0 / 0.6868 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0004968/0.6431, allocations: 153.7 kB / 0.6869 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.6431, allocations: 54.58 kB / 0.687 GB, free: 14 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.667e-05/0.6432, allocations: 121.6 kB / 0.6871 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.6433, allocations: 35.17 kB / 0.6871 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.357e-05/0.6433, allocations: 92.39 kB / 0.6872 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.6434, allocations: 16.25 kB / 0.6872 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.585e-06/0.6434, allocations: 0 / 0.6872 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.641e-05/0.6434, allocations: 320.1 kB / 0.6875 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.6436, allocations: 30.22 kB / 0.6875 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.6437, allocations: 64.44 kB / 0.6876 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.6438, allocations: 35.7 kB / 0.6876 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/0.6438, allocations: 0 / 0.6876 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003276/0.6442, allocations: 119.8 kB / 0.6878 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.6442, allocations: 6.641 kB / 0.6878 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.476e-06/0.6442, allocations: 0 / 0.6878 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.6443, allocations: 6.391 kB / 0.6878 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.6444, allocations: 11.92 kB / 0.6878 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.201e-06/0.6444, allocations: 2.125 kB / 0.6878 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.498e-05/0.6445, allocations: 14.2 kB / 0.6878 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.6446, allocations: 4.328 kB / 0.6878 GB, free: 13.3 MB / 0.5261 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 (win.occ,$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 8.85e-05/0.6447, allocations: 128 kB / 0.6879 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.201e-05/0.6447, allocations: 7.062 kB / 0.6879 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.96e-05/0.6447, allocations: 6.516 kB / 0.6879 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.493e-06/0.6447, allocations: 1.25 kB / 0.6879 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.316e-06/0.6448, allocations: 4.609 kB / 0.6879 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.966e-06/0.6448, allocations: 0 / 0.6879 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005834/0.6454, allocations: 384.2 kB / 0.6883 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.565e-06/0.6454, allocations: 5.5 kB / 0.6883 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.974e-05/0.6455, allocations: 10.12 kB / 0.6883 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.548e-06/0.6455, allocations: 0 / 0.6883 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.6455, allocations: 6.359 kB / 0.6883 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.309e-06/0.6455, allocations: 1.125 kB / 0.6883 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.23e-06/0.6455, allocations: 4.984 kB / 0.6883 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003485/0.6459, allocations: 219.6 kB / 0.6885 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.715e-05/0.6459, allocations: 84.16 kB / 0.6886 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/0.646, allocations: 3.078 kB / 0.6886 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.6461, allocations: 9.344 kB / 0.6886 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.63e-05/0.6462, allocations: 4.531 kB / 0.6886 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.6462, allocations: 4.516 kB / 0.6886 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.084e-05/0.6462, allocations: 102.8 kB / 0.6887 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.42e-07/0.6462, allocations: 0 / 0.6887 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000432/0.6467, allocations: 38.86 kB / 0.6888 GB, free: 12.43 MB / 0.5261 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,win.occ,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.0003723/0.6471, allocations: 157.8 kB / 0.6889 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003244/0.6474, allocations: 80.03 kB / 0.689 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.991e-06/0.6474, allocations: 1.125 kB / 0.689 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001343/0.6476, allocations: 38.97 kB / 0.689 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.6478, allocations: 6.906 kB / 0.6891 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000429/0.6483, allocations: 196.9 kB / 0.6892 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.6484, allocations: 0.6958 MB / 0.6899 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.444e-05/0.6485, allocations: 4.531 kB / 0.6899 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.43e-05/0.6485, allocations: 15.61 kB / 0.6899 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of SimCode: time 1.401e-06/0.6485, allocations: 0 / 0.6899 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of Templates: time 0.005087/0.6536, allocations: 1.34 MB / 0.6912 GB, free: 11.29 MB / 0.5261 GB