Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.312/2.312, allocations: 254.9 MB / 269.9 MB, free: 9.637 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.001305/0.001305, allocations: 185.4 kB / 329.5 MB, free: 1.16 MB / 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 2.545/2.545, allocations: 225.6 MB / 0.6001 GB, free: 484 kB / 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.0009925/0.0009924, allocations: 106 kB / 0.7074 GB, free: 6.207 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004834/0.0004835, allocations: 10.78 kB / 0.8242 GB, free: 125 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2765, allocations: 109.1 MB / 0.9308 GB, free: 24.9 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.001805/0.2783, allocations: 1.22 MB / 0.9319 GB, free: 23.67 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001441/0.2798, allocations: 0.7055 MB / 0.9326 GB, free: 22.96 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.87e-05/0.2799, allocations: 0 / 0.9326 GB, free: 22.96 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.015e-05/0.2799, allocations: 0 / 0.9326 GB, free: 22.96 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001137/0.2801, allocations: 19.84 kB / 0.9327 GB, free: 22.94 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005053/0.2806, allocations: 95.77 kB / 0.9327 GB, free: 22.84 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.2807, allocations: 83.7 kB / 0.9328 GB, free: 22.76 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.778e-05/0.2808, allocations: 15.98 kB / 0.9328 GB, free: 22.75 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.2809, allocations: 35.84 kB / 0.9329 GB, free: 22.71 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.281, allocations: 31.89 kB / 0.9329 GB, free: 22.68 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.2811, allocations: 7.938 kB / 0.9329 GB, free: 22.67 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002119/0.2813, allocations: 87.91 kB / 0.933 GB, free: 22.59 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.656e-05/0.2813, allocations: 15.92 kB / 0.933 GB, free: 22.57 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.284e-05/0.2814, allocations: 33.7 kB / 0.933 GB, free: 22.53 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.2816, allocations: 112 kB / 0.9332 GB, free: 22.42 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.2816, allocations: 4 kB / 0.9332 GB, free: 22.42 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2816, allocations: 3.938 kB / 0.9332 GB, free: 22.41 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.2816, allocations: 4 kB / 0.9332 GB, free: 22.41 MB / 0.5886 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.0008263/0.2825, allocations: 462.6 kB / 0.9336 GB, free: 21.9 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.2825, allocations: 8.031 kB / 0.9336 GB, free: 21.89 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.893e-05/0.2826, allocations: 8.844 kB / 0.9336 GB, free: 21.88 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.2827, allocations: 184.2 kB / 0.9338 GB, free: 21.66 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.665e-05/0.2828, allocations: 38.25 kB / 0.9338 GB, free: 21.62 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.759e-05/0.2828, allocations: 8.375 kB / 0.9338 GB, free: 21.61 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002738/0.2831, allocations: 81.7 kB / 0.9339 GB, free: 21.53 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.2831, allocations: 0 / 0.9339 GB, free: 21.53 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.2832, allocations: 4 kB / 0.9339 GB, free: 21.52 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.2832, allocations: 0 / 0.9339 GB, free: 21.52 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003047/0.2835, allocations: 55.95 kB / 0.934 GB, free: 21.47 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006101/0.2841, allocations: 316.8 kB / 0.9343 GB, free: 21.11 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003022/0.2844, allocations: 86.55 kB / 0.9344 GB, free: 21.02 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001734/0.2846, allocations: 32.84 kB / 0.9344 GB, free: 20.98 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.181e-05/0.2847, allocations: 7.938 kB / 0.9344 GB, free: 20.97 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003154/0.285, allocations: 99.34 kB / 0.9345 GB, free: 20.86 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 2.204e-06/0.285, allocations: 0 / 0.9345 GB, free: 20.86 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.0007017/0.2857, allocations: 169.5 kB / 0.9347 GB, free: 20.69 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.2858, allocations: 55.39 kB / 0.9347 GB, free: 20.62 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.2859, allocations: 130 kB / 0.9348 GB, free: 20.48 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.2859, allocations: 37.69 kB / 0.9349 GB, free: 20.44 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.426e-05/0.286, allocations: 96.31 kB / 0.935 GB, free: 20.34 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/0.286, allocations: 23.66 kB / 0.935 GB, free: 20.32 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.087e-05/0.2861, allocations: 0 / 0.935 GB, free: 20.32 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.433e-05/0.2861, allocations: 330.7 kB / 0.9353 GB, free: 19.98 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/0.2863, allocations: 35.97 kB / 0.9353 GB, free: 19.95 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001843/0.2865, allocations: 73.12 kB / 0.9354 GB, free: 19.86 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001767/0.2867, allocations: 35.97 kB / 0.9354 GB, free: 19.82 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.2867, allocations: 4 kB / 0.9354 GB, free: 19.82 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004396/0.2872, allocations: 137.4 kB / 0.9356 GB, free: 19.68 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.2872, allocations: 4 kB / 0.9356 GB, free: 19.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.2872, allocations: 4 kB / 0.9356 GB, free: 19.67 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.2872, allocations: 0 / 0.9356 GB, free: 19.67 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001868/0.2874, allocations: 23.91 kB / 0.9356 GB, free: 19.65 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.445e-06/0.2875, allocations: 8.125 kB / 0.9356 GB, free: 19.64 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.2876, allocations: 15.98 kB / 0.9356 GB, free: 19.62 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.2877, allocations: 4 kB / 0.9356 GB, free: 19.62 MB / 0.5886 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 9.698e-05/0.2878, allocations: 129.7 kB / 0.9358 GB, free: 19.48 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.382e-05/0.2878, allocations: 7.906 kB / 0.9358 GB, free: 19.48 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.904e-05/0.2879, allocations: 12.72 kB / 0.9358 GB, free: 19.46 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.2879, allocations: 4 kB / 0.9358 GB, free: 19.46 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.2879, allocations: 7.984 kB / 0.9358 GB, free: 19.45 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.2879, allocations: 384 / 0.9358 GB, free: 19.45 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008194/0.2887, allocations: 438.3 kB / 0.9362 GB, free: 18.97 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.2887, allocations: 0 / 0.9362 GB, free: 18.97 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.2889, allocations: 15.98 kB / 0.9362 GB, free: 18.95 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.2889, allocations: 0 / 0.9362 GB, free: 18.95 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.2889, allocations: 7.984 kB / 0.9362 GB, free: 18.95 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.2889, allocations: 3.938 kB / 0.9362 GB, free: 18.94 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.2889, allocations: 0 / 0.9362 GB, free: 18.94 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005002/0.2894, allocations: 231.3 kB / 0.9365 GB, free: 18.7 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.312e-05/0.2895, allocations: 85.02 kB / 0.9365 GB, free: 18.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.288e-05/0.2895, allocations: 7.984 kB / 0.9365 GB, free: 18.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/0.2897, allocations: 15.92 kB / 0.9366 GB, free: 18.57 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.585e-05/0.2898, allocations: 7.984 kB / 0.9366 GB, free: 18.57 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/0.2899, allocations: 8 kB / 0.9366 GB, free: 18.56 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.983e-05/0.2899, allocations: 95.27 kB / 0.9367 GB, free: 18.46 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.423e-06/0.2899, allocations: 4 kB / 0.9367 GB, free: 18.46 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003974/0.2903, allocations: 47.92 kB / 0.9367 GB, free: 18.41 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 (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.0004192/0.2908, allocations: 181.2 kB / 0.9369 GB, free: 18.25 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004334/0.2912, allocations: 95.88 kB / 0.937 GB, free: 18.15 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2912, allocations: 0 / 0.937 GB, free: 18.15 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.000207/0.2915, allocations: 47.92 kB / 0.937 GB, free: 18.11 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.2918, allocations: 15.98 kB / 0.937 GB, free: 18.09 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005936/0.2925, allocations: 235.6 kB / 0.9373 GB, free: 17.83 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001432/0.2926, allocations: 0.7003 MB / 0.9379 GB, free: 17.11 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 8.307e-05/0.2927, allocations: 8.672 kB / 0.938 GB, free: 17.1 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.014e-05/0.2928, allocations: 15.42 kB / 0.938 GB, free: 17.08 MB / 0.5886 GB Notification: Performance of SimCode: time 8.32e-07/0.2928, allocations: 0 / 0.938 GB, free: 17.08 MB / 0.5886 GB Notification: Performance of Templates: time 0.005715/0.2985, allocations: 1.616 MB / 0.9395 GB, free: 15.47 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)