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: translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01655/0.01656, allocations: 111.2 kB / 15.06 MB, free: 5.965 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.001824/0.001824, allocations: 180 kB / 15.94 MB, free: 5.93 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 1.88/1.88, allocations: 194.6 MB / 211.3 MB, free: 11.12 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.401/2.401, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004609/0.000461, allocations: 8 kB / 0.5869 GB, free: 2.195 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6747/0.6752, allocations: 98.71 MB / 0.6833 GB, free: 16.78 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2139/0.8891, allocations: 126.7 MB / 0.8071 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/0.8895, allocations: 83.95 kB / 0.8072 GB, free: 15.5 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.01379/0.9033, allocations: 3.132 MB / 0.8102 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.477e-06/0.9033, allocations: 0 / 0.8102 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.9033, allocations: 4 kB / 0.8102 GB, free: 12.36 MB / 0.6355 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.0007776/0.9041, allocations: 470.4 kB / 0.8107 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.9042, allocations: 8.031 kB / 0.8107 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.2e-05/0.9042, allocations: 15.86 kB / 0.8107 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.9044, allocations: 178.9 kB / 0.8109 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.851e-05/0.9045, allocations: 0 / 0.8109 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.9045, allocations: 4 kB / 0.8109 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/0.9047, allocations: 77.59 kB / 0.811 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.387e-06/0.9047, allocations: 4 kB / 0.811 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.9048, allocations: 4 kB / 0.811 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.698e-06/0.9048, allocations: 0 / 0.811 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001821/0.905, allocations: 47.91 kB / 0.811 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007162/0.9057, allocations: 336.7 kB / 0.8113 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.9059, allocations: 62.56 kB / 0.8114 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.906, allocations: 4.141 kB / 0.8114 GB, free: 11 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002529/0.9062, allocations: 99.38 kB / 0.8115 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.731e-06/0.9062, allocations: 4 kB / 0.8115 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0005241/0.9068, allocations: 157.4 kB / 0.8116 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.604e-05/0.9069, allocations: 59.34 kB / 0.8117 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.907, allocations: 117 kB / 0.8118 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/0.9071, allocations: 29.7 kB / 0.8118 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.09e-05/0.9071, allocations: 92.38 kB / 0.8119 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.168e-05/0.9072, allocations: 23.7 kB / 0.812 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.035e-06/0.9072, allocations: 0 / 0.812 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.9074, allocations: 322.8 kB / 0.8123 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.9075, allocations: 27.98 kB / 0.8123 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/0.9077, allocations: 65.14 kB / 0.8124 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.9078, allocations: 39.92 kB / 0.8124 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.255e-06/0.9078, allocations: 0 / 0.8124 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000362/0.9082, allocations: 137.5 kB / 0.8125 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.9082, allocations: 4.375 kB / 0.8125 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.524e-06/0.9082, allocations: 0 / 0.8125 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.9083, allocations: 4 kB / 0.8125 GB, free: 9.762 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.9084, allocations: 15.98 kB / 0.8125 GB, free: 9.746 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.9084, allocations: 11.83 kB / 0.8126 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.9086, allocations: 27.83 kB / 0.8126 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.9086, allocations: 4.062 kB / 0.8126 GB, free: 9.703 MB / 0.6355 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,lig.occ,$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.0001325/0.9088, allocations: 121.8 kB / 0.8127 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.448e-05/0.9088, allocations: 4 kB / 0.8127 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004411/0.9092, allocations: 153.8 kB / 0.8129 GB, free: 9.414 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.583e-06/0.9093, allocations: 96 / 0.8129 GB, free: 9.414 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.954e-06/0.9093, allocations: 7.984 kB / 0.8129 GB, free: 9.406 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.182e-06/0.9093, allocations: 11.94 kB / 0.8129 GB, free: 9.395 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007869/0.9101, allocations: 422.4 kB / 0.8133 GB, free: 8.926 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.303e-06/0.9101, allocations: 0 / 0.8133 GB, free: 8.926 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.844e-05/0.9102, allocations: 15.98 kB / 0.8133 GB, free: 8.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.25e-06/0.9103, allocations: 4 kB / 0.8133 GB, free: 8.906 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.9103, allocations: 0 / 0.8133 GB, free: 8.906 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.9e-06/0.9103, allocations: 3.953 kB / 0.8133 GB, free: 8.902 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.349e-06/0.9103, allocations: 0 / 0.8133 GB, free: 8.902 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004063/0.9107, allocations: 235.3 kB / 0.8135 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.719e-05/0.9108, allocations: 81.02 kB / 0.8136 GB, free: 8.559 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.359e-05/0.9109, allocations: 4 kB / 0.8136 GB, free: 8.555 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.911, allocations: 15.98 kB / 0.8136 GB, free: 8.539 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.064e-05/0.9111, allocations: 19.88 kB / 0.8136 GB, free: 8.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.9111, allocations: 0 / 0.8136 GB, free: 8.52 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001004/0.9113, allocations: 104 kB / 0.8137 GB, free: 8.418 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.78e-07/0.9113, allocations: 0 / 0.8137 GB, free: 8.418 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004684/0.9117, allocations: 55.86 kB / 0.8138 GB, free: 8.363 MB / 0.6355 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 (lig.occ,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.0004411/0.9122, allocations: 180.3 kB / 0.814 GB, free: 8.191 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003107/0.9125, allocations: 87.89 kB / 0.814 GB, free: 8.105 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.728e-06/0.9125, allocations: 0 / 0.814 GB, free: 8.105 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.9127, allocations: 48.17 kB / 0.8141 GB, free: 8.059 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.913, allocations: 15.98 kB / 0.8141 GB, free: 8.043 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005603/0.9136, allocations: 235 kB / 0.8143 GB, free: 7.789 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/0.9139, allocations: 0.6965 MB / 0.815 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.323e-05/0.914, allocations: 12.36 kB / 0.815 GB, free: 7.055 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.692e-05/0.9141, allocations: 15.44 kB / 0.815 GB, free: 7.039 MB / 0.6355 GB Notification: Performance of SimCode: time 1.258e-06/0.9141, allocations: 0 / 0.815 GB, free: 7.039 MB / 0.6355 GB Notification: Performance of Templates: time 0.005992/0.9201, allocations: 1.807 MB / 0.8168 GB, free: 5.242 MB / 0.6355 GB