Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.874/1.874, 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.001167/0.001167, allocations: 171.5 kB / 393.1 MB, free: 4.051 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.488/1.488, 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.0007685/0.0007685, allocations: 94.5 kB / 0.7935 GB, free: 40.09 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003706/0.0003706, allocations: 10.09 kB / 0.9224 GB, free: 8.617 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6241/0.6245, allocations: 121.3 MB / 1.041 GB, free: 58.78 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002148/0.6267, allocations: 1.228 MB / 1.042 GB, free: 57.95 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001635/0.6284, allocations: 1.02 MB / 1.043 GB, free: 57.1 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.018e-05/0.6285, allocations: 1.625 kB / 1.043 GB, free: 57.1 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.312e-05/0.6285, allocations: 3.938 kB / 1.043 GB, free: 57.1 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001216/0.6286, allocations: 12.09 kB / 1.043 GB, free: 57.09 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005407/0.6292, allocations: 104.5 kB / 1.043 GB, free: 57.04 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.6293, allocations: 87.81 kB / 1.043 GB, free: 57 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.6295, allocations: 12.36 kB / 1.043 GB, free: 56.99 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.6296, allocations: 37.77 kB / 1.043 GB, free: 56.98 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.484e-05/0.6297, allocations: 44.75 kB / 1.043 GB, free: 56.96 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.6297, allocations: 1.188 kB / 1.043 GB, free: 56.96 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001973/0.6299, allocations: 86 kB / 1.043 GB, free: 56.93 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.074e-05/0.63, allocations: 12.34 kB / 1.043 GB, free: 56.93 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.477e-05/0.6301, allocations: 61.22 kB / 1.044 GB, free: 56.88 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002577/0.6303, allocations: 145.2 kB / 1.044 GB, free: 56.84 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.6303, allocations: 0 / 1.044 GB, free: 56.84 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.925e-06/0.6304, allocations: 3.719 kB / 1.044 GB, free: 56.84 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.6304, allocations: 1.406 kB / 1.044 GB, free: 56.84 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.0007955/0.6312, allocations: 467.7 kB / 1.044 GB, free: 56.38 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.6312, allocations: 9.219 kB / 1.044 GB, free: 56.38 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.62e-05/0.6313, allocations: 10.59 kB / 1.044 GB, free: 56.38 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.6314, allocations: 182.2 kB / 1.044 GB, free: 56.17 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.162e-05/0.6315, allocations: 39.92 kB / 1.044 GB, free: 56.13 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.6315, allocations: 2.406 kB / 1.044 GB, free: 56.13 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000224/0.6318, allocations: 89.67 kB / 1.044 GB, free: 56.08 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.6318, allocations: 0 / 1.044 GB, free: 56.08 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.6318, allocations: 0 / 1.044 GB, free: 56.08 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.6318, allocations: 2.312 kB / 1.044 GB, free: 56.08 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/0.632, allocations: 51.44 kB / 1.044 GB, free: 56.07 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005037/0.6325, allocations: 327.9 kB / 1.045 GB, free: 55.77 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/0.6328, allocations: 69.16 kB / 1.045 GB, free: 55.74 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.6329, allocations: 40.34 kB / 1.045 GB, free: 55.72 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.6329, allocations: 2.312 kB / 1.045 GB, free: 55.72 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002622/0.6332, allocations: 101.1 kB / 1.045 GB, free: 55.66 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.362e-06/0.6332, allocations: 4.625 kB / 1.045 GB, free: 55.65 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0005182/0.6337, allocations: 167 kB / 1.045 GB, free: 55.59 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.6338, allocations: 59.19 kB / 1.045 GB, free: 55.52 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.905e-05/0.6339, allocations: 135.9 kB / 1.045 GB, free: 55.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.6339, allocations: 34.84 kB / 1.045 GB, free: 55.37 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.181e-05/0.6339, allocations: 97.3 kB / 1.045 GB, free: 55.27 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.634, allocations: 26.09 kB / 1.045 GB, free: 55.25 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-06/0.634, allocations: 0 / 1.045 GB, free: 55.25 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.527e-05/0.6341, allocations: 324.3 kB / 1.046 GB, free: 54.93 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.6342, allocations: 31.62 kB / 1.046 GB, free: 54.92 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.6343, allocations: 82.69 kB / 1.046 GB, free: 54.86 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002143/0.6345, allocations: 109.8 kB / 1.046 GB, free: 54.78 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.6345, allocations: 0 / 1.046 GB, free: 54.78 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000278/0.6348, allocations: 144.7 kB / 1.046 GB, free: 54.71 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.6348, allocations: 8.594 kB / 1.046 GB, free: 54.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.6349, allocations: 0 / 1.046 GB, free: 54.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.6349, allocations: 7.188 kB / 1.046 GB, free: 54.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.635, allocations: 21.34 kB / 1.046 GB, free: 54.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.635, allocations: 4.906 kB / 1.046 GB, free: 54.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.6351, allocations: 17.81 kB / 1.046 GB, free: 54.69 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.6352, allocations: 12.38 kB / 1.046 GB, free: 54.69 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.96e-05/0.6352, allocations: 122.8 kB / 1.046 GB, free: 54.56 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.809e-05/0.6353, allocations: 8.875 kB / 1.046 GB, free: 54.56 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.421e-05/0.6353, allocations: 18.72 kB / 1.046 GB, free: 54.55 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.6353, allocations: 0 / 1.046 GB, free: 54.55 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.6353, allocations: 3.719 kB / 1.046 GB, free: 54.55 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.6353, allocations: 0 / 1.046 GB, free: 54.55 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005614/0.6359, allocations: 434.7 kB / 1.047 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.6359, allocations: 2.906 kB / 1.047 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.41e-05/0.636, allocations: 17.3 kB / 1.047 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.636, allocations: 0 / 1.047 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.636, allocations: 0.9844 kB / 1.047 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.636, allocations: 3.938 kB / 1.047 GB, free: 54.19 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.636, allocations: 1.922 kB / 1.047 GB, free: 54.19 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002973/0.6363, allocations: 231 kB / 1.047 GB, free: 54.03 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.807e-05/0.6364, allocations: 85.09 kB / 1.047 GB, free: 53.93 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.6364, allocations: 1.906 kB / 1.047 GB, free: 53.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.6365, allocations: 18.67 kB / 1.047 GB, free: 53.93 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.382e-05/0.6366, allocations: 18.31 kB / 1.047 GB, free: 53.92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.6366, allocations: 1.734 kB / 1.047 GB, free: 53.92 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.202e-05/0.6367, allocations: 113.5 kB / 1.047 GB, free: 53.82 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6367, allocations: 0 / 1.047 GB, free: 53.82 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003023/0.637, allocations: 46.05 kB / 1.047 GB, free: 53.81 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.0003491/0.6373, allocations: 170.6 kB / 1.047 GB, free: 53.71 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003096/0.6377, allocations: 98.08 kB / 1.048 GB, free: 53.68 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6377, allocations: 0 / 1.048 GB, free: 53.68 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.6378, allocations: 48.09 kB / 1.048 GB, free: 53.67 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.6381, allocations: 19.08 kB / 1.048 GB, free: 53.66 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004574/0.6386, allocations: 233.3 kB / 1.048 GB, free: 53.49 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.6387, allocations: 0.6958 MB / 1.049 GB, free: 52.79 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.959e-05/0.6388, allocations: 8.688 kB / 1.049 GB, free: 52.79 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.193e-05/0.6388, allocations: 11.81 kB / 1.049 GB, free: 52.79 MB / 0.698 GB Notification: Performance of SimCode: time 4e-07/0.6388, allocations: 0 / 1.049 GB, free: 52.79 MB / 0.698 GB Notification: Performance of Templates: time 0.004238/0.6431, allocations: 1.657 MB / 1.05 GB, free: 52.63 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)