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.Love1998Light2.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.Love1998Light2,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",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.01691/0.01692, allocations: 108 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.002325/0.002325, allocations: 183.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.239/2.239, allocations: 194.6 MB / 211.3 MB, free: 11.2 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.557/2.557, allocations: 236.2 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005097/0.0005097, allocations: 16 kB / 0.587 GB, free: 2.074 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7695/0.7701, allocations: 98.72 MB / 0.6834 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002115/0.7723, allocations: 1.189 MB / 0.6846 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001714/0.774, allocations: 0.73 MB / 0.6853 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.323e-05/0.7742, allocations: 0 / 0.6853 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.247e-05/0.7742, allocations: 4.734 kB / 0.6853 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001167/0.7743, allocations: 12.58 kB / 0.6853 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.000715/0.775, allocations: 100.9 kB / 0.6854 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.7752, allocations: 52.8 kB / 0.6855 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.7753, allocations: 7.578 kB / 0.6855 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.7755, allocations: 35.56 kB / 0.6855 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 9.86e-05/0.7756, allocations: 40.55 kB / 0.6855 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.7756, allocations: 2.906 kB / 0.6856 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002643/0.7759, allocations: 66.11 kB / 0.6856 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 3.401e-05/0.776, allocations: 20.91 kB / 0.6856 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.583e-05/0.776, allocations: 38.73 kB / 0.6857 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002564/0.7763, allocations: 99.31 kB / 0.6858 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.7763, allocations: 0 / 0.6858 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.485e-06/0.7763, allocations: 0 / 0.6858 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.7763, allocations: 0 / 0.6858 GB, free: 15.17 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.0008252/0.7772, allocations: 451.6 kB / 0.6862 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.7772, allocations: 9.703 kB / 0.6862 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.502e-05/0.7773, allocations: 36.81 kB / 0.6862 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.331e-05/0.7773, allocations: 13.42 kB / 0.6863 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.7775, allocations: 177.1 kB / 0.6864 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.7775, allocations: 2.812 kB / 0.6864 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.885e-05/0.7775, allocations: 4.484 kB / 0.6864 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002568/0.7778, allocations: 80.81 kB / 0.6865 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.7778, allocations: 1.375 kB / 0.6865 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.7779, allocations: 0.5156 kB / 0.6865 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.7779, allocations: 1.219 kB / 0.6865 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002201/0.7781, allocations: 53.36 kB / 0.6866 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007143/0.7788, allocations: 318.9 kB / 0.6869 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002285/0.7791, allocations: 69.06 kB / 0.6869 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.005e-05/0.7791, allocations: 1.531 kB / 0.6869 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003124/0.7794, allocations: 93.48 kB / 0.687 GB, free: 14 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=10): time 2.895e-06/0.7795, allocations: 4.75 kB / 0.687 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10): time 0.0006465/0.7801, allocations: 169.6 kB / 0.6872 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.7802, allocations: 54.67 kB / 0.6872 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.7803, allocations: 126.8 kB / 0.6874 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.7804, allocations: 26.58 kB / 0.6874 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.151e-05/0.7804, allocations: 100.3 kB / 0.6875 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.7805, allocations: 21.53 kB / 0.6875 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.029e-05/0.7805, allocations: 1.406 kB / 0.6875 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.08e-05/0.7806, allocations: 327.7 kB / 0.6878 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.7807, allocations: 29 kB / 0.6878 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.7809, allocations: 64.16 kB / 0.6879 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.7811, allocations: 38.58 kB / 0.6879 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.7811, allocations: 4.844 kB / 0.6879 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004023/0.7815, allocations: 133.4 kB / 0.6881 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.7815, allocations: 5.906 kB / 0.6881 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.7815, allocations: 9.219 kB / 0.6881 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/0.7816, allocations: 7.828 kB / 0.6881 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/0.7818, allocations: 19.72 kB / 0.6881 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.7818, allocations: 5.594 kB / 0.6881 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.782, allocations: 16.36 kB / 0.6881 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.782, allocations: 6.219 kB / 0.6881 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.0001283/0.7822, allocations: 133.3 kB / 0.6883 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-05/0.7822, allocations: 8.5 kB / 0.6883 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005896/0.7828, allocations: 153.8 kB / 0.6884 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.7828, allocations: 1.344 kB / 0.6884 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.7828, allocations: 3.953 kB / 0.6884 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.7829, allocations: 0.9844 kB / 0.6884 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008963/0.7838, allocations: 432.4 kB / 0.6888 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.7838, allocations: 0 / 0.6888 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001355/0.784, allocations: 11.09 kB / 0.6889 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/0.784, allocations: 8.922 kB / 0.6889 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/0.784, allocations: 7.188 kB / 0.6889 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.784, allocations: 3.938 kB / 0.6889 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.784, allocations: 5.891 kB / 0.6889 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004639/0.7845, allocations: 220.6 kB / 0.6891 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.558e-05/0.7846, allocations: 85.19 kB / 0.6892 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.733e-05/0.7846, allocations: 10.17 kB / 0.6892 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.7848, allocations: 10.94 kB / 0.6892 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.21e-05/0.7849, allocations: 13.02 kB / 0.6892 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.891e-05/0.785, allocations: 5.484 kB / 0.6892 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 8.056e-05/0.7851, allocations: 102.7 kB / 0.6893 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.71e-07/0.7851, allocations: 0 / 0.6893 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004996/0.7856, allocations: 40.7 kB / 0.6893 GB, free: 12.15 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 (12): * Single equations (assignments): 9 * 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.001204/0.7868, allocations: 0.8336 MB / 0.6902 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004854/0.7873, allocations: 101.2 kB / 0.6903 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.7874, allocations: 0 / 0.6903 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001958/0.7876, allocations: 46.73 kB / 0.6903 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.7879, allocations: 16.08 kB / 0.6903 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.7891, allocations: 1.219 MB / 0.6915 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001779/0.7893, allocations: 0.6968 MB / 0.6922 GB, free: 9.496 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001008/0.7894, allocations: 12.52 kB / 0.6922 GB, free: 9.492 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.998e-05/0.7896, allocations: 28.75 kB / 0.6922 GB, free: 9.473 MB / 0.5261 GB Notification: Performance of SimCode: time 9.42e-07/0.7896, allocations: 3.938 kB / 0.6922 GB, free: 9.469 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02825/0.8178, allocations: 2.706 MB / 0.6949 GB, free: 9.168 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002668/0.8182, allocations: 237.1 kB / 0.6951 GB, free: 8.93 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.644/3.462, allocations: 0 / 0.6951 GB, free: 8.93 MB / 0.5261 GB