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.Gunay2016Light.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.Gunay2016Light,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.178/4.178, allocations: 432.6 MB / 445.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.608e-05/3.634e-05, allocations: 4.25 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2545, allocations: 98.74 MB / 0.6347 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3161/0.5706, allocations: 126.7 MB / 0.7584 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004437/0.5711, allocations: 83.94 kB / 0.7585 GB, free: 2.945 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.02194/0.5931, allocations: 3.188 MB / 0.7616 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of FrontEnd: time 5.56e-06/0.5932, allocations: 4 kB / 0.7616 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.071e-05/0.5932, allocations: 4 kB / 0.7616 GB, free: 15.75 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.001222/0.5944, allocations: 491.3 kB / 0.7621 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.415e-05/0.5945, allocations: 8.031 kB / 0.7621 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.879e-05/0.5946, allocations: 30.56 kB / 0.7621 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.395e-05/0.5947, allocations: 15.86 kB / 0.7622 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.5949, allocations: 175 kB / 0.7623 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.234e-05/0.595, allocations: 8 kB / 0.7623 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.129e-05/0.595, allocations: 8 kB / 0.7623 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003258/0.5954, allocations: 73.59 kB / 0.7624 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.5954, allocations: 3.984 kB / 0.7624 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.246e-05/0.5955, allocations: 0 / 0.7624 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.5955, allocations: 4 kB / 0.7624 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002432/0.5957, allocations: 39.98 kB / 0.7625 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.5969, allocations: 344.5 kB / 0.7628 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003967/0.5973, allocations: 74.67 kB / 0.7629 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.5975, allocations: 36.86 kB / 0.7629 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.607e-05/0.5976, allocations: 4 kB / 0.7629 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003496/0.5979, allocations: 99.39 kB / 0.763 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=11): time 3.757e-06/0.598, allocations: 0 / 0.763 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.0006244/0.5986, allocations: 129.5 kB / 0.7631 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.416e-05/0.5987, allocations: 55.39 kB / 0.7632 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.5989, allocations: 121.2 kB / 0.7633 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.358e-05/0.599, allocations: 37.64 kB / 0.7633 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.5991, allocations: 92.05 kB / 0.7634 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.522e-05/0.5992, allocations: 31.78 kB / 0.7634 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.013e-05/0.5992, allocations: 4 kB / 0.7634 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002069/0.5995, allocations: 322.8 kB / 0.7637 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.5996, allocations: 24 kB / 0.7638 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/0.5998, allocations: 61.16 kB / 0.7638 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.6, allocations: 35.92 kB / 0.7639 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.6, allocations: 0 / 0.7639 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005056/0.6006, allocations: 125.4 kB / 0.764 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.759e-05/0.6006, allocations: 7.984 kB / 0.764 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.6006, allocations: 0 / 0.764 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.679e-05/0.6007, allocations: 11.89 kB / 0.764 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000326/0.601, allocations: 19.98 kB / 0.764 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-05/0.6011, allocations: 7.938 kB / 0.764 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002696/0.6013, allocations: 16 kB / 0.764 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-05/0.6014, allocations: 7.984 kB / 0.7641 GB, free: 13.01 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,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.0001639/0.6016, allocations: 115.4 kB / 0.7642 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.112e-05/0.6016, allocations: 12.05 kB / 0.7642 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006919/0.6023, allocations: 154.2 kB / 0.7643 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.6024, allocations: 0 / 0.7643 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.6024, allocations: 3.953 kB / 0.7643 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.948e-06/0.6024, allocations: 7.984 kB / 0.7643 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/0.6037, allocations: 438.4 kB / 0.7648 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.6038, allocations: 0 / 0.7648 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002054/0.604, allocations: 11.98 kB / 0.7648 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.29e-05/0.6041, allocations: 3.953 kB / 0.7648 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.495e-05/0.6041, allocations: 7.984 kB / 0.7648 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.6041, allocations: 4 kB / 0.7648 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.6041, allocations: 0 / 0.7648 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005948/0.6048, allocations: 231.6 kB / 0.765 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.6049, allocations: 89.02 kB / 0.7651 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.395e-05/0.605, allocations: 3.953 kB / 0.7651 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003044/0.6053, allocations: 15.92 kB / 0.7651 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.6054, allocations: 19.92 kB / 0.7651 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.563e-05/0.6055, allocations: 7.984 kB / 0.7651 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001317/0.6056, allocations: 99.28 kB / 0.7652 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.41e-07/0.6056, allocations: 0 / 0.7652 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005279/0.6062, allocations: 55.92 kB / 0.7653 GB, free: 11.65 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 (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 (13): * Single equations (assignments): 10 * 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.001223/0.6074, allocations: 0.8407 MB / 0.7661 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003346/0.6078, allocations: 79.92 kB / 0.7662 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.6078, allocations: 0 / 0.7662 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.608, allocations: 51.92 kB / 0.7662 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.6083, allocations: 20.12 kB / 0.7662 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008606/0.6092, allocations: 199.1 kB / 0.7664 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.6096, allocations: 0.7004 MB / 0.7671 GB, free: 9.688 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.413e-05/0.6097, allocations: 12.69 kB / 0.7671 GB, free: 9.676 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.877e-05/0.6098, allocations: 35.42 kB / 0.7672 GB, free: 9.641 MB / 0.6511 GB Notification: Performance of SimCode: time 1.282e-06/0.6098, allocations: 0 / 0.7672 GB, free: 9.641 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02935/0.6392, allocations: 3.118 MB / 0.7702 GB, free: 6.598 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003287/0.6395, allocations: 205.4 kB / 0.7704 GB, free: 6.375 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.654/3.294, allocations: 7.938 kB / 0.7704 GB, free: 6.367 MB / 0.6511 GB