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.Zhang2012WindowsWest.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.Zhang2012WindowsWest,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",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.01782/0.01782, allocations: 108.3 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.00142/0.00142, allocations: 180.9 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.169/2.169, allocations: 194.6 MB / 211.3 MB, free: 11.02 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.506/2.506, allocations: 236.2 MB / 492.6 MB, free: 11.4 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005022/0.0005022, allocations: 15.98 kB / 0.587 GB, free: 2.078 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7155/0.716, allocations: 98.71 MB / 0.6834 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.00201/0.7181, allocations: 1.187 MB / 0.6846 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001602/0.7197, allocations: 0.7016 MB / 0.6853 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.838e-05/0.7198, allocations: 4.906 kB / 0.6853 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.927e-05/0.7199, allocations: 4.609 kB / 0.6853 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 7.687e-05/0.7199, allocations: 11.38 kB / 0.6853 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.000584/0.7205, allocations: 91.38 kB / 0.6854 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.7207, allocations: 46.44 kB / 0.6854 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 9.004e-05/0.7208, allocations: 11.05 kB / 0.6854 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 9.92e-05/0.7209, allocations: 33.98 kB / 0.6855 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 8.68e-05/0.721, allocations: 39.7 kB / 0.6855 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.721, allocations: 3.156 kB / 0.6855 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002144/0.7212, allocations: 66.48 kB / 0.6856 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.877e-05/0.7213, allocations: 14.23 kB / 0.6856 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.118e-05/0.7213, allocations: 31.67 kB / 0.6856 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002272/0.7216, allocations: 95.11 kB / 0.6857 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.7216, allocations: 0 / 0.6857 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.964e-06/0.7216, allocations: 3.938 kB / 0.6857 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.7216, allocations: 0 / 0.6857 GB, free: 15.25 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.0006401/0.7222, allocations: 417.2 kB / 0.6861 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.7223, allocations: 10.56 kB / 0.6861 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.144e-05/0.7224, allocations: 37.2 kB / 0.6862 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.895e-05/0.7224, allocations: 10.77 kB / 0.6862 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.869e-05/0.7225, allocations: 172.6 kB / 0.6863 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.7226, allocations: 2.531 kB / 0.6863 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.7226, allocations: 8.953 kB / 0.6863 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002541/0.7228, allocations: 69.94 kB / 0.6864 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.7229, allocations: 0 / 0.6864 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.7229, allocations: 2.344 kB / 0.6864 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.7229, allocations: 3.984 kB / 0.6864 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002257/0.7231, allocations: 50.28 kB / 0.6865 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007927/0.724, allocations: 319.3 kB / 0.6868 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.7242, allocations: 49.83 kB / 0.6868 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/0.7242, allocations: 9.469 kB / 0.6868 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002574/0.7245, allocations: 84.86 kB / 0.6869 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 2.034e-06/0.7245, allocations: 0 / 0.6869 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0006088/0.7251, allocations: 146.1 kB / 0.687 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.7252, allocations: 61.55 kB / 0.6871 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.7253, allocations: 119.2 kB / 0.6872 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.7253, allocations: 26.95 kB / 0.6872 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.831e-05/0.7254, allocations: 92.34 kB / 0.6873 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.7254, allocations: 19.42 kB / 0.6873 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.546e-06/0.7254, allocations: 0 / 0.6873 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.95e-05/0.7255, allocations: 320 kB / 0.6877 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.7256, allocations: 37.36 kB / 0.6877 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.7258, allocations: 52.31 kB / 0.6877 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.726, allocations: 35.34 kB / 0.6878 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.726, allocations: 0.5625 kB / 0.6878 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003851/0.7264, allocations: 116.8 kB / 0.6879 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.7264, allocations: 6.188 kB / 0.6879 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.7264, allocations: 1.25 kB / 0.6879 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.7265, allocations: 4.984 kB / 0.6879 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.7266, allocations: 12.47 kB / 0.6879 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.7266, allocations: 2.156 kB / 0.6879 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.7268, allocations: 22.23 kB / 0.6879 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.7268, allocations: 3.328 kB / 0.6879 GB, free: 13.28 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.0001/0.7269, allocations: 119.4 kB / 0.688 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.158e-05/0.7269, allocations: 8.203 kB / 0.6881 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.416e-05/0.727, allocations: 10.88 kB / 0.6881 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.727, allocations: 5.047 kB / 0.6881 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.727, allocations: 0 / 0.6881 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.727, allocations: 1.641 kB / 0.6881 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006491/0.7277, allocations: 384.1 kB / 0.6884 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.7277, allocations: 0 / 0.6884 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.461e-05/0.7278, allocations: 6.109 kB / 0.6884 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.7278, allocations: 4.984 kB / 0.6884 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.7278, allocations: 2.141 kB / 0.6884 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.7278, allocations: 1.094 kB / 0.6885 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.7278, allocations: 4.516 kB / 0.6885 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004075/0.7283, allocations: 218.4 kB / 0.6887 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.082e-05/0.7283, allocations: 82.58 kB / 0.6887 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.874e-05/0.7283, allocations: 6.203 kB / 0.6887 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.7285, allocations: 9.672 kB / 0.6888 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.619e-05/0.7286, allocations: 8.172 kB / 0.6888 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.7286, allocations: 3.766 kB / 0.6888 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.918e-05/0.7287, allocations: 100.2 kB / 0.6889 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.7e-07/0.7287, allocations: 3.938 kB / 0.6889 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004504/0.7291, allocations: 41.16 kB / 0.6889 GB, free: 12.42 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.000951/0.7301, allocations: 0.8143 MB / 0.6897 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003761/0.7305, allocations: 80.64 kB / 0.6898 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.7305, allocations: 0 / 0.6898 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.7307, allocations: 37.12 kB / 0.6898 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.7309, allocations: 7.328 kB / 0.6898 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009025/0.7318, allocations: 0.7253 MB / 0.6905 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001602/0.732, allocations: 0.6904 MB / 0.6912 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.132e-05/0.7321, allocations: 5.047 kB / 0.6912 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.37e-05/0.7322, allocations: 20.34 kB / 0.6912 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of SimCode: time 1.232e-06/0.7322, allocations: 0 / 0.6912 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02401/0.7562, allocations: 2.305 MB / 0.6935 GB, free: 9.988 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002189/0.7565, allocations: 250.8 kB / 0.6937 GB, free: 9.707 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.444/3.201, allocations: 0 / 0.6937 GB, free: 9.707 MB / 0.5261 GB