Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.369/1.369, allocations: 255.9 MB / 271.2 MB, free: 8.887 MB / 218.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.0009472/0.0009469, allocations: 186.2 kB / 330.8 MB, free: 460 kB / 250.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.556/1.556, allocations: 225.7 MB / 0.6016 GB, free: 1.504 MB / 426.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.000809/0.000809, allocations: 107.2 kB / 0.709 GB, free: 6.957 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003589/0.0003592, allocations: 8 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.1953, allocations: 109.2 MB / 0.9328 GB, free: 6.25 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.001485/0.1968, allocations: 1.228 MB / 0.934 GB, free: 5.012 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.001179/0.198, allocations: 1.019 MB / 0.9349 GB, free: 3.914 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.863e-05/0.1981, allocations: 4 kB / 0.9349 GB, free: 3.91 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 2.028e-05/0.1982, allocations: 3.938 kB / 0.935 GB, free: 3.906 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 9.83e-05/0.1983, allocations: 7.922 kB / 0.935 GB, free: 3.898 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005807/0.1988, allocations: 111.8 kB / 0.9351 GB, free: 3.789 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.199, allocations: 79.66 kB / 0.9351 GB, free: 3.711 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 8.928e-05/0.1991, allocations: 19.98 kB / 0.9352 GB, free: 3.691 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 9.896e-05/0.1992, allocations: 31.91 kB / 0.9352 GB, free: 3.66 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.75e-05/0.1993, allocations: 39.83 kB / 0.9352 GB, free: 3.621 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.1993, allocations: 4 kB / 0.9352 GB, free: 3.617 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001798/0.1995, allocations: 87.8 kB / 0.9353 GB, free: 3.531 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 2.638e-05/0.1995, allocations: 19.91 kB / 0.9353 GB, free: 3.512 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 6.011e-05/0.1996, allocations: 65.48 kB / 0.9354 GB, free: 3.441 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.1998, allocations: 139.9 kB / 0.9355 GB, free: 3.305 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1998, allocations: 4 kB / 0.9355 GB, free: 3.301 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1998, allocations: 0 / 0.9355 GB, free: 3.301 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.1998, allocations: 0 / 0.9355 GB, free: 3.301 MB / 0.573 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.0006424/0.2005, allocations: 458.6 kB / 0.936 GB, free: 2.793 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.2005, allocations: 15.98 kB / 0.936 GB, free: 2.777 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.75e-05/0.2006, allocations: 16.78 kB / 0.936 GB, free: 2.762 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.2007, allocations: 184.2 kB / 0.9362 GB, free: 2.543 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.056e-05/0.2008, allocations: 30.27 kB / 0.9362 GB, free: 2.508 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.2008, allocations: 8.375 kB / 0.9362 GB, free: 2.5 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.201, allocations: 77.77 kB / 0.9363 GB, free: 2.418 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.201, allocations: 0 / 0.9363 GB, free: 2.418 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.201, allocations: 4 kB / 0.9363 GB, free: 2.414 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.201, allocations: 8 kB / 0.9363 GB, free: 2.406 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001785/0.2012, allocations: 51.89 kB / 0.9364 GB, free: 2.355 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004671/0.2017, allocations: 328.7 kB / 0.9367 GB, free: 1.984 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/0.2019, allocations: 74.53 kB / 0.9367 GB, free: 1.902 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.202, allocations: 40.92 kB / 0.9368 GB, free: 1.859 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.202, allocations: 3.938 kB / 0.9368 GB, free: 1.855 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002234/0.2023, allocations: 95.36 kB / 0.9369 GB, free: 1.75 MB / 0.573 GB Notification: Performance of pre-optimization done (n=10): time 2.024e-06/0.2023, allocations: 0 / 0.9369 GB, free: 1.75 MB / 0.573 GB Notification: Performance of matching and sorting (n=10): time 0.0004476/0.2027, allocations: 173.7 kB / 0.937 GB, free: 1.574 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.2028, allocations: 63.5 kB / 0.9371 GB, free: 1.5 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.161e-05/0.2028, allocations: 130 kB / 0.9372 GB, free: 1.359 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.2029, allocations: 29.7 kB / 0.9372 GB, free: 1.324 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 3.861e-05/0.2029, allocations: 96.28 kB / 0.9373 GB, free: 1.223 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.2029, allocations: 27.64 kB / 0.9374 GB, free: 1.195 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-06/0.2029, allocations: 0 / 0.9374 GB, free: 1.195 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 4.85e-05/0.203, allocations: 322.8 kB / 0.9377 GB, free: 0.8711 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.955e-05/0.2031, allocations: 35.98 kB / 0.9377 GB, free: 0.8359 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.2032, allocations: 81.06 kB / 0.9378 GB, free: 0.7383 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001986/0.2034, allocations: 105 kB / 0.9379 GB, free: 0.6172 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2034, allocations: 0 / 0.9379 GB, free: 0.6172 MB / 0.573 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002672/0.2037, allocations: 145.5 kB / 0.938 GB, free: 480 kB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.2037, allocations: 11.91 kB / 0.938 GB, free: 468 kB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.2037, allocations: 0 / 0.938 GB, free: 468 kB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.2038, allocations: 4 kB / 0.938 GB, free: 464 kB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.2039, allocations: 19.92 kB / 0.9381 GB, free: 444 kB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.2039, allocations: 0 / 0.9381 GB, free: 444 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.204, allocations: 15.98 kB / 0.9381 GB, free: 428 kB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.204, allocations: 16.05 kB / 0.9381 GB, free: 412 kB / 0.573 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.44e-05/0.2041, allocations: 125.7 kB / 0.9382 GB, free: 280 kB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.575e-05/0.2041, allocations: 11.84 kB / 0.9382 GB, free: 268 kB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.254e-05/0.2042, allocations: 8.719 kB / 0.9382 GB, free: 260 kB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2042, allocations: 4 kB / 0.9382 GB, free: 256 kB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.2042, allocations: 4 kB / 0.9382 GB, free: 252 kB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.2042, allocations: 0 / 0.9382 GB, free: 252 kB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006498/0.2049, allocations: 450.3 kB / 0.9387 GB, free: 15.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2049, allocations: 0 / 0.9387 GB, free: 15.75 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.851e-05/0.205, allocations: 11.98 kB / 0.9387 GB, free: 15.74 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.205, allocations: 0 / 0.9387 GB, free: 15.74 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.205, allocations: 0 / 0.9387 GB, free: 15.74 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.205, allocations: 11.94 kB / 0.9387 GB, free: 15.73 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.205, allocations: 0 / 0.9387 GB, free: 15.73 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003606/0.2054, allocations: 235.4 kB / 0.9389 GB, free: 15.48 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.361e-05/0.2054, allocations: 81.02 kB / 0.939 GB, free: 15.38 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.2055, allocations: 0 / 0.939 GB, free: 15.38 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.2056, allocations: 27.92 kB / 0.939 GB, free: 15.36 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.235e-05/0.2057, allocations: 7.984 kB / 0.939 GB, free: 15.35 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.2057, allocations: 7.984 kB / 0.939 GB, free: 15.34 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.687e-05/0.2058, allocations: 99.27 kB / 0.9391 GB, free: 15.24 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2058, allocations: 0 / 0.9391 GB, free: 15.24 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003096/0.2061, allocations: 43.98 kB / 0.9392 GB, free: 15.2 MB / 0.5886 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 (10): * Single equations (assignments): 7 * 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.0003838/0.2065, allocations: 173.4 kB / 0.9393 GB, free: 15.04 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003016/0.2068, allocations: 87.89 kB / 0.9394 GB, free: 14.95 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2068, allocations: 256 / 0.9394 GB, free: 14.95 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001423/0.2069, allocations: 51.91 kB / 0.9395 GB, free: 14.9 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.2072, allocations: 15.98 kB / 0.9395 GB, free: 14.88 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005228/0.2078, allocations: 240.8 kB / 0.9397 GB, free: 14.62 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.208, allocations: 0.6965 MB / 0.9404 GB, free: 13.9 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.301e-05/0.2081, allocations: 8.672 kB / 0.9404 GB, free: 13.89 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.606e-05/0.2081, allocations: 15.44 kB / 0.9404 GB, free: 13.88 MB / 0.5886 GB Notification: Performance of SimCode: time 2.2e-07/0.2082, allocations: 0 / 0.9404 GB, free: 13.88 MB / 0.5886 GB Notification: Performance of Templates: time 0.004694/0.2129, allocations: 1.657 MB / 0.942 GB, free: 12.22 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)