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.Zhang2012WindowsSouth.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.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009572/0.009576, allocations: 107.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.001122/0.001122, allocations: 174.7 kB / 15.94 MB, free: 5.527 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.01/2.01, allocations: 194.6 MB / 211.3 MB, free: 11.02 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.317/2.317, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004677/0.0004678, allocations: 15.94 kB / 0.5869 GB, free: 2.176 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5423/0.5428, allocations: 98.7 MB / 0.6833 GB, free: 16.78 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.001596/0.5445, allocations: 1.197 MB / 0.6845 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001274/0.5458, allocations: 0.7049 MB / 0.6852 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.979e-05/0.5458, allocations: 0 / 0.6852 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.57e-05/0.5459, allocations: 0.7969 kB / 0.6852 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 6.249e-05/0.5459, allocations: 15.03 kB / 0.6852 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.000482/0.5464, allocations: 91.67 kB / 0.6853 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 8.973e-05/0.5465, allocations: 49.27 kB / 0.6853 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 7.754e-05/0.5466, allocations: 7.297 kB / 0.6853 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 9.213e-05/0.5467, allocations: 31.28 kB / 0.6854 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 7.823e-05/0.5468, allocations: 35.8 kB / 0.6854 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.5469, allocations: 2.906 kB / 0.6854 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001841/0.5471, allocations: 74.47 kB / 0.6855 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.508e-05/0.5471, allocations: 10.3 kB / 0.6855 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.891e-05/0.5472, allocations: 39.47 kB / 0.6855 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.5474, allocations: 91.31 kB / 0.6856 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.69e-06/0.5474, allocations: 0 / 0.6856 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.989e-06/0.5474, allocations: 0 / 0.6856 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.533e-06/0.5474, allocations: 0 / 0.6856 GB, free: 15.23 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.0005266/0.5479, allocations: 417.5 kB / 0.686 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.548, allocations: 9.25 kB / 0.686 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.102e-05/0.548, allocations: 11.8 kB / 0.686 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.816e-05/0.5481, allocations: 172.9 kB / 0.6862 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/0.5482, allocations: 6.719 kB / 0.6862 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/0.5482, allocations: 7.781 kB / 0.6862 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/0.5484, allocations: 69.67 kB / 0.6863 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.5484, allocations: 0.75 kB / 0.6863 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.5485, allocations: 1.125 kB / 0.6863 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.474e-06/0.5485, allocations: 5.188 kB / 0.6863 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001785/0.5487, allocations: 45.36 kB / 0.6863 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006158/0.5493, allocations: 315.2 kB / 0.6866 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.5495, allocations: 48.31 kB / 0.6867 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.5495, allocations: 9.156 kB / 0.6867 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002235/0.5498, allocations: 83.72 kB / 0.6868 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 2.739e-06/0.5498, allocations: 0 / 0.6868 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0005044/0.5503, allocations: 152.3 kB / 0.6869 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/0.5503, allocations: 58.91 kB / 0.687 GB, free: 14 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.452e-05/0.5504, allocations: 119.5 kB / 0.6871 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.5505, allocations: 31.14 kB / 0.6871 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.376e-05/0.5505, allocations: 90.7 kB / 0.6872 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.5506, allocations: 19.94 kB / 0.6872 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.613e-06/0.5506, allocations: 0.75 kB / 0.6872 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.837e-05/0.5506, allocations: 320 kB / 0.6875 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.5508, allocations: 29.64 kB / 0.6875 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.5509, allocations: 61.12 kB / 0.6876 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.551, allocations: 34.41 kB / 0.6876 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.475e-06/0.5511, allocations: 0.875 kB / 0.6876 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003453/0.5514, allocations: 121.2 kB / 0.6878 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.5514, allocations: 5.438 kB / 0.6878 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.4e-06/0.5515, allocations: 1.031 kB / 0.6878 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.5515, allocations: 9.672 kB / 0.6878 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.5516, allocations: 12.61 kB / 0.6878 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.242e-06/0.5517, allocations: 5.531 kB / 0.6878 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.524e-05/0.5518, allocations: 13.97 kB / 0.6878 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.5518, allocations: 8.391 kB / 0.6878 GB, free: 13.29 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 9.046e-05/0.5519, allocations: 120.5 kB / 0.6879 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.187e-05/0.5519, allocations: 6.438 kB / 0.6879 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.34e-05/0.552, allocations: 11.25 kB / 0.6879 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.483e-06/0.552, allocations: 1.062 kB / 0.6879 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.552, allocations: 3.953 kB / 0.6879 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.552, allocations: 1.781 kB / 0.6879 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005489/0.5526, allocations: 383.5 kB / 0.6883 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.665e-06/0.5526, allocations: 1.156 kB / 0.6883 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.701e-05/0.5526, allocations: 5.156 kB / 0.6883 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.424e-06/0.5527, allocations: 2.094 kB / 0.6883 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.5527, allocations: 5.359 kB / 0.6883 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.314e-06/0.5527, allocations: 1.281 kB / 0.6883 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.965e-06/0.5527, allocations: 0 / 0.6883 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003456/0.5531, allocations: 216.4 kB / 0.6885 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.609e-05/0.5531, allocations: 80.69 kB / 0.6886 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/0.5531, allocations: 1.156 kB / 0.6886 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.5533, allocations: 13.92 kB / 0.6886 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.944e-05/0.5533, allocations: 9.203 kB / 0.6886 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.5534, allocations: 10.36 kB / 0.6886 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.133e-05/0.5534, allocations: 91.97 kB / 0.6887 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.82e-07/0.5534, allocations: 4.938 kB / 0.6887 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004278/0.5539, allocations: 45.88 kB / 0.6888 GB, free: 12.44 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.0003819/0.5543, allocations: 168 kB / 0.6889 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003167/0.5546, allocations: 81.03 kB / 0.689 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.984e-06/0.5546, allocations: 0 / 0.689 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.5548, allocations: 39.69 kB / 0.6891 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.0002211/0.555, allocations: 7.719 kB / 0.6891 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004621/0.5555, allocations: 202.2 kB / 0.6893 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001339/0.5556, allocations: 0.6914 MB / 0.6899 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.298e-05/0.5557, allocations: 12.34 kB / 0.6899 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.445e-05/0.5557, allocations: 12.14 kB / 0.69 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of SimCode: time 1.62e-06/0.5558, allocations: 0 / 0.69 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of Templates: time 0.005133/0.5609, allocations: 1.317 MB / 0.6912 GB, free: 11.3 MB / 0.5261 GB