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.Zhang2012WindowsAll.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.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.00905/0.009055, allocations: 104.6 kB / 15.06 MB, free: 5.559 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.001119/0.001119, allocations: 179.7 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 1.908/1.908, allocations: 194.5 MB / 211.3 MB, free: 11.09 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.573/2.573, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004743/0.0004745, allocations: 15.98 kB / 0.5869 GB, free: 2.156 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6262/0.6267, allocations: 98.7 MB / 0.6833 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.001991/0.6288, allocations: 1.191 MB / 0.6845 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001267/0.6301, allocations: 0.7048 MB / 0.6852 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.372e-05/0.6301, allocations: 1.156 kB / 0.6852 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.625e-05/0.6302, allocations: 5.266 kB / 0.6852 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 5.985e-05/0.6302, allocations: 14.62 kB / 0.6852 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004733/0.6307, allocations: 88.08 kB / 0.6853 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 8.744e-05/0.6308, allocations: 46.41 kB / 0.6853 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 8.024e-05/0.6309, allocations: 14.19 kB / 0.6853 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 9.28e-05/0.631, allocations: 30.08 kB / 0.6854 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 7.7e-05/0.6311, allocations: 32.88 kB / 0.6854 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.6311, allocations: 7.469 kB / 0.6854 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001887/0.6313, allocations: 68.91 kB / 0.6855 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.529e-05/0.6314, allocations: 15.64 kB / 0.6855 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.924e-05/0.6314, allocations: 35.56 kB / 0.6855 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.6316, allocations: 92.94 kB / 0.6856 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.839e-06/0.6317, allocations: 1.062 kB / 0.6856 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.015e-06/0.6317, allocations: 0 / 0.6856 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.6317, allocations: 0 / 0.6856 GB, free: 15.27 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.0005331/0.6322, allocations: 410.1 kB / 0.686 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.6323, allocations: 9.125 kB / 0.686 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.27e-05/0.6323, allocations: 11.64 kB / 0.686 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.337e-05/0.6324, allocations: 176.8 kB / 0.6862 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.031e-05/0.6325, allocations: 5.656 kB / 0.6862 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.158e-05/0.6325, allocations: 4.609 kB / 0.6862 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002139/0.6327, allocations: 67.33 kB / 0.6863 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.253e-06/0.6327, allocations: 0 / 0.6863 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.6328, allocations: 5.312 kB / 0.6863 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.871e-06/0.6328, allocations: 0 / 0.6863 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002018/0.633, allocations: 53.2 kB / 0.6863 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000613/0.6336, allocations: 311.8 kB / 0.6866 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.6338, allocations: 51.66 kB / 0.6867 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.6338, allocations: 1.469 kB / 0.6867 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002237/0.6341, allocations: 91.12 kB / 0.6868 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 2.746e-06/0.6341, allocations: 0 / 0.6868 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0005041/0.6346, allocations: 150.8 kB / 0.6869 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.6347, allocations: 53.19 kB / 0.687 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.789e-05/0.6348, allocations: 122.1 kB / 0.6871 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.6348, allocations: 31.33 kB / 0.6871 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.127e-05/0.6348, allocations: 92.53 kB / 0.6872 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.6349, allocations: 7.953 kB / 0.6872 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.451e-06/0.6349, allocations: 5.5 kB / 0.6872 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.545e-05/0.635, allocations: 321.6 kB / 0.6875 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.6351, allocations: 24.77 kB / 0.6875 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.6352, allocations: 59.88 kB / 0.6876 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.6353, allocations: 42.73 kB / 0.6876 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.664e-06/0.6354, allocations: 0 / 0.6876 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003281/0.6357, allocations: 116.9 kB / 0.6877 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.6357, allocations: 6.281 kB / 0.6877 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.6357, allocations: 0.7031 kB / 0.6877 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.6358, allocations: 5.328 kB / 0.6878 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.6359, allocations: 20 kB / 0.6878 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.678e-06/0.6359, allocations: 2.391 kB / 0.6878 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.45e-05/0.636, allocations: 18.17 kB / 0.6878 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.6361, allocations: 3.469 kB / 0.6878 GB, free: 13.35 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.672e-05/0.6362, allocations: 124.8 kB / 0.6879 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.177e-05/0.6362, allocations: 6.812 kB / 0.6879 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.147e-05/0.6362, allocations: 11.06 kB / 0.6879 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.304e-06/0.6362, allocations: 1.438 kB / 0.6879 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.264e-06/0.6363, allocations: 3.953 kB / 0.6879 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.223e-06/0.6363, allocations: 2.016 kB / 0.6879 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006029/0.6369, allocations: 390.8 kB / 0.6883 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.591e-06/0.6369, allocations: 0.7031 kB / 0.6883 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.032e-05/0.637, allocations: 7.281 kB / 0.6883 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.264e-06/0.637, allocations: 0.6562 kB / 0.6883 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.637, allocations: 6.281 kB / 0.6883 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.262e-06/0.637, allocations: 0.6562 kB / 0.6883 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.796e-06/0.637, allocations: 0 / 0.6883 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003505/0.6374, allocations: 213.6 kB / 0.6885 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.565e-05/0.6374, allocations: 78.14 kB / 0.6886 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.6375, allocations: 6.266 kB / 0.6886 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.6376, allocations: 9.859 kB / 0.6886 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.575e-05/0.6377, allocations: 5.078 kB / 0.6886 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.6377, allocations: 7.344 kB / 0.6886 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.233e-05/0.6378, allocations: 95.89 kB / 0.6887 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.409e-06/0.6378, allocations: 8.812 kB / 0.6887 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004249/0.6382, allocations: 48.81 kB / 0.6888 GB, free: 12.48 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.0003894/0.6386, allocations: 165.6 kB / 0.6889 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003245/0.639, allocations: 68.86 kB / 0.689 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.402e-06/0.639, allocations: 5.438 kB / 0.689 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.6391, allocations: 43.14 kB / 0.689 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.6393, allocations: 7.531 kB / 0.6891 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004387/0.6398, allocations: 194.2 kB / 0.6892 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001317/0.64, allocations: 0.6897 MB / 0.6899 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.348e-05/0.64, allocations: 9.281 kB / 0.6899 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.34e-05/0.6401, allocations: 12.97 kB / 0.6899 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of SimCode: time 1.995e-06/0.6401, allocations: 0 / 0.6899 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of Templates: time 0.005234/0.6453, allocations: 1.336 MB / 0.6912 GB, free: 11.34 MB / 0.5261 GB