Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.009824/0.00983, allocations: 88.56 kB / 15.04 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001207/0.001207, allocations: 170.6 kB / 15.92 MB, free: 5.551 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.208/2.208, allocations: 205.5 MB / 222.2 MB, free: 13.73 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.439/2.439, allocations: 252.8 MB / 0.511 GB, free: 8.383 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005054/0.0005056, allocations: 12.94 kB / 0.6243 GB, free: 21.19 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3117, allocations: 106.2 MB / 0.7281 GB, free: 8.152 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002118/0.3139, allocations: 1.206 MB / 0.7292 GB, free: 6.93 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.001685/0.3156, allocations: 0.7188 MB / 0.7299 GB, free: 6.203 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.903e-05/0.3156, allocations: 0 / 0.7299 GB, free: 6.203 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 2.122e-05/0.3157, allocations: 0 / 0.7299 GB, free: 6.203 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 7.229e-05/0.3158, allocations: 19.91 kB / 0.73 GB, free: 6.184 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005388/0.3163, allocations: 91.7 kB / 0.7301 GB, free: 6.094 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.3164, allocations: 51.86 kB / 0.7301 GB, free: 6.043 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 8.914e-05/0.3165, allocations: 11.98 kB / 0.7301 GB, free: 6.031 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 9.384e-05/0.3167, allocations: 23.92 kB / 0.7301 GB, free: 6.008 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 9.329e-05/0.3168, allocations: 39.88 kB / 0.7302 GB, free: 5.969 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.3168, allocations: 8 kB / 0.7302 GB, free: 5.961 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002008/0.317, allocations: 67.88 kB / 0.7302 GB, free: 5.895 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 2.627e-05/0.317, allocations: 11.98 kB / 0.7303 GB, free: 5.883 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 4.722e-05/0.3171, allocations: 41.62 kB / 0.7303 GB, free: 5.836 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.000214/0.3173, allocations: 96 kB / 0.7304 GB, free: 5.742 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.3173, allocations: 0 / 0.7304 GB, free: 5.742 MB / 0.5574 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3173, allocations: 0 / 0.7304 GB, free: 5.742 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.3174, allocations: 0 / 0.7304 GB, free: 5.742 MB / 0.5574 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.0008166/0.3182, allocations: 408.9 kB / 0.7308 GB, free: 5.289 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.3182, allocations: 8.031 kB / 0.7308 GB, free: 5.281 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.728e-05/0.3183, allocations: 38.55 kB / 0.7308 GB, free: 5.234 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.398e-05/0.3184, allocations: 11.86 kB / 0.7308 GB, free: 5.223 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.3185, allocations: 170.9 kB / 0.731 GB, free: 5.016 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.965e-05/0.3186, allocations: 4 kB / 0.731 GB, free: 5.012 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.3186, allocations: 8 kB / 0.731 GB, free: 5.004 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002715/0.3189, allocations: 69.59 kB / 0.7311 GB, free: 4.93 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3189, allocations: 4 kB / 0.7311 GB, free: 4.926 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.3189, allocations: 3.984 kB / 0.7311 GB, free: 4.922 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.3189, allocations: 0 / 0.7311 GB, free: 4.922 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002321/0.3192, allocations: 51.88 kB / 0.7311 GB, free: 4.871 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008158/0.32, allocations: 316.8 kB / 0.7314 GB, free: 4.512 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.3202, allocations: 50.5 kB / 0.7315 GB, free: 4.453 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.3203, allocations: 8.062 kB / 0.7315 GB, free: 4.445 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002719/0.3205, allocations: 83.5 kB / 0.7316 GB, free: 4.352 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=7): time 2.043e-06/0.3206, allocations: 0 / 0.7316 GB, free: 4.352 MB / 0.5574 GB Notification: Performance of matching and sorting (n=7): time 0.0006069/0.3212, allocations: 141.5 kB / 0.7317 GB, free: 4.207 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.3212, allocations: 63.34 kB / 0.7318 GB, free: 4.133 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.3214, allocations: 129.7 kB / 0.7319 GB, free: 3.996 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.3214, allocations: 29.7 kB / 0.7319 GB, free: 3.961 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 6.291e-05/0.3215, allocations: 88.23 kB / 0.732 GB, free: 3.871 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 3.382e-05/0.3215, allocations: 23.81 kB / 0.732 GB, free: 3.848 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.017e-06/0.3215, allocations: 0 / 0.732 GB, free: 3.848 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.3217, allocations: 318.8 kB / 0.7323 GB, free: 3.527 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.3218, allocations: 31.97 kB / 0.7324 GB, free: 3.496 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.322, allocations: 50.56 kB / 0.7324 GB, free: 3.438 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.3222, allocations: 31.98 kB / 0.7324 GB, free: 3.406 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3222, allocations: 0 / 0.7324 GB, free: 3.406 MB / 0.5574 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004016/0.3226, allocations: 121.5 kB / 0.7326 GB, free: 3.281 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.3226, allocations: 4 kB / 0.7326 GB, free: 3.277 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3226, allocations: 4 kB / 0.7326 GB, free: 3.273 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.3227, allocations: 3.953 kB / 0.7326 GB, free: 3.27 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.3228, allocations: 15.92 kB / 0.7326 GB, free: 3.254 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.3229, allocations: 4 kB / 0.7326 GB, free: 3.25 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.323, allocations: 11.91 kB / 0.7326 GB, free: 3.238 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.323, allocations: 8.062 kB / 0.7326 GB, free: 3.23 MB / 0.5574 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 0.0001159/0.3232, allocations: 113.8 kB / 0.7327 GB, free: 3.109 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.327e-05/0.3232, allocations: 7.984 kB / 0.7327 GB, free: 3.102 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.354e-05/0.3232, allocations: 8.375 kB / 0.7327 GB, free: 3.094 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.3233, allocations: 3.953 kB / 0.7327 GB, free: 3.09 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.3233, allocations: 4 kB / 0.7327 GB, free: 3.086 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.3233, allocations: 0 / 0.7327 GB, free: 3.086 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006827/0.324, allocations: 390.7 kB / 0.7331 GB, free: 2.648 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.324, allocations: 0 / 0.7331 GB, free: 2.648 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.512e-05/0.3241, allocations: 7.938 kB / 0.7331 GB, free: 2.641 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.737e-06/0.3241, allocations: 7.938 kB / 0.7331 GB, free: 2.633 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.3241, allocations: 4 kB / 0.7331 GB, free: 2.629 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3241, allocations: 0 / 0.7331 GB, free: 2.629 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3241, allocations: 0 / 0.7331 GB, free: 2.629 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004445/0.3246, allocations: 223.4 kB / 0.7333 GB, free: 2.395 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 4.853e-05/0.3247, allocations: 81.09 kB / 0.7334 GB, free: 2.297 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.845e-05/0.3247, allocations: 7.953 kB / 0.7334 GB, free: 2.289 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.3248, allocations: 11.92 kB / 0.7334 GB, free: 2.277 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.891e-05/0.3249, allocations: 7.984 kB / 0.7334 GB, free: 2.27 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.3249, allocations: 8 kB / 0.7335 GB, free: 2.262 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 7.181e-05/0.325, allocations: 91.27 kB / 0.7335 GB, free: 2.172 MB / 0.5574 GB Notification: Performance of sort global known variables: time 3.51e-07/0.325, allocations: 0 / 0.7335 GB, free: 2.172 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0004179/0.3254, allocations: 36 kB / 0.7336 GB, free: 2.137 MB / 0.5574 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.001105/0.3266, allocations: 0.8064 MB / 0.7344 GB, free: 1.316 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0004177/0.327, allocations: 83.95 kB / 0.7344 GB, free: 1.234 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.327, allocations: 0 / 0.7344 GB, free: 1.234 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.3272, allocations: 35.92 kB / 0.7345 GB, free: 1.199 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.3275, allocations: 11.14 kB / 0.7345 GB, free: 1.191 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.3285, allocations: 0.7206 MB / 0.7352 GB, free: 420 kB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.3288, allocations: 0.6926 MB / 0.7359 GB, free: 15.69 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 5.851e-05/0.3289, allocations: 4.188 kB / 0.7359 GB, free: 15.69 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.551e-05/0.329, allocations: 23.42 kB / 0.7359 GB, free: 15.67 MB / 0.573 GB Notification: Performance of SimCode: time 7.82e-07/0.329, allocations: 0 / 0.7359 GB, free: 15.67 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0247/0.3537, allocations: 2.324 MB / 0.7382 GB, free: 13.45 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003306/0.3541, allocations: 251.1 kB / 0.7384 GB, free: 13.16 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.664/3.018, allocations: 0 / 0.7384 GB, free: 13.16 MB / 0.573 GB