Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.847/1.847, allocations: 306.1 MB / 321.4 MB, free: 10.75 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.0009277/0.0009279, allocations: 179 kB / 393.1 MB, free: 4.07 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.557/1.557, allocations: 225.7 MB / 0.6743 GB, free: 12.58 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.001111/0.001111, allocations: 96.36 kB / 0.7935 GB, free: 39.96 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003516/0.0003518, allocations: 11.98 kB / 0.9224 GB, free: 8.633 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6339/0.6343, allocations: 121.3 MB / 1.041 GB, free: 58.12 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.001674/0.636, allocations: 1.218 MB / 1.042 GB, free: 57.32 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001277/0.6373, allocations: 1.019 MB / 1.043 GB, free: 56.47 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.157e-05/0.6373, allocations: 3.125 kB / 1.043 GB, free: 56.47 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.708e-05/0.6374, allocations: 3.938 kB / 1.043 GB, free: 56.47 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.6375, allocations: 13.94 kB / 1.043 GB, free: 56.46 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004553/0.638, allocations: 104.2 kB / 1.043 GB, free: 56.41 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.6381, allocations: 83.3 kB / 1.043 GB, free: 56.37 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.576e-05/0.6382, allocations: 9.531 kB / 1.043 GB, free: 56.37 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.704e-05/0.6383, allocations: 32.5 kB / 1.043 GB, free: 56.36 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.65e-05/0.6384, allocations: 35.27 kB / 1.043 GB, free: 56.34 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.6384, allocations: 6.594 kB / 1.043 GB, free: 56.34 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000166/0.6386, allocations: 86.73 kB / 1.043 GB, free: 56.31 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.776e-05/0.6386, allocations: 15.66 kB / 1.043 GB, free: 56.3 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.797e-05/0.6387, allocations: 54.52 kB / 1.043 GB, free: 56.26 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.6389, allocations: 148.1 kB / 1.044 GB, free: 56.21 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.6389, allocations: 0 / 1.044 GB, free: 56.21 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.405e-06/0.6389, allocations: 0.5312 kB / 1.044 GB, free: 56.21 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.639, allocations: 1.406 kB / 1.044 GB, free: 56.21 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.0006544/0.6396, allocations: 450.4 kB / 1.044 GB, free: 55.77 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.6397, allocations: 9.688 kB / 1.044 GB, free: 55.77 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.621e-05/0.6397, allocations: 8.531 kB / 1.044 GB, free: 55.76 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.6398, allocations: 185.9 kB / 1.044 GB, free: 55.55 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.6399, allocations: 2.781 kB / 1.044 GB, free: 55.55 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.6399, allocations: 7.938 kB / 1.044 GB, free: 55.55 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/0.6401, allocations: 85.2 kB / 1.044 GB, free: 55.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.6401, allocations: 0 / 1.044 GB, free: 55.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.6401, allocations: 0 / 1.044 GB, free: 55.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.6401, allocations: 3.656 kB / 1.044 GB, free: 55.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.6403, allocations: 46.53 kB / 1.044 GB, free: 55.48 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005014/0.6408, allocations: 327.1 kB / 1.045 GB, free: 55.19 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.641, allocations: 67.47 kB / 1.045 GB, free: 55.15 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.847e-05/0.641, allocations: 35.95 kB / 1.045 GB, free: 55.14 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.6411, allocations: 1.469 kB / 1.045 GB, free: 55.14 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002288/0.6413, allocations: 103.7 kB / 1.045 GB, free: 55.07 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.6413, allocations: 0 / 1.045 GB, free: 55.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0004068/0.6417, allocations: 160.9 kB / 1.045 GB, free: 55 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.6418, allocations: 60.98 kB / 1.045 GB, free: 54.93 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.268e-05/0.6419, allocations: 121.2 kB / 1.045 GB, free: 54.82 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.6419, allocations: 32.36 kB / 1.045 GB, free: 54.79 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.665e-05/0.6419, allocations: 97.69 kB / 1.045 GB, free: 54.69 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.292e-05/0.642, allocations: 25.62 kB / 1.045 GB, free: 54.67 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.582e-06/0.642, allocations: 4 kB / 1.045 GB, free: 54.67 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.483e-05/0.642, allocations: 324.9 kB / 1.046 GB, free: 54.35 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.13e-05/0.6421, allocations: 25.47 kB / 1.046 GB, free: 54.34 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.463e-05/0.6422, allocations: 80.84 kB / 1.046 GB, free: 54.28 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.6424, allocations: 107.5 kB / 1.046 GB, free: 54.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.6424, allocations: 0 / 1.046 GB, free: 54.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002157/0.6426, allocations: 129 kB / 1.046 GB, free: 54.14 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.576e-05/0.6427, allocations: 9.344 kB / 1.046 GB, free: 54.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.6427, allocations: 2.656 kB / 1.046 GB, free: 54.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.6427, allocations: 3.938 kB / 1.046 GB, free: 54.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.6428, allocations: 21.98 kB / 1.046 GB, free: 54.13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.6428, allocations: 2.844 kB / 1.046 GB, free: 54.13 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.564e-05/0.6429, allocations: 15.19 kB / 1.046 GB, free: 54.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.6429, allocations: 6.562 kB / 1.046 GB, free: 54.12 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 6.906e-05/0.643, allocations: 126.2 kB / 1.046 GB, free: 54 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.539e-05/0.643, allocations: 11.06 kB / 1.046 GB, free: 53.99 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003034/0.6433, allocations: 154.7 kB / 1.046 GB, free: 53.92 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.6434, allocations: 2.031 kB / 1.046 GB, free: 53.92 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.6434, allocations: 0 / 1.046 GB, free: 53.92 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.6434, allocations: 2.297 kB / 1.046 GB, free: 53.92 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004695/0.6438, allocations: 441.1 kB / 1.047 GB, free: 53.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.6439, allocations: 0 / 1.047 GB, free: 53.56 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.783e-05/0.6439, allocations: 13.48 kB / 1.047 GB, free: 53.56 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.6439, allocations: 0 / 1.047 GB, free: 53.56 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.644, allocations: 5.547 kB / 1.047 GB, free: 53.56 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.644, allocations: 0.9062 kB / 1.047 GB, free: 53.56 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.644, allocations: 3.938 kB / 1.047 GB, free: 53.55 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.6443, allocations: 231.8 kB / 1.047 GB, free: 53.39 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.941e-05/0.6443, allocations: 83.27 kB / 1.047 GB, free: 53.29 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.6443, allocations: 16.08 kB / 1.047 GB, free: 53.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.6444, allocations: 11.84 kB / 1.047 GB, free: 53.29 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.6445, allocations: 8.094 kB / 1.047 GB, free: 53.28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.6445, allocations: 4.391 kB / 1.047 GB, free: 53.28 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.351e-05/0.6446, allocations: 102.6 kB / 1.047 GB, free: 53.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6446, allocations: 0.5938 kB / 1.047 GB, free: 53.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002969/0.6449, allocations: 42.81 kB / 1.047 GB, free: 53.19 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.0003625/0.6452, allocations: 184.9 kB / 1.047 GB, free: 53.07 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002278/0.6455, allocations: 90.23 kB / 1.048 GB, free: 53.04 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.6455, allocations: 0 / 1.048 GB, free: 53.04 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.6456, allocations: 49.53 kB / 1.048 GB, free: 53.03 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.6459, allocations: 14.94 kB / 1.048 GB, free: 53.02 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004153/0.6463, allocations: 241.5 kB / 1.048 GB, free: 52.84 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001364/0.6464, allocations: 0.6948 MB / 1.049 GB, free: 52.14 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.857e-05/0.6465, allocations: 16.97 kB / 1.049 GB, free: 52.14 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.212e-05/0.6465, allocations: 10.81 kB / 1.049 GB, free: 52.13 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.6465, allocations: 0 / 1.049 GB, free: 52.13 MB / 0.698 GB Notification: Performance of Templates: time 0.004237/0.6508, allocations: 1.661 MB / 1.05 GB, free: 51.98 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1)