Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",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.01172/0.01172, allocations: 109.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.001281/0.001281, 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.103/2.103, allocations: 194.6 MB / 211.3 MB, free: 10.95 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.522/2.522, allocations: 236.1 MB / 492.6 MB, free: 11.4 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006273/0.0006274, allocations: 8 kB / 0.587 GB, free: 2.121 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7873/0.788, allocations: 98.72 MB / 0.6834 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002034/0.7901, allocations: 1.199 MB / 0.6846 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001678/0.7918, allocations: 0.7333 MB / 0.6853 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.793e-05/0.7919, allocations: 1.125 kB / 0.6853 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.62e-05/0.7919, allocations: 5.766 kB / 0.6853 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001095/0.7921, allocations: 15.52 kB / 0.6853 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005675/0.7926, allocations: 97.05 kB / 0.6854 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.7928, allocations: 58.83 kB / 0.6855 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.7929, allocations: 8.219 kB / 0.6855 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.793, allocations: 35.94 kB / 0.6855 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 9.703e-05/0.7931, allocations: 41.61 kB / 0.6856 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.7932, allocations: 4.312 kB / 0.6856 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002249/0.7934, allocations: 65.75 kB / 0.6856 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 3.309e-05/0.7935, allocations: 16.17 kB / 0.6857 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.5e-05/0.7935, allocations: 41.38 kB / 0.6857 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002464/0.7938, allocations: 106.8 kB / 0.6858 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.7938, allocations: 0 / 0.6858 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.216e-06/0.7938, allocations: 0 / 0.6858 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.7938, allocations: 5.406 kB / 0.6858 GB, free: 15.2 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008851/0.7947, allocations: 461.6 kB / 0.6862 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.7948, allocations: 8.25 kB / 0.6862 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.081e-05/0.7948, allocations: 38.81 kB / 0.6863 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.858e-05/0.7949, allocations: 12.5 kB / 0.6863 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.795, allocations: 174.6 kB / 0.6865 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.7952, allocations: 37.25 kB / 0.6865 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.7952, allocations: 3.188 kB / 0.6865 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003132/0.7955, allocations: 80.91 kB / 0.6866 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.7955, allocations: 4 kB / 0.6866 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.7956, allocations: 1.125 kB / 0.6866 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.7956, allocations: 9.328 kB / 0.6866 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003385/0.7959, allocations: 55.81 kB / 0.6866 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007049/0.7967, allocations: 320.3 kB / 0.6869 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003333/0.797, allocations: 77.84 kB / 0.687 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.23e-05/0.7971, allocations: 5.359 kB / 0.687 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003413/0.7974, allocations: 99.98 kB / 0.6871 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=10): time 3.015e-06/0.7974, allocations: 0 / 0.6871 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10): time 0.0007858/0.7982, allocations: 170.2 kB / 0.6873 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/0.7983, allocations: 58.92 kB / 0.6873 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.7984, allocations: 144.2 kB / 0.6875 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.364e-05/0.7985, allocations: 27.8 kB / 0.6875 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.445e-05/0.7985, allocations: 98.16 kB / 0.6876 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.438e-05/0.7986, allocations: 20.06 kB / 0.6876 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.247e-06/0.7986, allocations: 0 / 0.6876 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.696e-05/0.7987, allocations: 325.7 kB / 0.6879 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001815/0.7989, allocations: 31.73 kB / 0.688 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000207/0.7991, allocations: 75.86 kB / 0.688 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002317/0.7994, allocations: 36.94 kB / 0.6881 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.7994, allocations: 1.188 kB / 0.6881 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005095/0.7999, allocations: 135.3 kB / 0.6882 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.7999, allocations: 5.875 kB / 0.6882 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.7999, allocations: 5.359 kB / 0.6882 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.8, allocations: 2.531 kB / 0.6882 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/0.8002, allocations: 28.73 kB / 0.6882 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.8002, allocations: 3.062 kB / 0.6882 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001936/0.8004, allocations: 19.75 kB / 0.6883 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.8005, allocations: 4.281 kB / 0.6883 GB, free: 13.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,occ.y,$PRE.occ.pulsStart,occ.pulsStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001221/0.8006, allocations: 127.4 kB / 0.6884 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.8006, allocations: 8.344 kB / 0.6884 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.635e-05/0.8007, allocations: 16.3 kB / 0.6884 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/0.8007, allocations: 5.078 kB / 0.6884 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.8007, allocations: 3.938 kB / 0.6884 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.8007, allocations: 1.25 kB / 0.6884 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000934/0.8017, allocations: 433.3 kB / 0.6888 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.8017, allocations: 0.7031 kB / 0.6888 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.8018, allocations: 15.2 kB / 0.6888 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.79e-06/0.8018, allocations: 1.469 kB / 0.6888 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.8019, allocations: 11.41 kB / 0.6889 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.8019, allocations: 0 / 0.6889 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.8019, allocations: 1.406 kB / 0.6889 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000523/0.8024, allocations: 231.4 kB / 0.6891 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.181e-05/0.8025, allocations: 88.64 kB / 0.6892 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.8025, allocations: 4.891 kB / 0.6892 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002163/0.8028, allocations: 13.59 kB / 0.6892 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.253e-05/0.8029, allocations: 13.69 kB / 0.6892 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-05/0.8029, allocations: 16.95 kB / 0.6892 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 8.077e-05/0.803, allocations: 98.67 kB / 0.6893 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.042e-06/0.803, allocations: 0 / 0.6893 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004985/0.8035, allocations: 47.95 kB / 0.6894 GB, free: 12.2 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: 8 (occ.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulsStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * 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.001122/0.8046, allocations: 0.8252 MB / 0.6902 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005141/0.8052, allocations: 93.45 kB / 0.6902 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.8052, allocations: 4 kB / 0.6903 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002368/0.8055, allocations: 49.3 kB / 0.6903 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.8058, allocations: 16.02 kB / 0.6903 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.807, allocations: 1.217 MB / 0.6915 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.8073, allocations: 0.7044 MB / 0.6922 GB, free: 9.562 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001055/0.8074, allocations: 11.23 kB / 0.6922 GB, free: 9.559 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.413e-05/0.8075, allocations: 24.67 kB / 0.6922 GB, free: 9.543 MB / 0.5261 GB Notification: Performance of SimCode: time 1.403e-06/0.8075, allocations: 0 / 0.6922 GB, free: 9.543 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02382/0.8313, allocations: 2.708 MB / 0.6949 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003122/0.8317, allocations: 236.9 kB / 0.6951 GB, free: 9 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.787/3.619, allocations: 0 / 0.6951 GB, free: 9 MB / 0.5261 GB