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.Zhang2012WindowsNorth.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: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,fileNamePrefix="Buildings_6_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.2/package.mo): time 0.01612/0.01612, allocations: 108.5 kB / 15.06 MB, free: 5.555 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.00184/0.00184, allocations: 181.4 kB / 15.95 MB, free: 5.52 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.543/2.543, allocations: 194.6 MB / 211.3 MB, free: 11.25 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.481/2.481, allocations: 236.2 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005061/0.0005063, allocations: 12 kB / 0.587 GB, free: 2.086 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8002/0.8008, allocations: 98.72 MB / 0.6834 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002015/0.8029, allocations: 1.185 MB / 0.6846 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001575/0.8045, allocations: 0.7074 MB / 0.6853 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.84e-05/0.8046, allocations: 5.031 kB / 0.6853 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.962e-05/0.8047, allocations: 1.125 kB / 0.6853 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 7.354e-05/0.8047, allocations: 15.14 kB / 0.6853 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.000607/0.8054, allocations: 88.08 kB / 0.6854 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.8055, allocations: 45.83 kB / 0.6854 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 9.481e-05/0.8056, allocations: 11.17 kB / 0.6854 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.8057, allocations: 33.64 kB / 0.6855 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 9.396e-05/0.8058, allocations: 37.34 kB / 0.6855 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.8059, allocations: 2.438 kB / 0.6855 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002521/0.8061, allocations: 66.33 kB / 0.6856 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 3.008e-05/0.8062, allocations: 15.08 kB / 0.6856 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 5.149e-05/0.8062, allocations: 38.33 kB / 0.6856 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002549/0.8065, allocations: 91.14 kB / 0.6857 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.8065, allocations: 0 / 0.6857 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8065, allocations: 0 / 0.6857 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.8065, allocations: 0 / 0.6857 GB, free: 15.32 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.0006989/0.8072, allocations: 421.6 kB / 0.6861 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.8073, allocations: 9.391 kB / 0.6861 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.106e-05/0.8074, allocations: 33.42 kB / 0.6862 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.326e-05/0.8074, allocations: 8.172 kB / 0.6862 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.8075, allocations: 175.9 kB / 0.6863 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.382e-05/0.8076, allocations: 6.875 kB / 0.6863 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.848e-05/0.8076, allocations: 3.719 kB / 0.6863 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/0.8079, allocations: 71.11 kB / 0.6864 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.8079, allocations: 3.938 kB / 0.6864 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.8079, allocations: 8.734 kB / 0.6864 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.8079, allocations: 1.406 kB / 0.6864 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002292/0.8082, allocations: 44.77 kB / 0.6865 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008394/0.809, allocations: 315.6 kB / 0.6868 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.8092, allocations: 48.25 kB / 0.6868 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.8093, allocations: 1.406 kB / 0.6868 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002694/0.8096, allocations: 83.48 kB / 0.6869 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 2.465e-06/0.8096, allocations: 0 / 0.6869 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0006156/0.8102, allocations: 156 kB / 0.687 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.8103, allocations: 57.66 kB / 0.6871 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.8104, allocations: 117 kB / 0.6872 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.8104, allocations: 30.92 kB / 0.6872 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.04e-05/0.8105, allocations: 96.27 kB / 0.6873 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-05/0.8105, allocations: 15.59 kB / 0.6873 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.11e-05/0.8105, allocations: 0.9688 kB / 0.6873 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.706e-05/0.8106, allocations: 323.2 kB / 0.6877 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.8108, allocations: 29.42 kB / 0.6877 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/0.8109, allocations: 57.02 kB / 0.6877 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.8111, allocations: 33.8 kB / 0.6878 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.8111, allocations: 1.062 kB / 0.6878 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003869/0.8115, allocations: 121.2 kB / 0.6879 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.8115, allocations: 5.609 kB / 0.6879 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.8116, allocations: 1.719 kB / 0.6879 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.8116, allocations: 5.328 kB / 0.6879 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.8118, allocations: 11.75 kB / 0.6879 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.8118, allocations: 2.125 kB / 0.6879 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.8119, allocations: 22.81 kB / 0.6879 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.8119, allocations: 2.641 kB / 0.6879 GB, free: 13.34 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.68e-05/0.812, allocations: 116.4 kB / 0.688 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.8121, allocations: 7.219 kB / 0.688 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.854e-05/0.8121, allocations: 11.09 kB / 0.6881 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.8121, allocations: 5.047 kB / 0.6881 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.8122, allocations: 1.188 kB / 0.6881 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.8122, allocations: 0.7031 kB / 0.6881 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006748/0.8129, allocations: 388.1 kB / 0.6884 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.8129, allocations: 1.469 kB / 0.6884 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.431e-05/0.813, allocations: 5.688 kB / 0.6884 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.813, allocations: 5.266 kB / 0.6884 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.813, allocations: 4.938 kB / 0.6885 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.813, allocations: 5.031 kB / 0.6885 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.813, allocations: 0 / 0.6885 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004236/0.8135, allocations: 218 kB / 0.6887 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.353e-05/0.8135, allocations: 82.97 kB / 0.6887 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.767e-05/0.8136, allocations: 6.5 kB / 0.6888 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.8137, allocations: 9.078 kB / 0.6888 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.789e-05/0.8138, allocations: 8.984 kB / 0.6888 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.8138, allocations: 3.609 kB / 0.6888 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.961e-05/0.8139, allocations: 96.31 kB / 0.6889 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.61e-07/0.8139, allocations: 1.375 kB / 0.6889 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004535/0.8143, allocations: 40.3 kB / 0.6889 GB, free: 12.49 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.0009724/0.8153, allocations: 0.8151 MB / 0.6897 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003802/0.8157, allocations: 80.73 kB / 0.6898 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.8157, allocations: 0.9688 kB / 0.6898 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001687/0.8159, allocations: 38.92 kB / 0.6898 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.8162, allocations: 11.81 kB / 0.6898 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009204/0.8171, allocations: 0.7111 MB / 0.6905 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001549/0.8173, allocations: 0.695 MB / 0.6912 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.299e-05/0.8174, allocations: 4.953 kB / 0.6912 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.338e-05/0.8174, allocations: 21.09 kB / 0.6912 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of SimCode: time 1.002e-06/0.8174, allocations: 0 / 0.6912 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02446/0.8419, allocations: 2.312 MB / 0.6935 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002767/0.8422, allocations: 241.7 kB / 0.6937 GB, free: 9.777 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.451/3.294, allocations: 0 / 0.6937 GB, free: 9.777 MB / 0.5261 GB