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.Reinhart2003Light.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.Reinhart2003Light,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light",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.01542/0.01542, allocations: 107.8 kB / 15.06 MB, free: 6.027 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.001164/0.001164, allocations: 180.2 kB / 15.95 MB, free: 5.953 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.08 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.81/2.81, allocations: 236.1 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005076/0.0005076, allocations: 12 kB / 0.587 GB, free: 2.078 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7172/0.7177, allocations: 98.71 MB / 0.6834 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.002101/0.7199, allocations: 1.221 MB / 0.6846 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001687/0.7216, allocations: 0.7356 MB / 0.6853 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.831e-05/0.7217, allocations: 3.938 kB / 0.6853 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.265e-05/0.7218, allocations: 2.516 kB / 0.6853 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001254/0.7219, allocations: 28.28 kB / 0.6854 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006126/0.7225, allocations: 98.55 kB / 0.6855 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.7227, allocations: 57.92 kB / 0.6855 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 9.511e-05/0.7228, allocations: 12.14 kB / 0.6855 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.7229, allocations: 39.16 kB / 0.6856 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.723, allocations: 45.38 kB / 0.6856 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.7231, allocations: 7.594 kB / 0.6856 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002145/0.7233, allocations: 70.31 kB / 0.6857 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 3.53e-05/0.7233, allocations: 21.44 kB / 0.6857 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.493e-05/0.7234, allocations: 41.59 kB / 0.6858 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002504/0.7237, allocations: 104.5 kB / 0.6858 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.7237, allocations: 0 / 0.6858 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7237, allocations: 0 / 0.6858 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.7237, allocations: 1.469 kB / 0.6859 GB, free: 15.18 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008624/0.7246, allocations: 0.4935 MB / 0.6863 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.7246, allocations: 8.344 kB / 0.6863 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.314e-05/0.7247, allocations: 37.3 kB / 0.6864 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.264e-05/0.7247, allocations: 14.41 kB / 0.6864 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.7249, allocations: 183.4 kB / 0.6866 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.7249, allocations: 7.594 kB / 0.6866 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.86e-05/0.7249, allocations: 5.547 kB / 0.6866 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002665/0.7252, allocations: 79.91 kB / 0.6867 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.7252, allocations: 1.438 kB / 0.6867 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/0.7253, allocations: 4.516 kB / 0.6867 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.7253, allocations: 1.25 kB / 0.6867 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002439/0.7255, allocations: 58.61 kB / 0.6867 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006937/0.7262, allocations: 332.8 kB / 0.687 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003258/0.7266, allocations: 84.2 kB / 0.6871 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/0.7266, allocations: 0.75 kB / 0.6871 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003086/0.727, allocations: 110.3 kB / 0.6872 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=11): time 2.294e-06/0.727, allocations: 0 / 0.6872 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.0006549/0.7276, allocations: 180.3 kB / 0.6874 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.7277, allocations: 63 kB / 0.6875 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.7278, allocations: 141.8 kB / 0.6876 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.7279, allocations: 31.86 kB / 0.6876 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.047e-05/0.7279, allocations: 92.72 kB / 0.6877 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.679e-05/0.728, allocations: 26.25 kB / 0.6877 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.024e-05/0.728, allocations: 5.156 kB / 0.6877 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.011e-05/0.7281, allocations: 324.4 kB / 0.688 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.7282, allocations: 29.86 kB / 0.6881 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/0.7284, allocations: 72.22 kB / 0.6881 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.7286, allocations: 39.12 kB / 0.6882 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.7286, allocations: 1.312 kB / 0.6882 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000401/0.729, allocations: 150 kB / 0.6883 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.729, allocations: 5.281 kB / 0.6883 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.729, allocations: 2.766 kB / 0.6883 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.7291, allocations: 2.031 kB / 0.6883 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.7293, allocations: 20.66 kB / 0.6884 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.7293, allocations: 7.562 kB / 0.6884 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/0.7295, allocations: 23.55 kB / 0.6884 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.7295, allocations: 4.25 kB / 0.6884 GB, free: 13.03 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,booleanPulse.y,$PRE.booleanPulse.pulsStart,booleanPulse.pulsStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001125/0.7296, allocations: 124.1 kB / 0.6885 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.004e-05/0.7297, allocations: 17.08 kB / 0.6885 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005556/0.7302, allocations: 166.9 kB / 0.6887 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.7302, allocations: 2.109 kB / 0.6887 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.7303, allocations: 4 kB / 0.6887 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.7303, allocations: 2.422 kB / 0.6887 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009363/0.7312, allocations: 475.6 kB / 0.6891 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.7312, allocations: 0 / 0.6891 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.7314, allocations: 19.92 kB / 0.6892 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.7314, allocations: 0 / 0.6892 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/0.7314, allocations: 3.5 kB / 0.6892 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.7315, allocations: 1.156 kB / 0.6892 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.7315, allocations: 3.938 kB / 0.6892 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004614/0.7319, allocations: 254.6 kB / 0.6894 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.732, allocations: 96.62 kB / 0.6895 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/0.732, allocations: 2.141 kB / 0.6895 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.7322, allocations: 15.7 kB / 0.6895 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.904e-05/0.7323, allocations: 10.88 kB / 0.6895 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.891e-05/0.7324, allocations: 5.094 kB / 0.6895 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 8.733e-05/0.7325, allocations: 106.9 kB / 0.6896 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.6e-07/0.7325, allocations: 0 / 0.6896 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004848/0.733, allocations: 44.16 kB / 0.6897 GB, free: 12.05 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulsStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.001018/0.734, allocations: 0.86 MB / 0.6905 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004069/0.7344, allocations: 98.88 kB / 0.6906 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.7344, allocations: 0 / 0.6906 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000204/0.7347, allocations: 61.7 kB / 0.6907 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.735, allocations: 22.53 kB / 0.6907 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.7363, allocations: 1.253 MB / 0.6919 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001935/0.7365, allocations: 0.7077 MB / 0.6926 GB, free: 9.348 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 9.446e-05/0.7366, allocations: 9.375 kB / 0.6926 GB, free: 9.348 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.7367, allocations: 34.14 kB / 0.6927 GB, free: 9.328 MB / 0.5261 GB Notification: Performance of SimCode: time 1.192e-06/0.7367, allocations: 4 kB / 0.6927 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08875/0.8255, allocations: 3.052 MB / 0.6956 GB, free: 9 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001938/0.8257, allocations: 253.3 kB / 0.6959 GB, free: 8.758 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.646/3.471, allocations: 0 / 0.6959 GB, free: 8.758 MB / 0.5261 GB