Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.654/1.654, allocations: 291.7 MB / 306.8 MB, free: 7.699 MB / 234.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.0009592/0.0009592, allocations: 186.6 kB / 375.4 MB, free: 5.105 MB / 298.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.419/1.419, allocations: 225.7 MB / 0.6538 GB, free: 13.62 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000771/0.0007712, allocations: 97.66 kB / 0.7699 GB, free: 50.52 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004147/0.0004148, allocations: 12 kB / 0.8956 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5879/0.5883, allocations: 118.1 MB / 1.011 GB, free: 58.25 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.001698/0.5901, allocations: 1.227 MB / 1.012 GB, free: 58.21 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.5912, allocations: 0.6962 MB / 1.013 GB, free: 58.14 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.216e-05/0.5913, allocations: 0 / 1.013 GB, free: 58.14 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.796e-05/0.5913, allocations: 5.156 kB / 1.013 GB, free: 58.14 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001095/0.5914, allocations: 17.39 kB / 1.013 GB, free: 58.13 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004114/0.5918, allocations: 98.05 kB / 1.013 GB, free: 58.11 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.596e-05/0.592, allocations: 91.08 kB / 1.013 GB, free: 58.1 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.035e-05/0.592, allocations: 12.16 kB / 1.013 GB, free: 58.1 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.385e-05/0.5921, allocations: 42.8 kB / 1.013 GB, free: 58.09 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.474e-05/0.5922, allocations: 41.5 kB / 1.013 GB, free: 58.08 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.5922, allocations: 4.562 kB / 1.013 GB, free: 58.08 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001573/0.5924, allocations: 84.97 kB / 1.013 GB, free: 58.08 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.64e-05/0.5924, allocations: 18.19 kB / 1.013 GB, free: 58.07 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.795e-05/0.5925, allocations: 42.39 kB / 1.013 GB, free: 58.04 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.5926, allocations: 111.5 kB / 1.013 GB, free: 58.03 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.5926, allocations: 0 / 1.013 GB, free: 58.03 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5926, allocations: 0 / 1.013 GB, free: 58.03 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.5927, allocations: 0.5312 kB / 1.013 GB, free: 58.03 MB / 0.7136 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.0006006/0.5933, allocations: 489.4 kB / 1.014 GB, free: 57.56 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.5933, allocations: 8.812 kB / 1.014 GB, free: 57.56 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.262e-05/0.5934, allocations: 7.719 kB / 1.014 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.5935, allocations: 186 kB / 1.014 GB, free: 57.35 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.5935, allocations: 3.344 kB / 1.014 GB, free: 57.35 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.5936, allocations: 11.78 kB / 1.014 GB, free: 57.35 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002231/0.5938, allocations: 85.11 kB / 1.014 GB, free: 57.31 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.5938, allocations: 1.5 kB / 1.014 GB, free: 57.31 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.5938, allocations: 4.859 kB / 1.014 GB, free: 57.31 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.5938, allocations: 0.7188 kB / 1.014 GB, free: 57.31 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001648/0.594, allocations: 55.56 kB / 1.014 GB, free: 57.31 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005471/0.5946, allocations: 339.9 kB / 1.014 GB, free: 57.04 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002078/0.5948, allocations: 82.67 kB / 1.015 GB, free: 57.01 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.535e-05/0.5949, allocations: 47.12 kB / 1.015 GB, free: 57 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.5949, allocations: 1.328 kB / 1.015 GB, free: 57 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002177/0.5951, allocations: 106.6 kB / 1.015 GB, free: 56.95 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.754e-06/0.5952, allocations: 5.781 kB / 1.015 GB, free: 56.95 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0003992/0.5956, allocations: 175.3 kB / 1.015 GB, free: 56.91 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.5956, allocations: 59.58 kB / 1.015 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.342e-05/0.5957, allocations: 132.8 kB / 1.015 GB, free: 56.75 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.5957, allocations: 29.52 kB / 1.015 GB, free: 56.71 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.448e-05/0.5958, allocations: 96.48 kB / 1.015 GB, free: 56.63 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.5958, allocations: 28.16 kB / 1.015 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-06/0.5958, allocations: 0.75 kB / 1.015 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.109e-05/0.5959, allocations: 325.4 kB / 1.016 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.306e-05/0.596, allocations: 31.5 kB / 1.016 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.624e-05/0.5961, allocations: 75.62 kB / 1.016 GB, free: 56.25 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.5962, allocations: 107.8 kB / 1.016 GB, free: 56.2 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.5962, allocations: 2.094 kB / 1.016 GB, free: 56.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000218/0.5965, allocations: 150.6 kB / 1.016 GB, free: 56.15 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.5965, allocations: 5.312 kB / 1.016 GB, free: 56.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.5965, allocations: 4.5 kB / 1.016 GB, free: 56.15 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.5965, allocations: 1.125 kB / 1.016 GB, free: 56.15 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.5966, allocations: 20.5 kB / 1.016 GB, free: 56.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.5966, allocations: 4.531 kB / 1.016 GB, free: 56.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.305e-05/0.5967, allocations: 15.92 kB / 1.016 GB, free: 56.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.5968, allocations: 7.844 kB / 1.016 GB, free: 56.14 MB / 0.7136 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.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked 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 8.121e-05/0.5968, allocations: 127.9 kB / 1.016 GB, free: 56.03 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.548e-05/0.5969, allocations: 7.75 kB / 1.016 GB, free: 56.02 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003206/0.5972, allocations: 166 kB / 1.016 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.5972, allocations: 6.078 kB / 1.016 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5972, allocations: 4.031 kB / 1.016 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.5972, allocations: 4.5 kB / 1.016 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005162/0.5977, allocations: 462.5 kB / 1.017 GB, free: 55.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.5978, allocations: 0 / 1.017 GB, free: 55.67 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.812e-05/0.5978, allocations: 12.44 kB / 1.017 GB, free: 55.67 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.5978, allocations: 3.719 kB / 1.017 GB, free: 55.67 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.5979, allocations: 3.375 kB / 1.017 GB, free: 55.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.5979, allocations: 4.875 kB / 1.017 GB, free: 55.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5979, allocations: 3.938 kB / 1.017 GB, free: 55.66 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002962/0.5982, allocations: 244.5 kB / 1.017 GB, free: 55.53 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.134e-05/0.5982, allocations: 87.95 kB / 1.017 GB, free: 55.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/0.5983, allocations: 6.438 kB / 1.017 GB, free: 55.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.5984, allocations: 15.77 kB / 1.017 GB, free: 55.43 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.5984, allocations: 14.78 kB / 1.017 GB, free: 55.42 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.5985, allocations: 3.75 kB / 1.017 GB, free: 55.42 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.206e-05/0.5985, allocations: 99.89 kB / 1.017 GB, free: 55.35 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5985, allocations: 0.75 kB / 1.017 GB, free: 55.35 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002939/0.5988, allocations: 48.28 kB / 1.017 GB, free: 55.34 MB / 0.7136 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.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * 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.0003466/0.5992, allocations: 176.9 kB / 1.017 GB, free: 55.25 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002435/0.5994, allocations: 102.1 kB / 1.017 GB, free: 55.24 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.5994, allocations: 0.5625 kB / 1.017 GB, free: 55.24 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.5995, allocations: 59.16 kB / 1.017 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.5998, allocations: 19.19 kB / 1.018 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004374/0.6003, allocations: 244.9 kB / 1.018 GB, free: 55.07 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001385/0.6004, allocations: 0.6979 MB / 1.018 GB, free: 54.38 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.404e-05/0.6005, allocations: 16.83 kB / 1.018 GB, free: 54.37 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.32e-05/0.6005, allocations: 12.78 kB / 1.018 GB, free: 54.37 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/0.6005, allocations: 288 / 1.018 GB, free: 54.37 MB / 0.7136 GB Notification: Performance of Templates: time 0.004268/0.6048, allocations: 1.774 MB / 1.02 GB, free: 54.26 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1)