Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") Notification: Performance of loadModel(Buildings): time 3.913/3.913, allocations: 433.4 MB / 440.9 MB, free: 10.48 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.409e-05/2.422e-05, allocations: 8 kB / 0.5325 GB, free: 1.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4974/0.4975, allocations: 98.71 MB / 0.6289 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1943/0.6918, allocations: 126.1 MB / 0.752 GB, free: 1.484 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/0.6921, allocations: 83.94 kB / 0.7521 GB, free: 1.402 MB / 0.6198 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.01353/0.7057, allocations: 3.25 MB / 0.7553 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.788e-06/0.7057, allocations: 0 / 0.7553 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.907e-06/0.7057, allocations: 4 kB / 0.7553 GB, free: 14.14 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007123/0.7064, allocations: 0.4918 MB / 0.7558 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.7065, allocations: 8.031 kB / 0.7558 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.88e-05/0.7065, allocations: 15.86 kB / 0.7558 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.7067, allocations: 174.9 kB / 0.756 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.7068, allocations: 4 kB / 0.756 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.7068, allocations: 11.92 kB / 0.756 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001424/0.707, allocations: 35.98 kB / 0.756 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.7071, allocations: 65.66 kB / 0.7561 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.891e-06/0.7072, allocations: 4 kB / 0.7561 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.7072, allocations: 3.953 kB / 0.7561 GB, free: 13.22 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.39e-06/0.7072, allocations: 4 kB / 0.7561 GB, free: 13.22 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006304/0.7079, allocations: 301.3 kB / 0.7564 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/0.7081, allocations: 74.67 kB / 0.7564 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.886e-05/0.7082, allocations: 31 kB / 0.7565 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.7082, allocations: 8.141 kB / 0.7565 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002022/0.7084, allocations: 99.2 kB / 0.7566 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 2.75e-06/0.7085, allocations: 0 / 0.7566 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0003834/0.7088, allocations: 125.5 kB / 0.7567 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.7089, allocations: 55.41 kB / 0.7568 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.7091, allocations: 126.7 kB / 0.7569 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.334e-05/0.7091, allocations: 29.7 kB / 0.7569 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.367e-05/0.7092, allocations: 96.12 kB / 0.757 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.816e-05/0.7093, allocations: 23.62 kB / 0.757 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.02e-06/0.7093, allocations: 0 / 0.757 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.7095, allocations: 322.8 kB / 0.7573 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.826e-05/0.7095, allocations: 23.94 kB / 0.7573 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.7097, allocations: 69.08 kB / 0.7574 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.57e-05/0.7098, allocations: 27.92 kB / 0.7574 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.834e-06/0.7098, allocations: 0 / 0.7574 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000272/0.7101, allocations: 109.5 kB / 0.7575 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.7101, allocations: 15.92 kB / 0.7576 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.231e-06/0.7101, allocations: 3.953 kB / 0.7576 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.7101, allocations: 4.094 kB / 0.7576 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.7103, allocations: 23.92 kB / 0.7576 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.642e-06/0.7103, allocations: 4 kB / 0.7576 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.7105, allocations: 19.92 kB / 0.7576 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.7105, allocations: 4 kB / 0.7576 GB, free: 11.53 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,booleanPulse.y,$PRE.booleanPulse.pulsStart,booleanPulse.pulsStart) * Number of discrete 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.0001099/0.7106, allocations: 113.1 kB / 0.7577 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.276e-05/0.7107, allocations: 15.8 kB / 0.7577 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004286/0.7111, allocations: 150.2 kB / 0.7579 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.458e-06/0.7111, allocations: 3.953 kB / 0.7579 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.277e-06/0.7111, allocations: 0 / 0.7579 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.455e-06/0.7111, allocations: 0 / 0.7579 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000748/0.7119, allocations: 418.9 kB / 0.7583 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.7119, allocations: 0 / 0.7583 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.7121, allocations: 19.98 kB / 0.7583 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.031e-06/0.7121, allocations: 3.953 kB / 0.7583 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.7121, allocations: 0 / 0.7583 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.956e-06/0.7121, allocations: 11.97 kB / 0.7583 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.429e-06/0.7121, allocations: 0 / 0.7583 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003861/0.7125, allocations: 227.3 kB / 0.7585 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.351e-05/0.7126, allocations: 85.02 kB / 0.7586 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.344e-05/0.7126, allocations: 3.953 kB / 0.7586 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.7128, allocations: 15.98 kB / 0.7586 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.415e-05/0.7129, allocations: 11.98 kB / 0.7586 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.684e-05/0.7129, allocations: 7.984 kB / 0.7587 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.899e-05/0.713, allocations: 100.8 kB / 0.7588 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.29e-07/0.7131, allocations: 0 / 0.7588 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004352/0.7135, allocations: 55.92 kB / 0.7588 GB, free: 10.22 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulsStart) * Number of discrete states: 1 (lig.on) * 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.0004295/0.7139, allocations: 176.6 kB / 0.759 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002285/0.7142, allocations: 76.11 kB / 0.759 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.361e-06/0.7142, allocations: 0 / 0.759 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.7143, allocations: 51.92 kB / 0.7591 GB, free: 9.918 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.7146, allocations: 16.17 kB / 0.7591 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004403/0.7151, allocations: 136.5 kB / 0.7592 GB, free: 9.742 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003869/0.7155, allocations: 0.7041 MB / 0.7599 GB, free: 9.012 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.533e-05/0.7156, allocations: 16.55 kB / 0.7599 GB, free: 8.996 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.521e-05/0.7156, allocations: 15.42 kB / 0.76 GB, free: 8.98 MB / 0.6355 GB Notification: Performance of SimCode: time 1.371e-06/0.7156, allocations: 0 / 0.76 GB, free: 8.98 MB / 0.6355 GB Notification: Performance of Templates: time 0.006152/0.7218, allocations: 1.958 MB / 0.7619 GB, free: 7.035 MB / 0.6355 GB