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: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",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.01125/0.01125, allocations: 107.5 kB / 15.06 MB, free: 6.031 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.001291/0.001291, allocations: 182.4 kB / 15.95 MB, free: 5.957 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.101/2.101, allocations: 194.5 MB / 211.2 MB, free: 11.05 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.482/2.482, allocations: 236.2 MB / 492.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004814/0.0004815, allocations: 12 kB / 0.587 GB, free: 2.035 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7694/0.7699, allocations: 98.7 MB / 0.6834 GB, free: 16.9 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.002929/0.7729, allocations: 1.188 MB / 0.6846 GB, free: 16.03 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.00254/0.7756, allocations: 0.7007 MB / 0.6853 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.3e-05/0.7757, allocations: 1.5 kB / 0.6853 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.615e-05/0.7757, allocations: 0.7969 kB / 0.6853 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.7759, allocations: 18.28 kB / 0.6853 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.00089/0.7768, allocations: 92.59 kB / 0.6854 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.777, allocations: 44.45 kB / 0.6854 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.7771, allocations: 11.75 kB / 0.6854 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.7773, allocations: 34.98 kB / 0.6855 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.7774, allocations: 27.78 kB / 0.6855 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.7775, allocations: 2.875 kB / 0.6855 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000322/0.7778, allocations: 73.47 kB / 0.6856 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 3.845e-05/0.7779, allocations: 10.53 kB / 0.6856 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 5.265e-05/0.7779, allocations: 39.42 kB / 0.6856 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003614/0.7783, allocations: 99.12 kB / 0.6857 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.7784, allocations: 0 / 0.6857 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.434e-06/0.7784, allocations: 0 / 0.6857 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.7784, allocations: 1.188 kB / 0.6857 GB, free: 15.35 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.0009404/0.7794, allocations: 408.5 kB / 0.6861 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.26e-05/0.7794, allocations: 9.5 kB / 0.6861 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.047e-05/0.7795, allocations: 41.77 kB / 0.6861 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.995e-05/0.7796, allocations: 11.77 kB / 0.6862 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.7798, allocations: 178.2 kB / 0.6863 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.941e-05/0.7798, allocations: 3.719 kB / 0.6863 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.925e-05/0.7799, allocations: 3.906 kB / 0.6863 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003687/0.7803, allocations: 74.28 kB / 0.6864 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.7803, allocations: 0 / 0.6864 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/0.7804, allocations: 3.938 kB / 0.6864 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.7804, allocations: 5.312 kB / 0.6864 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003701/0.7808, allocations: 43.17 kB / 0.6865 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.782, allocations: 315.8 kB / 0.6868 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003038/0.7823, allocations: 48.5 kB / 0.6868 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.782e-05/0.7824, allocations: 1.531 kB / 0.6868 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004309/0.7828, allocations: 86.77 kB / 0.6869 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 5.3e-06/0.7828, allocations: 5.5 kB / 0.6869 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0009992/0.7839, allocations: 148.4 kB / 0.687 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/0.7839, allocations: 55.2 kB / 0.6871 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.7841, allocations: 121.2 kB / 0.6872 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.639e-05/0.7842, allocations: 28.39 kB / 0.6872 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.978e-05/0.7843, allocations: 95.42 kB / 0.6873 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.021e-05/0.7843, allocations: 15.55 kB / 0.6873 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.408e-05/0.7844, allocations: 1.25 kB / 0.6873 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.137e-05/0.7845, allocations: 318.6 kB / 0.6876 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/0.7847, allocations: 38.89 kB / 0.6877 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002424/0.785, allocations: 51.89 kB / 0.6877 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002593/0.7853, allocations: 34.72 kB / 0.6878 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.7853, allocations: 0 / 0.6878 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006601/0.786, allocations: 122.5 kB / 0.6879 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.135e-05/0.786, allocations: 6.828 kB / 0.6879 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.7861, allocations: 5.266 kB / 0.6879 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.547e-05/0.7861, allocations: 5.234 kB / 0.6879 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/0.7864, allocations: 12.06 kB / 0.6879 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.7864, allocations: 2.594 kB / 0.6879 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/0.7866, allocations: 14.59 kB / 0.6879 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.7866, allocations: 16.22 kB / 0.6879 GB, free: 13.38 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 0.0001183/0.7868, allocations: 118.2 kB / 0.688 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.686e-05/0.7868, allocations: 8.109 kB / 0.6881 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.88e-05/0.7868, allocations: 9.938 kB / 0.6881 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.7869, allocations: 6.688 kB / 0.6881 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.7869, allocations: 0 / 0.6881 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.7869, allocations: 0 / 0.6881 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006771/0.7876, allocations: 380.2 kB / 0.6884 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.7876, allocations: 0 / 0.6884 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.265e-05/0.7877, allocations: 7.438 kB / 0.6884 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.573e-06/0.7877, allocations: 7.891 kB / 0.6884 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.7877, allocations: 1.812 kB / 0.6884 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.7877, allocations: 1.781 kB / 0.6885 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.7877, allocations: 0 / 0.6885 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004315/0.7882, allocations: 220.4 kB / 0.6887 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.006e-05/0.7882, allocations: 84.61 kB / 0.6887 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.916e-05/0.7883, allocations: 6.172 kB / 0.6887 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.7884, allocations: 5.141 kB / 0.6888 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.336e-05/0.7885, allocations: 13.67 kB / 0.6888 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.7885, allocations: 2.672 kB / 0.6888 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.788e-05/0.7886, allocations: 100.3 kB / 0.6889 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.81e-07/0.7886, allocations: 0 / 0.6889 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000488/0.7891, allocations: 42.45 kB / 0.6889 GB, free: 12.52 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.001064/0.7902, allocations: 0.8065 MB / 0.6897 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004432/0.7907, allocations: 77.95 kB / 0.6898 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.7907, allocations: 4.125 kB / 0.6898 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001727/0.7909, allocations: 39.05 kB / 0.6898 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.7911, allocations: 12.39 kB / 0.6898 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009039/0.7921, allocations: 0.7164 MB / 0.6905 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001616/0.7922, allocations: 0.6905 MB / 0.6912 GB, free: 10.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.76e-05/0.7923, allocations: 13.91 kB / 0.6912 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.658e-05/0.7924, allocations: 20.3 kB / 0.6912 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of SimCode: time 1.222e-06/0.7924, allocations: 0 / 0.6912 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02214/0.8146, allocations: 2.307 MB / 0.6935 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002659/0.8149, allocations: 249.3 kB / 0.6937 GB, free: 9.812 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.46/3.275, allocations: 0 / 0.6937 GB, free: 9.812 MB / 0.5261 GB