Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.658/1.658, allocations: 297.4 MB / 312.6 MB, free: 2.93 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.001216/0.001216, allocations: 186 kB / 382.3 MB, free: 14.81 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.618/1.618, allocations: 225.7 MB / 0.6617 GB, free: 7.242 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.0007602/0.0007599, allocations: 98.56 kB / 0.7789 GB, free: 46.56 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003564/0.0003567, allocations: 9.031 kB / 0.9058 GB, free: 4.949 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6178/0.6182, allocations: 119.2 MB / 1.022 GB, free: 57 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.001715/0.62, allocations: 1.222 MB / 1.023 GB, free: 56.41 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001271/0.6212, allocations: 1.029 MB / 1.024 GB, free: 55.68 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.008e-05/0.6213, allocations: 1.188 kB / 1.024 GB, free: 55.68 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.909e-05/0.6213, allocations: 3.375 kB / 1.024 GB, free: 55.68 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.6214, allocations: 17.2 kB / 1.024 GB, free: 55.67 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004342/0.6219, allocations: 102.6 kB / 1.025 GB, free: 55.63 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.622, allocations: 87.72 kB / 1.025 GB, free: 55.59 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.228e-05/0.6221, allocations: 14.7 kB / 1.025 GB, free: 55.59 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.977e-05/0.6222, allocations: 34.06 kB / 1.025 GB, free: 55.57 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.031e-05/0.6223, allocations: 40.09 kB / 1.025 GB, free: 55.56 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.6223, allocations: 4.062 kB / 1.025 GB, free: 55.56 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001672/0.6225, allocations: 79.5 kB / 1.025 GB, free: 55.54 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.021e-05/0.6225, allocations: 23.66 kB / 1.025 GB, free: 55.53 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.69e-05/0.6226, allocations: 67.89 kB / 1.025 GB, free: 55.48 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002174/0.6228, allocations: 137.2 kB / 1.025 GB, free: 55.45 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.6228, allocations: 2.031 kB / 1.025 GB, free: 55.45 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6228, allocations: 0 / 1.025 GB, free: 55.45 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.6228, allocations: 0 / 1.025 GB, free: 55.45 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.0006982/0.6235, allocations: 470.4 kB / 1.025 GB, free: 54.99 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.6236, allocations: 9.5 kB / 1.026 GB, free: 54.99 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.637e-05/0.6236, allocations: 11.97 kB / 1.026 GB, free: 54.99 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.6238, allocations: 181.2 kB / 1.026 GB, free: 54.78 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.738e-05/0.6238, allocations: 39.06 kB / 1.026 GB, free: 54.75 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.6239, allocations: 4.219 kB / 1.026 GB, free: 54.75 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.6241, allocations: 87.55 kB / 1.026 GB, free: 54.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.6241, allocations: 2.438 kB / 1.026 GB, free: 54.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.6241, allocations: 1.969 kB / 1.026 GB, free: 54.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.6241, allocations: 0 / 1.026 GB, free: 54.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002021/0.6243, allocations: 52.25 kB / 1.026 GB, free: 54.68 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004634/0.6248, allocations: 324.5 kB / 1.026 GB, free: 54.39 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.625, allocations: 73.09 kB / 1.026 GB, free: 54.35 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.6251, allocations: 43.66 kB / 1.026 GB, free: 54.33 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.6251, allocations: 1.188 kB / 1.026 GB, free: 54.33 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002385/0.6254, allocations: 106 kB / 1.026 GB, free: 54.27 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.432e-06/0.6254, allocations: 0 / 1.026 GB, free: 54.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0004512/0.6258, allocations: 176.7 kB / 1.027 GB, free: 54.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.6259, allocations: 55.95 kB / 1.027 GB, free: 54.13 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.887e-05/0.626, allocations: 139.2 kB / 1.027 GB, free: 54.01 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.626, allocations: 33.39 kB / 1.027 GB, free: 53.98 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.353e-05/0.626, allocations: 88.98 kB / 1.027 GB, free: 53.89 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/0.6261, allocations: 24.56 kB / 1.027 GB, free: 53.87 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-06/0.6261, allocations: 4 kB / 1.027 GB, free: 53.87 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.887e-05/0.6261, allocations: 323.1 kB / 1.027 GB, free: 53.55 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.6262, allocations: 34.59 kB / 1.027 GB, free: 53.54 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.6264, allocations: 68.28 kB / 1.027 GB, free: 53.48 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/0.6266, allocations: 112.1 kB / 1.027 GB, free: 53.41 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.6266, allocations: 5.5 kB / 1.027 GB, free: 53.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002616/0.6268, allocations: 138.5 kB / 1.028 GB, free: 53.34 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.6269, allocations: 7.688 kB / 1.028 GB, free: 53.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.6269, allocations: 2.859 kB / 1.028 GB, free: 53.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.6269, allocations: 7.984 kB / 1.028 GB, free: 53.33 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.627, allocations: 24.56 kB / 1.028 GB, free: 53.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.627, allocations: 1.609 kB / 1.028 GB, free: 53.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.6271, allocations: 20.7 kB / 1.028 GB, free: 53.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.6272, allocations: 2.859 kB / 1.028 GB, free: 53.32 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.512e-05/0.6272, allocations: 133.1 kB / 1.028 GB, free: 53.19 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.665e-05/0.6273, allocations: 12.94 kB / 1.028 GB, free: 53.18 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.042e-05/0.6273, allocations: 14.08 kB / 1.028 GB, free: 53.17 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.6273, allocations: 3.5 kB / 1.028 GB, free: 53.17 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.6273, allocations: 0.6094 kB / 1.028 GB, free: 53.17 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.6273, allocations: 0.6562 kB / 1.028 GB, free: 53.17 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005307/0.6279, allocations: 432.3 kB / 1.028 GB, free: 52.83 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.6279, allocations: 480 / 1.028 GB, free: 52.83 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.492e-05/0.628, allocations: 11.03 kB / 1.028 GB, free: 52.83 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.628, allocations: 1.188 kB / 1.028 GB, free: 52.83 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.628, allocations: 10.69 kB / 1.028 GB, free: 52.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.628, allocations: 4.734 kB / 1.028 GB, free: 52.82 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.628, allocations: 5.438 kB / 1.028 GB, free: 52.81 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002986/0.6283, allocations: 231.5 kB / 1.028 GB, free: 52.65 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.395e-05/0.6283, allocations: 87.95 kB / 1.029 GB, free: 52.55 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.6284, allocations: 0 / 1.029 GB, free: 52.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.6285, allocations: 15.44 kB / 1.029 GB, free: 52.55 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.003e-05/0.6285, allocations: 14.53 kB / 1.029 GB, free: 52.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.6286, allocations: 5.281 kB / 1.029 GB, free: 52.54 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.56e-05/0.6286, allocations: 107.7 kB / 1.029 GB, free: 52.46 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6286, allocations: 0 / 1.029 GB, free: 52.46 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002844/0.6289, allocations: 43.28 kB / 1.029 GB, free: 52.45 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 (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.0003411/0.6293, allocations: 173.1 kB / 1.029 GB, free: 52.35 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002833/0.6296, allocations: 104.1 kB / 1.029 GB, free: 52.32 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6296, allocations: 0 / 1.029 GB, free: 52.32 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.6297, allocations: 47.22 kB / 1.029 GB, free: 52.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.63, allocations: 15.27 kB / 1.029 GB, free: 52.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004192/0.6304, allocations: 240 kB / 1.029 GB, free: 52.12 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000134/0.6305, allocations: 0.6968 MB / 1.03 GB, free: 51.43 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.562e-05/0.6306, allocations: 9.797 kB / 1.03 GB, free: 51.43 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.251e-05/0.6306, allocations: 11.56 kB / 1.03 GB, free: 51.42 MB / 0.698 GB Notification: Performance of SimCode: time 1.91e-07/0.6306, allocations: 1.344 kB / 1.03 GB, free: 51.42 MB / 0.698 GB Notification: Performance of Templates: time 0.004184/0.6348, allocations: 1.65 MB / 1.032 GB, free: 51.28 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)