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.Zhang2012WindowsEast.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.Zhang2012WindowsEast,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",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.01675/0.01676, allocations: 109.2 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.002006/0.002006, allocations: 180.2 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.133/2.133, allocations: 194.5 MB / 211.3 MB, free: 10.97 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.526/2.526, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007813/0.0007815, allocations: 16 kB / 0.587 GB, free: 2.066 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7962/0.7971, allocations: 98.71 MB / 0.6834 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.002187/0.7993, allocations: 1.188 MB / 0.6846 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001699/0.8011, allocations: 0.7048 MB / 0.6853 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.067e-05/0.8012, allocations: 1.344 kB / 0.6853 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.148e-05/0.8012, allocations: 1.594 kB / 0.6853 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 8.799e-05/0.8013, allocations: 10.05 kB / 0.6853 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007171/0.8021, allocations: 96.08 kB / 0.6854 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.8022, allocations: 45.45 kB / 0.6854 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.8023, allocations: 11.19 kB / 0.6854 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.8025, allocations: 34.52 kB / 0.6855 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 9.405e-05/0.8026, allocations: 36.12 kB / 0.6855 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.8026, allocations: 3.438 kB / 0.6855 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002812/0.8029, allocations: 61.75 kB / 0.6856 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.923e-05/0.8029, allocations: 18.59 kB / 0.6856 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.599e-05/0.803, allocations: 39.8 kB / 0.6856 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002565/0.8033, allocations: 90.61 kB / 0.6857 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.8033, allocations: 3.938 kB / 0.6857 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.234e-06/0.8033, allocations: 0 / 0.6857 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.8033, allocations: 1.469 kB / 0.6857 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.0007057/0.804, allocations: 407.5 kB / 0.6861 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.8041, allocations: 9.875 kB / 0.6861 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.01e-05/0.8042, allocations: 41.3 kB / 0.6861 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.566e-05/0.8042, allocations: 12.17 kB / 0.6862 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.8043, allocations: 180 kB / 0.6863 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.979e-05/0.8044, allocations: 2.828 kB / 0.6863 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.757e-05/0.8044, allocations: 8.484 kB / 0.6863 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000272/0.8047, allocations: 66.62 kB / 0.6864 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.8047, allocations: 0 / 0.6864 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.8047, allocations: 1.469 kB / 0.6864 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.8048, allocations: 0.5156 kB / 0.6864 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002302/0.805, allocations: 53.61 kB / 0.6865 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000894/0.8059, allocations: 318.4 kB / 0.6868 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002104/0.8061, allocations: 53.11 kB / 0.6868 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.253e-05/0.8062, allocations: 1.094 kB / 0.6868 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002954/0.8065, allocations: 89.97 kB / 0.6869 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 3.377e-06/0.8065, allocations: 4 kB / 0.6869 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0006579/0.8072, allocations: 146.3 kB / 0.687 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.8072, allocations: 54.77 kB / 0.6871 GB, free: 14 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.8074, allocations: 117.6 kB / 0.6872 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.8074, allocations: 28.62 kB / 0.6872 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.596e-05/0.8075, allocations: 100 kB / 0.6873 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/0.8075, allocations: 11.27 kB / 0.6873 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.668e-06/0.8075, allocations: 5.188 kB / 0.6873 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.353e-05/0.8076, allocations: 315 kB / 0.6876 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.8078, allocations: 29.41 kB / 0.6877 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.8079, allocations: 61.83 kB / 0.6877 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.8081, allocations: 38.17 kB / 0.6878 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.8081, allocations: 0 / 0.6878 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004245/0.8086, allocations: 122.1 kB / 0.6879 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.8086, allocations: 5.438 kB / 0.6879 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.8086, allocations: 0.5625 kB / 0.6879 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.642e-05/0.8087, allocations: 5.422 kB / 0.6879 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.8089, allocations: 12.95 kB / 0.6879 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.8089, allocations: 1.844 kB / 0.6879 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.809, allocations: 18.22 kB / 0.6879 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/0.809, allocations: 3.766 kB / 0.6879 GB, free: 13.3 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.0001185/0.8092, allocations: 123.8 kB / 0.6881 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.535e-05/0.8092, allocations: 7.922 kB / 0.6881 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.77e-05/0.8092, allocations: 10.19 kB / 0.6881 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.8093, allocations: 5.641 kB / 0.6881 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.8093, allocations: 0.6562 kB / 0.6881 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.8093, allocations: 0.7031 kB / 0.6881 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006936/0.81, allocations: 390.2 kB / 0.6884 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.81, allocations: 0 / 0.6884 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.917e-05/0.8101, allocations: 5.281 kB / 0.6885 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-06/0.8101, allocations: 3.953 kB / 0.6885 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.8101, allocations: 8.828 kB / 0.6885 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.8102, allocations: 1 kB / 0.6885 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.8102, allocations: 0 / 0.6885 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004294/0.8106, allocations: 210.7 kB / 0.6887 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.88e-05/0.8107, allocations: 83.11 kB / 0.6887 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.849e-05/0.8107, allocations: 5.484 kB / 0.6888 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.8109, allocations: 10.83 kB / 0.6888 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.282e-05/0.8109, allocations: 3.891 kB / 0.6888 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.811, allocations: 7.781 kB / 0.6888 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.752e-05/0.811, allocations: 103.7 kB / 0.6889 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.01e-07/0.811, allocations: 0 / 0.6889 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004686/0.8115, allocations: 42.06 kB / 0.6889 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.001048/0.8126, allocations: 0.8088 MB / 0.6897 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004295/0.8131, allocations: 77.66 kB / 0.6898 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.768e-06/0.8131, allocations: 4.125 kB / 0.6898 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001688/0.8133, allocations: 39.42 kB / 0.6898 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.8135, allocations: 13.25 kB / 0.6898 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009614/0.8145, allocations: 0.7112 MB / 0.6905 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001627/0.8147, allocations: 0.6943 MB / 0.6912 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.993e-05/0.8148, allocations: 8.266 kB / 0.6912 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.987e-05/0.8149, allocations: 21.14 kB / 0.6912 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of SimCode: time 1.513e-06/0.8149, allocations: 0 / 0.6912 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0236/0.8385, allocations: 2.309 MB / 0.6935 GB, free: 10 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000303/0.8389, allocations: 245.5 kB / 0.6937 GB, free: 9.727 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.473/3.312, allocations: 0 / 0.6937 GB, free: 9.727 MB / 0.5261 GB