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.Hunt1979Light.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.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadModel(Buildings): time 3.931/3.931, allocations: 433.3 MB / 440.9 MB, free: 10.35 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.136e-05/2.139e-05, allocations: 4 kB / 0.5325 GB, free: 1.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5065/0.5066, allocations: 98.71 MB / 0.6289 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1939/0.7005, allocations: 125.9 MB / 0.7519 GB, free: 1.484 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/0.7008, allocations: 83.89 kB / 0.752 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.01311/0.714, allocations: 3.071 MB / 0.755 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.156e-06/0.714, allocations: 0 / 0.755 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.714, allocations: 4 kB / 0.755 GB, free: 14.32 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.0007232/0.7148, allocations: 465.6 kB / 0.7554 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.7148, allocations: 12.02 kB / 0.7554 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.92e-05/0.7149, allocations: 11.86 kB / 0.7554 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.7151, allocations: 175 kB / 0.7556 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.062e-05/0.7152, allocations: 33.7 kB / 0.7556 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.7152, allocations: 4 kB / 0.7557 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001236/0.7154, allocations: 27.98 kB / 0.7557 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.7155, allocations: 65.66 kB / 0.7557 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.7155, allocations: 7.922 kB / 0.7557 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.7156, allocations: 0 / 0.7557 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.7156, allocations: 4 kB / 0.7558 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006794/0.7163, allocations: 309.2 kB / 0.756 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.7164, allocations: 54.56 kB / 0.7561 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.052e-05/0.7165, allocations: 32.8 kB / 0.7561 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.7166, allocations: 8 kB / 0.7561 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001837/0.7167, allocations: 85.69 kB / 0.7562 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.836e-06/0.7168, allocations: 0 / 0.7562 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.000343/0.7171, allocations: 117.5 kB / 0.7563 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.7172, allocations: 55.41 kB / 0.7564 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.7173, allocations: 121.2 kB / 0.7565 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.7174, allocations: 25.7 kB / 0.7565 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.837e-05/0.7175, allocations: 100.3 kB / 0.7566 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.7175, allocations: 19.75 kB / 0.7566 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.562e-06/0.7175, allocations: 0 / 0.7566 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.7177, allocations: 318.8 kB / 0.7569 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.956e-05/0.7177, allocations: 20 kB / 0.757 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.7179, allocations: 69.14 kB / 0.757 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.2e-05/0.7179, allocations: 23.98 kB / 0.7571 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.634e-06/0.718, allocations: 0 / 0.7571 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002526/0.7182, allocations: 109.4 kB / 0.7572 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.7183, allocations: 8 kB / 0.7572 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.626e-06/0.7183, allocations: 0 / 0.7572 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.7183, allocations: 4 kB / 0.7572 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.7185, allocations: 28.05 kB / 0.7572 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.7185, allocations: 7.938 kB / 0.7572 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.7186, allocations: 12 kB / 0.7572 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.7187, allocations: 7.984 kB / 0.7572 GB, free: 11.79 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 () * 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.0001031/0.7188, allocations: 112.9 kB / 0.7573 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.553e-05/0.7188, allocations: 7.906 kB / 0.7573 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.901e-05/0.7189, allocations: 12.62 kB / 0.7573 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.745e-06/0.7189, allocations: 4 kB / 0.7574 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.039e-06/0.7189, allocations: 0 / 0.7574 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.356e-06/0.7189, allocations: 3.953 kB / 0.7574 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006535/0.7196, allocations: 383 kB / 0.7577 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.062e-06/0.7196, allocations: 0 / 0.7577 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.7197, allocations: 15.98 kB / 0.7577 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.692e-06/0.7197, allocations: 0 / 0.7577 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.7198, allocations: 0 / 0.7577 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.408e-06/0.7198, allocations: 4 kB / 0.7577 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/0.7198, allocations: 3.953 kB / 0.7577 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003247/0.7201, allocations: 207.4 kB / 0.7579 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.225e-05/0.7202, allocations: 85 kB / 0.758 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.23e-05/0.7202, allocations: 7.984 kB / 0.758 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.7204, allocations: 15.98 kB / 0.758 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.789e-05/0.7205, allocations: 15.94 kB / 0.7581 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.7206, allocations: 4 kB / 0.7581 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.218e-05/0.7206, allocations: 99.27 kB / 0.7582 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.89e-06/0.7207, allocations: 0 / 0.7582 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004369/0.7211, allocations: 43.94 kB / 0.7582 GB, free: 10.69 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) * 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.0004304/0.7215, allocations: 181.8 kB / 0.7584 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000205/0.7218, allocations: 63.92 kB / 0.7584 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.267e-06/0.7218, allocations: 0 / 0.7584 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.855e-05/0.7219, allocations: 32 kB / 0.7585 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.7222, allocations: 20.17 kB / 0.7585 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003828/0.7226, allocations: 108.4 kB / 0.7586 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.7229, allocations: 0.6963 MB / 0.7593 GB, free: 9.551 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.784e-05/0.723, allocations: 16.66 kB / 0.7593 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.537e-05/0.7231, allocations: 11.44 kB / 0.7593 GB, free: 9.523 MB / 0.6355 GB Notification: Performance of SimCode: time 1.377e-06/0.7231, allocations: 0 / 0.7593 GB, free: 9.523 MB / 0.6355 GB Notification: Performance of Templates: time 0.005726/0.7288, allocations: 1.772 MB / 0.761 GB, free: 7.758 MB / 0.6355 GB