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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.56/4.56, allocations: 432.6 MB / 445.2 MB, free: 15.72 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.888e-05/2.903e-05, allocations: 7.828 kB / 0.5383 GB, free: 10.23 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2185, allocations: 98.73 MB / 0.6347 GB, free: 1.871 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2396/0.4582, allocations: 126.6 MB / 0.7584 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003372/0.4586, allocations: 79.95 kB / 0.7584 GB, free: 3.012 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.01557/0.4742, allocations: 3.079 MB / 0.7614 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.993e-06/0.4743, allocations: 0 / 0.7614 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.4743, allocations: 0 / 0.7614 GB, free: 15.93 MB / 0.6511 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.0009995/0.4753, allocations: 473.6 kB / 0.7619 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.4754, allocations: 12.03 kB / 0.7619 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.024e-05/0.4754, allocations: 34.56 kB / 0.7619 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.788e-05/0.4755, allocations: 15.86 kB / 0.7619 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.4757, allocations: 175 kB / 0.7621 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/0.4758, allocations: 29.7 kB / 0.7621 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.4759, allocations: 8 kB / 0.7622 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.4761, allocations: 77.59 kB / 0.7622 GB, free: 15 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.4761, allocations: 0 / 0.7622 GB, free: 15 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.4761, allocations: 0 / 0.7622 GB, free: 15 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.4762, allocations: 0 / 0.7622 GB, free: 15 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001518/0.4763, allocations: 39.94 kB / 0.7623 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008484/0.4772, allocations: 336.6 kB / 0.7626 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.4774, allocations: 58.56 kB / 0.7626 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.831e-05/0.4775, allocations: 24.86 kB / 0.7627 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.36e-05/0.4775, allocations: 11.92 kB / 0.7627 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000242/0.4778, allocations: 95.55 kB / 0.7628 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 2.845e-06/0.4778, allocations: 4 kB / 0.7628 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.0003804/0.4782, allocations: 105.5 kB / 0.7629 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.705e-05/0.4783, allocations: 67.33 kB / 0.7629 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.4785, allocations: 121.2 kB / 0.7631 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.4785, allocations: 29.7 kB / 0.7631 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.123e-05/0.4786, allocations: 96.27 kB / 0.7632 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/0.4786, allocations: 15.81 kB / 0.7632 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.254e-05/0.4787, allocations: 4 kB / 0.7632 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.4788, allocations: 326.8 kB / 0.7635 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.316e-05/0.4789, allocations: 20 kB / 0.7635 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.4791, allocations: 57.14 kB / 0.7636 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.4792, allocations: 31.98 kB / 0.7636 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.4792, allocations: 0 / 0.7636 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003219/0.4796, allocations: 121.3 kB / 0.7637 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.4796, allocations: 4 kB / 0.7637 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.4796, allocations: 0 / 0.7637 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.618e-05/0.4797, allocations: 11.95 kB / 0.7637 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.4799, allocations: 23.92 kB / 0.7638 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.5e-05/0.4799, allocations: 7.984 kB / 0.7638 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001989/0.4801, allocations: 20.05 kB / 0.7638 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/0.4802, allocations: 4 kB / 0.7638 GB, free: 13.25 MB / 0.6511 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.0001134/0.4803, allocations: 114.6 kB / 0.7639 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.583e-05/0.4804, allocations: 7.906 kB / 0.7639 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.723e-05/0.4804, allocations: 20.61 kB / 0.7639 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.4804, allocations: 3.953 kB / 0.7639 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.4805, allocations: 0 / 0.7639 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.4805, allocations: 4.094 kB / 0.7639 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000962/0.4814, allocations: 410.4 kB / 0.7643 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.4815, allocations: 0 / 0.7643 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.4816, allocations: 11.98 kB / 0.7643 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.528e-06/0.4816, allocations: 3.953 kB / 0.7643 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.4817, allocations: 0 / 0.7643 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.4817, allocations: 4 kB / 0.7643 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.4817, allocations: 4 kB / 0.7643 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003756/0.4821, allocations: 215.3 kB / 0.7646 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.297e-05/0.4822, allocations: 84.92 kB / 0.7646 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.81e-05/0.4822, allocations: 11.94 kB / 0.7646 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/0.4825, allocations: 11.98 kB / 0.7647 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.667e-05/0.4826, allocations: 19.92 kB / 0.7647 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.04e-05/0.4826, allocations: 4 kB / 0.7647 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001016/0.4827, allocations: 95.27 kB / 0.7648 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.01e-07/0.4827, allocations: 0 / 0.7648 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005122/0.4832, allocations: 55.94 kB / 0.7648 GB, free: 12.09 MB / 0.6511 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.001209/0.4845, allocations: 0.8257 MB / 0.7656 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002997/0.4848, allocations: 75.8 kB / 0.7657 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.4848, allocations: 4 kB / 0.7657 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.485, allocations: 36 kB / 0.7657 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.4853, allocations: 16.19 kB / 0.7658 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008091/0.4861, allocations: 186.8 kB / 0.7659 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003581/0.4865, allocations: 0.6926 MB / 0.7666 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001088/0.4866, allocations: 12.66 kB / 0.7666 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.263e-05/0.4868, allocations: 27.42 kB / 0.7666 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of SimCode: time 1.422e-06/0.4868, allocations: 4 kB / 0.7667 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03034/0.5171, allocations: 2.905 MB / 0.7695 GB, free: 7.312 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003444/0.5175, allocations: 212.5 kB / 0.7697 GB, free: 7.082 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.665/3.182, allocations: 0 / 0.7697 GB, free: 7.082 MB / 0.6511 GB