Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.647/1.647, allocations: 306.1 MB / 321.4 MB, free: 10.73 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 179.2 kB / 393.1 MB, free: 4.062 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.582/1.582, allocations: 225.7 MB / 0.6743 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007527/0.0007528, allocations: 98.17 kB / 0.7935 GB, free: 40.14 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003494/0.0003495, allocations: 8 kB / 0.9224 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6102/0.6106, allocations: 121.3 MB / 1.041 GB, free: 58.66 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.001775/0.6125, allocations: 1.218 MB / 1.042 GB, free: 57.87 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001276/0.6138, allocations: 1.025 MB / 1.043 GB, free: 57.01 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.211e-05/0.6138, allocations: 0 / 1.043 GB, free: 57.01 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.124e-05/0.6139, allocations: 4.625 kB / 1.043 GB, free: 57.01 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.503e-05/0.614, allocations: 11.89 kB / 1.043 GB, free: 57 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004506/0.6144, allocations: 108.4 kB / 1.043 GB, free: 56.95 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.6145, allocations: 74.66 kB / 1.043 GB, free: 56.91 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.435e-05/0.6146, allocations: 18.06 kB / 1.043 GB, free: 56.91 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.108e-05/0.6147, allocations: 33.92 kB / 1.043 GB, free: 56.89 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.545e-05/0.6148, allocations: 36.84 kB / 1.043 GB, free: 56.88 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.425e-05/0.6149, allocations: 3.188 kB / 1.043 GB, free: 56.88 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001712/0.615, allocations: 90.41 kB / 1.043 GB, free: 56.85 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.654e-05/0.6151, allocations: 12.7 kB / 1.043 GB, free: 56.84 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.299e-05/0.6151, allocations: 55.28 kB / 1.043 GB, free: 56.8 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002197/0.6154, allocations: 144.8 kB / 1.044 GB, free: 56.75 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.6154, allocations: 0 / 1.044 GB, free: 56.75 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.843e-06/0.6154, allocations: 0 / 1.044 GB, free: 56.75 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.6154, allocations: 0 / 1.044 GB, free: 56.75 MB / 0.698 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.0006354/0.616, allocations: 452.9 kB / 1.044 GB, free: 56.31 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.6161, allocations: 8.281 kB / 1.044 GB, free: 56.31 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.088e-05/0.6161, allocations: 12.55 kB / 1.044 GB, free: 56.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.6162, allocations: 187.7 kB / 1.044 GB, free: 56.09 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.6163, allocations: 4.172 kB / 1.044 GB, free: 56.09 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.6163, allocations: 3.375 kB / 1.044 GB, free: 56.09 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.6165, allocations: 79.97 kB / 1.044 GB, free: 56.04 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.6165, allocations: 0 / 1.044 GB, free: 56.04 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.6165, allocations: 1.719 kB / 1.044 GB, free: 56.04 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.6165, allocations: 1.062 kB / 1.044 GB, free: 56.04 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.6167, allocations: 57.91 kB / 1.044 GB, free: 56.02 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004747/0.6172, allocations: 319.6 kB / 1.045 GB, free: 55.73 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.6173, allocations: 67.59 kB / 1.045 GB, free: 55.69 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.961e-05/0.6174, allocations: 36.22 kB / 1.045 GB, free: 55.68 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.6174, allocations: 0 / 1.045 GB, free: 55.68 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002134/0.6176, allocations: 94.12 kB / 1.045 GB, free: 55.61 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.6177, allocations: 2.938 kB / 1.045 GB, free: 55.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.000383/0.618, allocations: 162.3 kB / 1.045 GB, free: 55.54 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.6181, allocations: 59.12 kB / 1.045 GB, free: 55.48 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.85e-05/0.6182, allocations: 124.9 kB / 1.045 GB, free: 55.37 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.6182, allocations: 32.11 kB / 1.045 GB, free: 55.34 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.931e-05/0.6182, allocations: 98.55 kB / 1.045 GB, free: 55.23 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.6183, allocations: 28.88 kB / 1.045 GB, free: 55.21 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.534e-06/0.6183, allocations: 5.562 kB / 1.045 GB, free: 55.21 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.392e-05/0.6184, allocations: 322.9 kB / 1.046 GB, free: 54.89 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.284e-05/0.6184, allocations: 26.33 kB / 1.046 GB, free: 54.89 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.065e-05/0.6185, allocations: 78.75 kB / 1.046 GB, free: 54.82 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.6187, allocations: 103.6 kB / 1.046 GB, free: 54.75 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.6187, allocations: 0 / 1.046 GB, free: 54.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002404/0.619, allocations: 134.4 kB / 1.046 GB, free: 54.68 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.619, allocations: 10.03 kB / 1.046 GB, free: 54.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.619, allocations: 3.844 kB / 1.046 GB, free: 54.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.619, allocations: 0 / 1.046 GB, free: 54.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.6191, allocations: 16.23 kB / 1.046 GB, free: 54.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.6192, allocations: 3.938 kB / 1.046 GB, free: 54.67 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.968e-05/0.6193, allocations: 17.06 kB / 1.046 GB, free: 54.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.6193, allocations: 7.609 kB / 1.046 GB, free: 54.67 MB / 0.698 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,occ.y,$PRE.occ.pulseStart,occ.pulseStart) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.784e-05/0.6194, allocations: 130.4 kB / 1.046 GB, free: 54.54 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.577e-05/0.6194, allocations: 8.062 kB / 1.046 GB, free: 54.54 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002936/0.6197, allocations: 156 kB / 1.046 GB, free: 54.46 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.6197, allocations: 2.219 kB / 1.046 GB, free: 54.46 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.6197, allocations: 0 / 1.046 GB, free: 54.46 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.6197, allocations: 5.391 kB / 1.046 GB, free: 54.46 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004658/0.6202, allocations: 442 kB / 1.047 GB, free: 54.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.6202, allocations: 0 / 1.047 GB, free: 54.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.639e-05/0.6203, allocations: 8.969 kB / 1.047 GB, free: 54.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.6203, allocations: 0 / 1.047 GB, free: 54.11 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.6203, allocations: 17.39 kB / 1.047 GB, free: 54.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.6203, allocations: 0 / 1.047 GB, free: 54.09 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.6203, allocations: 4.594 kB / 1.047 GB, free: 54.09 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/0.6206, allocations: 223.4 kB / 1.047 GB, free: 53.93 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.68e-05/0.6206, allocations: 88.22 kB / 1.047 GB, free: 53.83 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.6206, allocations: 6.094 kB / 1.047 GB, free: 53.83 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.6207, allocations: 18.64 kB / 1.047 GB, free: 53.82 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/0.6208, allocations: 11.16 kB / 1.047 GB, free: 53.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.6208, allocations: 6.766 kB / 1.047 GB, free: 53.82 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.204e-05/0.6209, allocations: 99.64 kB / 1.047 GB, free: 53.73 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6209, allocations: 0 / 1.047 GB, free: 53.73 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002835/0.6212, allocations: 39.58 kB / 1.047 GB, free: 53.73 MB / 0.698 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 (occ.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003293/0.6215, allocations: 182.7 kB / 1.047 GB, free: 53.61 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002282/0.6217, allocations: 85.59 kB / 1.048 GB, free: 53.59 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.6218, allocations: 0 / 1.048 GB, free: 53.59 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.6219, allocations: 55.97 kB / 1.048 GB, free: 53.57 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.6221, allocations: 14.25 kB / 1.048 GB, free: 53.57 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004608/0.6226, allocations: 239.1 kB / 1.048 GB, free: 53.39 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000159/0.6228, allocations: 0.6999 MB / 1.049 GB, free: 52.69 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.766e-05/0.6228, allocations: 11.02 kB / 1.049 GB, free: 52.68 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.425e-05/0.6229, allocations: 11.83 kB / 1.049 GB, free: 52.68 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/0.6229, allocations: 3.562 kB / 1.049 GB, free: 52.68 MB / 0.698 GB Notification: Performance of Templates: time 0.005025/0.6279, allocations: 1.662 MB / 1.05 GB, free: 52.53 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)