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: translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009357/0.009357, allocations: 111.8 kB / 15.06 MB, free: 5.961 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.001112/0.001112, allocations: 184.1 kB / 15.94 MB, free: 5.926 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.076/2.076, allocations: 194.6 MB / 211.3 MB, free: 11.05 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.241/2.241, allocations: 236.2 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004648/0.0004649, allocations: 16 kB / 0.5869 GB, free: 2.176 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5294/0.5299, allocations: 98.71 MB / 0.6833 GB, free: 16.76 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1928/0.7227, allocations: 126.7 MB / 0.8071 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/0.7231, allocations: 79.95 kB / 0.8071 GB, free: 15.52 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.01313/0.7362, allocations: 3.108 MB / 0.8102 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.161e-06/0.7362, allocations: 0 / 0.8102 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.322e-06/0.7363, allocations: 0 / 0.8102 GB, free: 12.41 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.0007479/0.737, allocations: 486.3 kB / 0.8106 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.7371, allocations: 8.031 kB / 0.8106 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.223e-05/0.7371, allocations: 11.86 kB / 0.8107 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.7373, allocations: 178.9 kB / 0.8108 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.561e-05/0.7374, allocations: 33.7 kB / 0.8109 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.598e-05/0.7374, allocations: 7.984 kB / 0.8109 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.7377, allocations: 77.59 kB / 0.8109 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.7377, allocations: 0 / 0.8109 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.7377, allocations: 11.92 kB / 0.811 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.664e-06/0.7378, allocations: 3.984 kB / 0.811 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002464/0.738, allocations: 51.97 kB / 0.811 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006957/0.7387, allocations: 332.8 kB / 0.8113 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002678/0.739, allocations: 70.58 kB / 0.8114 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.7391, allocations: 12.08 kB / 0.8114 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002714/0.7393, allocations: 99.34 kB / 0.8115 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.5e-06/0.7394, allocations: 0 / 0.8115 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0006014/0.74, allocations: 173.4 kB / 0.8117 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.74, allocations: 59.41 kB / 0.8117 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.7402, allocations: 117.8 kB / 0.8118 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.7402, allocations: 29.7 kB / 0.8119 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.436e-05/0.7403, allocations: 96.27 kB / 0.812 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.658e-05/0.7404, allocations: 23.66 kB / 0.812 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.415e-06/0.7404, allocations: 0 / 0.812 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.7406, allocations: 326.8 kB / 0.8123 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.7407, allocations: 35.97 kB / 0.8123 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/0.7409, allocations: 77.06 kB / 0.8124 GB, free: 9.879 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.7411, allocations: 35.98 kB / 0.8124 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.786e-06/0.7411, allocations: 4 kB / 0.8124 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004094/0.7415, allocations: 137.4 kB / 0.8126 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.7415, allocations: 4 kB / 0.8126 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.839e-06/0.7415, allocations: 4 kB / 0.8126 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.7416, allocations: 8.125 kB / 0.8126 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.7417, allocations: 24.25 kB / 0.8126 GB, free: 9.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.7418, allocations: 7.984 kB / 0.8126 GB, free: 9.652 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.7419, allocations: 8 kB / 0.8126 GB, free: 9.645 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.061e-05/0.7419, allocations: 7.984 kB / 0.8126 GB, free: 9.637 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.0001263/0.7421, allocations: 125.8 kB / 0.8127 GB, free: 9.504 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.632e-05/0.7421, allocations: 11.91 kB / 0.8128 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.609e-05/0.7422, allocations: 8.719 kB / 0.8128 GB, free: 9.48 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.7422, allocations: 4 kB / 0.8128 GB, free: 9.477 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.178e-06/0.7422, allocations: 3.953 kB / 0.8128 GB, free: 9.473 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.229e-06/0.7422, allocations: 3.984 kB / 0.8128 GB, free: 9.469 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008393/0.743, allocations: 434.3 kB / 0.8132 GB, free: 8.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.937e-06/0.7431, allocations: 0 / 0.8132 GB, free: 8.988 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.7432, allocations: 11.98 kB / 0.8132 GB, free: 8.977 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.512e-06/0.7432, allocations: 0 / 0.8132 GB, free: 8.977 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/0.7432, allocations: 11.95 kB / 0.8132 GB, free: 8.965 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.307e-06/0.7432, allocations: 0 / 0.8132 GB, free: 8.965 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.573e-06/0.7433, allocations: 0 / 0.8132 GB, free: 8.965 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004621/0.7437, allocations: 239.3 kB / 0.8134 GB, free: 8.715 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.792e-05/0.7438, allocations: 81.02 kB / 0.8135 GB, free: 8.617 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.188e-05/0.7438, allocations: 4 kB / 0.8135 GB, free: 8.613 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.744, allocations: 16.03 kB / 0.8135 GB, free: 8.598 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.868e-05/0.7441, allocations: 19.95 kB / 0.8136 GB, free: 8.578 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.7441, allocations: 8 kB / 0.8136 GB, free: 8.57 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.108e-05/0.7442, allocations: 104.9 kB / 0.8137 GB, free: 8.469 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.99e-07/0.7442, allocations: 0 / 0.8137 GB, free: 8.469 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004311/0.7447, allocations: 47.98 kB / 0.8137 GB, free: 8.422 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 (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.0004226/0.7451, allocations: 185.3 kB / 0.8139 GB, free: 8.246 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003726/0.7455, allocations: 100 kB / 0.814 GB, free: 8.148 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.131e-06/0.7455, allocations: 0 / 0.814 GB, free: 8.148 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000175/0.7457, allocations: 43.92 kB / 0.814 GB, free: 8.105 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.746, allocations: 20.23 kB / 0.814 GB, free: 8.086 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005569/0.7465, allocations: 227 kB / 0.8143 GB, free: 7.844 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003648/0.7469, allocations: 0.7005 MB / 0.8149 GB, free: 7.117 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.447e-05/0.747, allocations: 8.656 kB / 0.815 GB, free: 7.109 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.51e-05/0.7471, allocations: 11.44 kB / 0.815 GB, free: 7.098 MB / 0.6355 GB Notification: Performance of SimCode: time 1.336e-06/0.7471, allocations: 0 / 0.815 GB, free: 7.098 MB / 0.6355 GB Notification: Performance of Templates: time 0.005854/0.753, allocations: 1.794 MB / 0.8167 GB, free: 5.312 MB / 0.6355 GB