Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01416/0.01417, allocations: 89.36 kB / 15.04 MB, free: 6.059 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001867/0.001867, allocations: 168.1 kB / 15.92 MB, free: 5.996 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.177/2.177, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.4/2.4, allocations: 252.8 MB / 0.511 GB, free: 8.355 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007322/0.0007326, allocations: 11.22 kB / 0.6243 GB, free: 28.42 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3032, allocations: 106.2 MB / 0.7281 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002792/0.306, allocations: 1.21 MB / 0.7292 GB, free: 8.949 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002631/0.3087, allocations: 0.75 MB / 0.73 GB, free: 8.191 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.448e-05/0.3088, allocations: 0 / 0.73 GB, free: 8.191 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.377e-05/0.3088, allocations: 3.938 kB / 0.73 GB, free: 8.188 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001168/0.309, allocations: 15.97 kB / 0.73 GB, free: 8.172 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006325/0.3096, allocations: 95.69 kB / 0.7301 GB, free: 8.078 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.3098, allocations: 51.94 kB / 0.7301 GB, free: 8.027 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 7.571e-05/0.3099, allocations: 7.984 kB / 0.7301 GB, free: 8.02 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.3101, allocations: 39.84 kB / 0.7302 GB, free: 7.98 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.3102, allocations: 35.88 kB / 0.7302 GB, free: 7.945 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.565e-05/0.3102, allocations: 11.94 kB / 0.7302 GB, free: 7.934 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002569/0.3105, allocations: 63.83 kB / 0.7303 GB, free: 7.871 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 3.961e-05/0.3106, allocations: 19.95 kB / 0.7303 GB, free: 7.852 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 6.187e-05/0.3106, allocations: 41.64 kB / 0.7303 GB, free: 7.805 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002727/0.3109, allocations: 100 kB / 0.7304 GB, free: 7.707 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.311, allocations: 4 kB / 0.7304 GB, free: 7.703 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.094e-06/0.311, allocations: 0 / 0.7304 GB, free: 7.703 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.311, allocations: 0 / 0.7304 GB, free: 7.703 MB / 0.5573 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.001158/0.3122, allocations: 442.5 kB / 0.7309 GB, free: 7.211 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.953e-05/0.3123, allocations: 12.03 kB / 0.7309 GB, free: 7.199 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.352e-05/0.3123, allocations: 38.5 kB / 0.7309 GB, free: 7.152 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.904e-05/0.3124, allocations: 11.86 kB / 0.7309 GB, free: 7.141 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.3126, allocations: 179 kB / 0.7311 GB, free: 6.926 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.088e-05/0.3127, allocations: 8 kB / 0.7311 GB, free: 6.918 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/0.3127, allocations: 7.938 kB / 0.7311 GB, free: 6.91 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003562/0.3131, allocations: 77.64 kB / 0.7312 GB, free: 6.828 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.3132, allocations: 0 / 0.7312 GB, free: 6.828 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.506e-05/0.3132, allocations: 4 kB / 0.7312 GB, free: 6.824 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.3132, allocations: 0 / 0.7312 GB, free: 6.824 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003302/0.3136, allocations: 43.92 kB / 0.7312 GB, free: 6.781 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009791/0.3146, allocations: 328.6 kB / 0.7315 GB, free: 6.41 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003214/0.3149, allocations: 62.55 kB / 0.7316 GB, free: 6.34 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/0.315, allocations: 0 / 0.7316 GB, free: 6.34 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004313/0.3154, allocations: 103.4 kB / 0.7317 GB, free: 6.227 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=10): time 2.735e-06/0.3154, allocations: 0 / 0.7317 GB, free: 6.227 MB / 0.5573 GB Notification: Performance of matching and sorting (n=10): time 0.000935/0.3164, allocations: 165.7 kB / 0.7319 GB, free: 6.059 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.034e-05/0.3165, allocations: 55.5 kB / 0.7319 GB, free: 5.992 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.3167, allocations: 129.8 kB / 0.732 GB, free: 5.855 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.304e-05/0.3167, allocations: 33.7 kB / 0.7321 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 8.366e-05/0.3168, allocations: 88.38 kB / 0.7322 GB, free: 5.727 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.927e-05/0.3169, allocations: 27.84 kB / 0.7322 GB, free: 5.699 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.29e-05/0.3169, allocations: 4 kB / 0.7322 GB, free: 5.695 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.3171, allocations: 318.8 kB / 0.7325 GB, free: 5.375 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.3173, allocations: 31.97 kB / 0.7325 GB, free: 5.344 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/0.3176, allocations: 69.14 kB / 0.7326 GB, free: 5.258 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002103/0.3178, allocations: 39.92 kB / 0.7326 GB, free: 5.219 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.3179, allocations: 0 / 0.7326 GB, free: 5.219 MB / 0.5573 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006124/0.3185, allocations: 141.4 kB / 0.7328 GB, free: 5.074 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.3185, allocations: 4 kB / 0.7328 GB, free: 5.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.3185, allocations: 0 / 0.7328 GB, free: 5.07 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/0.3186, allocations: 7.953 kB / 0.7328 GB, free: 5.062 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002558/0.3189, allocations: 15.98 kB / 0.7328 GB, free: 5.047 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.3189, allocations: 0 / 0.7328 GB, free: 5.047 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002859/0.3192, allocations: 27.95 kB / 0.7328 GB, free: 5.02 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.622e-05/0.3192, allocations: 8 kB / 0.7328 GB, free: 5.012 MB / 0.5573 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.pulseStart,occ.pulseStart) * 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.0001775/0.3194, allocations: 117.8 kB / 0.7329 GB, free: 4.887 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.89e-05/0.3195, allocations: 11.84 kB / 0.7329 GB, free: 4.875 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007763/0.3203, allocations: 146 kB / 0.7331 GB, free: 4.727 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.3203, allocations: 0 / 0.7331 GB, free: 4.727 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.3203, allocations: 11.95 kB / 0.7331 GB, free: 4.715 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.3204, allocations: 0 / 0.7331 GB, free: 4.715 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.3216, allocations: 438.3 kB / 0.7335 GB, free: 4.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.3217, allocations: 0 / 0.7335 GB, free: 4.23 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.3218, allocations: 11.94 kB / 0.7335 GB, free: 4.219 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.16e-05/0.3219, allocations: 11.94 kB / 0.7335 GB, free: 4.207 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.432e-05/0.3219, allocations: 0 / 0.7335 GB, free: 4.207 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/0.3219, allocations: 4 kB / 0.7335 GB, free: 4.203 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.322, allocations: 0 / 0.7335 GB, free: 4.203 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006712/0.3226, allocations: 231.3 kB / 0.7338 GB, free: 3.961 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.916e-05/0.3227, allocations: 84.95 kB / 0.7338 GB, free: 3.859 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.784e-05/0.3228, allocations: 11.95 kB / 0.7339 GB, free: 3.848 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000298/0.3231, allocations: 15.98 kB / 0.7339 GB, free: 3.832 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.222e-05/0.3232, allocations: 7.984 kB / 0.7339 GB, free: 3.824 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.168e-05/0.3233, allocations: 4 kB / 0.7339 GB, free: 3.82 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001176/0.3234, allocations: 99.27 kB / 0.734 GB, free: 3.723 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.31e-07/0.3234, allocations: 0 / 0.734 GB, free: 3.723 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0006743/0.3241, allocations: 39.98 kB / 0.734 GB, free: 3.684 MB / 0.5573 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.pulseStart) * 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.001478/0.3256, allocations: 0.8353 MB / 0.7348 GB, free: 2.836 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0005101/0.3261, allocations: 87.89 kB / 0.7349 GB, free: 2.75 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3262, allocations: 0 / 0.7349 GB, free: 2.75 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002759/0.3265, allocations: 55.89 kB / 0.735 GB, free: 2.695 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.3269, allocations: 16.2 kB / 0.735 GB, free: 2.68 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/0.3287, allocations: 1.221 MB / 0.7362 GB, free: 1.387 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004139/0.3292, allocations: 0.6965 MB / 0.7369 GB, free: 0.6641 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001232/0.3293, allocations: 12.42 kB / 0.7369 GB, free: 0.6484 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.3294, allocations: 27.42 kB / 0.7369 GB, free: 0.625 MB / 0.5573 GB Notification: Performance of SimCode: time 1.233e-06/0.3295, allocations: 0 / 0.7369 GB, free: 0.625 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02582/0.3553, allocations: 2.705 MB / 0.7395 GB, free: 14.03 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003647/0.3558, allocations: 245.5 kB / 0.7398 GB, free: 13.79 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.664/3.02, allocations: 0 / 0.7398 GB, free: 13.79 MB / 0.573 GB