Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 84.67 kB / 19.76 MB, free: 2.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 159.1 kB / 23.01 MB, free: 4.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.443/1.443, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.809/2.809, allocations: 359.1 MB / 0.6044 GB, free: 14.88 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002154/0.002154, allocations: 65.78 kB / 0.9515 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3135, allocations: 169.9 MB / 1.117 GB, free: 2.625 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002654/0.3162, allocations: 1.521 MB / 1.119 GB, free: 1.09 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001459/0.3176, allocations: 0.7985 MB / 1.12 GB, free: 292 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.171e-05/0.3177, allocations: 0 / 1.12 GB, free: 292 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.987e-05/0.3177, allocations: 15.86 kB / 1.12 GB, free: 276 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.874e-05/0.3178, allocations: 15.81 kB / 1.12 GB, free: 260 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005739/0.3184, allocations: 155.5 kB / 1.12 GB, free: 104 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.3185, allocations: 83.72 kB / 1.12 GB, free: 20 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.064e-05/0.3186, allocations: 11.98 kB / 1.12 GB, free: 8 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.3187, allocations: 51.77 kB / 1.12 GB, free: 15.96 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 7.298e-05/0.3188, allocations: 35.84 kB / 1.12 GB, free: 15.92 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.3188, allocations: 8 kB / 1.12 GB, free: 15.91 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002842/0.3191, allocations: 143.7 kB / 1.12 GB, free: 15.77 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.913e-05/0.3191, allocations: 15.98 kB / 1.12 GB, free: 15.76 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.234e-05/0.3192, allocations: 27.86 kB / 1.12 GB, free: 15.73 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002616/0.3194, allocations: 163.5 kB / 1.12 GB, free: 15.57 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3195, allocations: 0 / 1.12 GB, free: 15.57 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3195, allocations: 0 / 1.12 GB, free: 15.57 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.3195, allocations: 4 kB / 1.12 GB, free: 15.57 MB / 1.076 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.0007251/0.3202, allocations: 389.2 kB / 1.121 GB, free: 15.14 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.3202, allocations: 12.03 kB / 1.121 GB, free: 15.13 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003114/0.3205, allocations: 32.86 kB / 1.121 GB, free: 15.1 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.3207, allocations: 130.4 kB / 1.121 GB, free: 14.95 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.3208, allocations: 8.312 kB / 1.121 GB, free: 14.94 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.3208, allocations: 4.375 kB / 1.121 GB, free: 14.94 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.321, allocations: 81.95 kB / 1.121 GB, free: 14.85 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.321, allocations: 0 / 1.121 GB, free: 14.85 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.321, allocations: 3.938 kB / 1.121 GB, free: 14.85 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.321, allocations: 0 / 1.121 GB, free: 14.85 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.3211, allocations: 43.97 kB / 1.121 GB, free: 14.8 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004939/0.3216, allocations: 252.4 kB / 1.121 GB, free: 14.53 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.3218, allocations: 58.5 kB / 1.121 GB, free: 14.46 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.16e-05/0.3219, allocations: 32.84 kB / 1.121 GB, free: 14.43 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.3219, allocations: 3.984 kB / 1.121 GB, free: 14.42 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001815/0.3221, allocations: 99.39 kB / 1.121 GB, free: 14.31 MB / 1.076 GB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.3221, allocations: 3.938 kB / 1.121 GB, free: 14.31 MB / 1.076 GB Notification: Performance of matching and sorting (n=10): time 0.0004069/0.3225, allocations: 153.5 kB / 1.122 GB, free: 14.15 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.767e-05/0.3225, allocations: 55.41 kB / 1.122 GB, free: 14.09 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.3227, allocations: 136.6 kB / 1.122 GB, free: 13.95 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.3227, allocations: 25.7 kB / 1.122 GB, free: 13.91 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.695e-05/0.3228, allocations: 104.3 kB / 1.122 GB, free: 13.8 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.078e-05/0.3228, allocations: 24 kB / 1.122 GB, free: 13.78 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.908e-05/0.3228, allocations: 33.7 kB / 1.122 GB, free: 13.74 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.323, allocations: 322.8 kB / 1.122 GB, free: 13.42 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.87e-05/0.3231, allocations: 27.98 kB / 1.122 GB, free: 13.39 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.3232, allocations: 68 kB / 1.122 GB, free: 13.31 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001925/0.3234, allocations: 108.9 kB / 1.122 GB, free: 13.18 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3234, allocations: 0 / 1.122 GB, free: 13.18 MB / 1.076 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002518/0.3236, allocations: 129.5 kB / 1.123 GB, free: 13.05 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.3236, allocations: 4 kB / 1.123 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.3236, allocations: 4 kB / 1.123 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.3236, allocations: 96 / 1.123 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.3238, allocations: 15.98 kB / 1.123 GB, free: 13.03 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.3238, allocations: 11.97 kB / 1.123 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.3239, allocations: 23.94 kB / 1.123 GB, free: 12.99 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.3239, allocations: 8 kB / 1.123 GB, free: 12.98 MB / 1.076 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 (lig.curSeed,$PRE.lig.curSeed,lig.on,$PRE.lig.on,$whenCondition3,lig.sampleTrigger,$whenCondition2,occ.pulseStart,$PRE.occ.pulseStart,occ.y,$whenCondition1) * 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 0.0001013/0.324, allocations: 125.8 kB / 1.123 GB, free: 12.85 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.093e-05/0.324, allocations: 7.953 kB / 1.123 GB, free: 12.84 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003273/0.3243, allocations: 149.9 kB / 1.123 GB, free: 12.69 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.3243, allocations: 4 kB / 1.123 GB, free: 12.69 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.3243, allocations: 0 / 1.123 GB, free: 12.69 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3244, allocations: 0 / 1.123 GB, free: 12.69 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005458/0.3249, allocations: 374 kB / 1.123 GB, free: 12.29 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3249, allocations: 0 / 1.123 GB, free: 12.29 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.171e-05/0.325, allocations: 15.92 kB / 1.123 GB, free: 12.27 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.325, allocations: 0 / 1.123 GB, free: 12.27 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.325, allocations: 8 kB / 1.123 GB, free: 12.26 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.325, allocations: 0 / 1.123 GB, free: 12.26 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.325, allocations: 384 / 1.123 GB, free: 12.26 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003092/0.3253, allocations: 231.5 kB / 1.124 GB, free: 12.02 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.828e-05/0.3253, allocations: 11.89 kB / 1.124 GB, free: 12.01 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.3253, allocations: 8 kB / 1.124 GB, free: 12 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.3255, allocations: 11.92 kB / 1.124 GB, free: 11.99 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.026e-05/0.3255, allocations: 7.984 kB / 1.124 GB, free: 11.98 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.3255, allocations: 8 kB / 1.124 GB, free: 11.97 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.32e-05/0.3256, allocations: 103.2 kB / 1.124 GB, free: 11.87 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3256, allocations: 3.938 kB / 1.124 GB, free: 11.87 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003022/0.3259, allocations: 43.88 kB / 1.124 GB, free: 11.82 MB / 1.076 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 (12): * Single equations (assignments): 9 * 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.0003406/0.3262, allocations: 155.3 kB / 1.124 GB, free: 11.68 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002426/0.3265, allocations: 79.89 kB / 1.124 GB, free: 11.6 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3265, allocations: 0 / 1.124 GB, free: 11.6 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.3266, allocations: 43.91 kB / 1.124 GB, free: 11.56 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.3269, allocations: 12.52 kB / 1.124 GB, free: 11.55 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004679/0.3273, allocations: 234.9 kB / 1.124 GB, free: 11.29 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.437e-05/0.3274, allocations: 75.89 kB / 1.124 GB, free: 11.2 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.713e-05/0.3274, allocations: 20.41 kB / 1.124 GB, free: 11.18 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.715e-05/0.3275, allocations: 16.48 kB / 1.124 GB, free: 11.16 MB / 1.076 GB Notification: Performance of SimCode: time 3.2e-07/0.3275, allocations: 0 / 1.124 GB, free: 11.16 MB / 1.076 GB Notification: Performance of Templates: time 0.005119/0.3326, allocations: 1.848 MB / 1.126 GB, free: 9.34 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.682409649016336]