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.Hunt1979Light.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.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.835/1.835, 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.001049/0.001049, allocations: 193.5 kB / 375.4 MB, free: 5.121 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.522/1.522, allocations: 225.7 MB / 0.6538 GB, free: 13.61 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.0008517/0.0008521, allocations: 104.1 kB / 0.7699 GB, free: 50.11 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003954/0.0003954, allocations: 8 kB / 0.8956 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5924/0.5928, allocations: 118.1 MB / 1.011 GB, free: 56.99 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.001484/0.5943, allocations: 1.223 MB / 1.012 GB, free: 56.95 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001047/0.5954, allocations: 0.7026 MB / 1.013 GB, free: 56.88 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.845e-05/0.5954, allocations: 4.062 kB / 1.013 GB, free: 56.88 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.647e-05/0.5954, allocations: 0.5156 kB / 1.013 GB, free: 56.88 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.5955, allocations: 16.31 kB / 1.013 GB, free: 56.87 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000399/0.5959, allocations: 96.75 kB / 1.013 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.629e-05/0.5961, allocations: 77.56 kB / 1.013 GB, free: 56.84 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.335e-05/0.5961, allocations: 15.83 kB / 1.013 GB, free: 56.84 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.163e-05/0.5962, allocations: 42.03 kB / 1.013 GB, free: 56.83 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.845e-05/0.5963, allocations: 29.34 kB / 1.013 GB, free: 56.82 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.5963, allocations: 6.844 kB / 1.013 GB, free: 56.82 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/0.5965, allocations: 83.52 kB / 1.013 GB, free: 56.82 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.804e-05/0.5965, allocations: 20.41 kB / 1.013 GB, free: 56.81 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.668e-05/0.5966, allocations: 35.98 kB / 1.013 GB, free: 56.78 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.5967, allocations: 106.1 kB / 1.013 GB, free: 56.77 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.5967, allocations: 0 / 1.013 GB, free: 56.77 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5967, allocations: 5.719 kB / 1.013 GB, free: 56.77 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.5967, allocations: 1.469 kB / 1.013 GB, free: 56.77 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006378/0.5974, allocations: 465.7 kB / 1.014 GB, free: 56.33 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.5974, allocations: 9.531 kB / 1.014 GB, free: 56.33 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.158e-05/0.5975, allocations: 11.94 kB / 1.014 GB, free: 56.32 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.896e-05/0.5976, allocations: 179.2 kB / 1.014 GB, free: 56.12 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.086e-05/0.5976, allocations: 33.92 kB / 1.014 GB, free: 56.09 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.5977, allocations: 8.594 kB / 1.014 GB, free: 56.09 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.5979, allocations: 88.25 kB / 1.014 GB, free: 56.05 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.5979, allocations: 0 / 1.014 GB, free: 56.05 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.5979, allocations: 1.75 kB / 1.014 GB, free: 56.05 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.5979, allocations: 2.75 kB / 1.014 GB, free: 56.05 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001795/0.5981, allocations: 51.53 kB / 1.014 GB, free: 56.05 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004329/0.5985, allocations: 325.4 kB / 1.014 GB, free: 55.78 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.5987, allocations: 75.98 kB / 1.014 GB, free: 55.75 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.634e-05/0.5988, allocations: 43.55 kB / 1.015 GB, free: 55.75 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.5989, allocations: 0 / 1.015 GB, free: 55.75 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002259/0.5991, allocations: 100.3 kB / 1.015 GB, free: 55.7 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.693e-06/0.5991, allocations: 0.625 kB / 1.015 GB, free: 55.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0004289/0.5995, allocations: 172.3 kB / 1.015 GB, free: 55.66 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.5996, allocations: 60.66 kB / 1.015 GB, free: 55.6 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.008e-05/0.5997, allocations: 137 kB / 1.015 GB, free: 55.49 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.5997, allocations: 28.39 kB / 1.015 GB, free: 55.46 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.733e-05/0.5997, allocations: 98.12 kB / 1.015 GB, free: 55.37 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.5998, allocations: 21.72 kB / 1.015 GB, free: 55.36 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.593e-06/0.5998, allocations: 7.75 kB / 1.015 GB, free: 55.35 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.988e-05/0.5998, allocations: 324.6 kB / 1.015 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.713e-05/0.5999, allocations: 33.47 kB / 1.015 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.6, allocations: 80.7 kB / 1.016 GB, free: 54.98 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.6002, allocations: 106.7 kB / 1.016 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.6003, allocations: 0 / 1.016 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002572/0.6005, allocations: 137.1 kB / 1.016 GB, free: 54.89 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.6005, allocations: 9.172 kB / 1.016 GB, free: 54.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.6006, allocations: 2.062 kB / 1.016 GB, free: 54.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.6006, allocations: 2.75 kB / 1.016 GB, free: 54.89 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.6007, allocations: 22.98 kB / 1.016 GB, free: 54.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.6007, allocations: 1.844 kB / 1.016 GB, free: 54.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.6008, allocations: 23.91 kB / 1.016 GB, free: 54.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.6008, allocations: 6.438 kB / 1.016 GB, free: 54.88 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,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.296e-05/0.6009, allocations: 133.6 kB / 1.016 GB, free: 54.76 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.476e-05/0.6009, allocations: 10.94 kB / 1.016 GB, free: 54.75 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.869e-05/0.601, allocations: 11.84 kB / 1.016 GB, free: 54.75 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.601, allocations: 2.312 kB / 1.016 GB, free: 54.75 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.601, allocations: 1.219 kB / 1.016 GB, free: 54.75 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.601, allocations: 0 / 1.016 GB, free: 54.75 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004819/0.6015, allocations: 435.4 kB / 1.016 GB, free: 54.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.6015, allocations: 4.438 kB / 1.016 GB, free: 54.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.845e-05/0.6015, allocations: 7.922 kB / 1.016 GB, free: 54.45 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.6016, allocations: 1.312 kB / 1.016 GB, free: 54.45 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.6016, allocations: 11.5 kB / 1.016 GB, free: 54.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.6016, allocations: 5.719 kB / 1.016 GB, free: 54.44 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.6016, allocations: 0 / 1.016 GB, free: 54.44 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002782/0.6019, allocations: 231.3 kB / 1.017 GB, free: 54.3 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.496e-05/0.6019, allocations: 83.7 kB / 1.017 GB, free: 54.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.6019, allocations: 4.594 kB / 1.017 GB, free: 54.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.6021, allocations: 19.44 kB / 1.017 GB, free: 54.2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.813e-05/0.6021, allocations: 9.844 kB / 1.017 GB, free: 54.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.6021, allocations: 6.219 kB / 1.017 GB, free: 54.2 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.016e-05/0.6022, allocations: 107.1 kB / 1.017 GB, free: 54.12 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.01e-07/0.6022, allocations: 0 / 1.017 GB, free: 54.12 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002792/0.6025, allocations: 52.45 kB / 1.017 GB, free: 54.11 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 (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 (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.0002894/0.6028, allocations: 166.7 kB / 1.017 GB, free: 54.03 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002846/0.6031, allocations: 91.36 kB / 1.017 GB, free: 54.02 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6031, allocations: 0 / 1.017 GB, free: 54.02 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.6032, allocations: 54.62 kB / 1.017 GB, free: 54.02 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.6035, allocations: 15.72 kB / 1.017 GB, free: 54.02 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004035/0.6039, allocations: 232 kB / 1.017 GB, free: 53.87 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.604, allocations: 0.6982 MB / 1.018 GB, free: 53.17 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.674e-05/0.6041, allocations: 11.09 kB / 1.018 GB, free: 53.17 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.795e-05/0.6041, allocations: 10.84 kB / 1.018 GB, free: 53.16 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.6041, allocations: 4.75 kB / 1.018 GB, free: 53.16 MB / 0.7136 GB Notification: Performance of Templates: time 0.003782/0.6079, allocations: 1.615 MB / 1.02 GB, free: 53.07 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)