Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.561/2.561, allocations: 443.5 MB / 0.7293 GB, free: 14.49 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 67.89 kB / 1.057 GB, free: 1.992 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2917, allocations: 160.7 MB / 1.214 GB, free: 0.9609 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002753/0.2944, allocations: 1.515 MB / 1.216 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001409/0.2959, allocations: 0.7719 MB / 1.216 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.831e-05/0.2959, allocations: 0 / 1.216 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.609e-05/0.2959, allocations: 11.86 kB / 1.216 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.217e-05/0.296, allocations: 11.86 kB / 1.216 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005083/0.2965, allocations: 127.6 kB / 1.216 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.2967, allocations: 87.7 kB / 1.216 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.456e-05/0.2968, allocations: 11.98 kB / 1.217 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.2969, allocations: 39.84 kB / 1.217 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.63e-05/0.2969, allocations: 35.84 kB / 1.217 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.297, allocations: 7.984 kB / 1.217 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002095/0.2972, allocations: 107.8 kB / 1.217 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.951e-05/0.2972, allocations: 19.92 kB / 1.217 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.497e-05/0.2973, allocations: 35.8 kB / 1.217 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002544/0.2975, allocations: 151.5 kB / 1.217 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2975, allocations: 4 kB / 1.217 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2975, allocations: 0 / 1.217 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.2975, allocations: 0 / 1.217 GB, free: 14.01 MB / 0.9669 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.0007831/0.2983, allocations: 466.3 kB / 1.217 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.2983, allocations: 8.031 kB / 1.217 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.041e-05/0.2984, allocations: 8.891 kB / 1.217 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.2985, allocations: 176.2 kB / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.2986, allocations: 20.34 kB / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.2986, allocations: 4.375 kB / 1.218 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.2988, allocations: 73.97 kB / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.2988, allocations: 0 / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.2988, allocations: 0 / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.2988, allocations: 4 kB / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001406/0.2989, allocations: 43.91 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000569/0.2995, allocations: 324.7 kB / 1.218 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.2997, allocations: 58.55 kB / 1.218 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.25e-05/0.2998, allocations: 28.84 kB / 1.218 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.2998, allocations: 8.141 kB / 1.218 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002865/0.3001, allocations: 99.33 kB / 1.218 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.352e-06/0.3001, allocations: 0 / 1.218 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0004234/0.3005, allocations: 157.5 kB / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.25e-05/0.3005, allocations: 55.41 kB / 1.218 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.3007, allocations: 132.5 kB / 1.218 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.3007, allocations: 29.7 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.212e-05/0.3007, allocations: 88.38 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.3008, allocations: 23.8 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.206e-05/0.3008, allocations: 41.69 kB / 1.219 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.301, allocations: 318.8 kB / 1.219 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.074e-05/0.3011, allocations: 27.98 kB / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.3012, allocations: 73.06 kB / 1.219 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.3014, allocations: 101.1 kB / 1.219 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3014, allocations: 0 / 1.219 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002555/0.3016, allocations: 125.5 kB / 1.219 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.3016, allocations: 12.12 kB / 1.219 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.3016, allocations: 3.984 kB / 1.219 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.3017, allocations: 4 kB / 1.219 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.3018, allocations: 11.98 kB / 1.219 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.3018, allocations: 7.938 kB / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.3019, allocations: 11.95 kB / 1.219 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.3019, allocations: 11.98 kB / 1.219 GB, free: 11.23 MB / 0.9669 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.000105/0.302, allocations: 117.8 kB / 1.219 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.031e-05/0.302, allocations: 11.95 kB / 1.219 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003312/0.3023, allocations: 154 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/0.3024, allocations: 4 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.247e-06/0.3024, allocations: 0 / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3024, allocations: 0 / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006138/0.303, allocations: 434.2 kB / 1.22 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.303, allocations: 4.375 kB / 1.22 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.909e-05/0.3031, allocations: 15.94 kB / 1.22 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3031, allocations: 0 / 1.22 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.3031, allocations: 7.984 kB / 1.22 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3031, allocations: 3.938 kB / 1.22 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3031, allocations: 3.938 kB / 1.22 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003638/0.3034, allocations: 219.5 kB / 1.22 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.188e-05/0.3035, allocations: 89.05 kB / 1.22 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.3035, allocations: 4 kB / 1.22 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.3036, allocations: 7.984 kB / 1.22 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.885e-05/0.3037, allocations: 23.86 kB / 1.22 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.3037, allocations: 0 / 1.22 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.405e-05/0.3038, allocations: 99.27 kB / 1.22 GB, free: 9.945 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3038, allocations: 0 / 1.22 GB, free: 9.945 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002962/0.3041, allocations: 39.94 kB / 1.221 GB, free: 9.906 MB / 0.9669 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.0003491/0.3044, allocations: 162.4 kB / 1.221 GB, free: 9.754 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002498/0.3047, allocations: 83.89 kB / 1.221 GB, free: 9.672 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3047, allocations: 0 / 1.221 GB, free: 9.672 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.3048, allocations: 47.91 kB / 1.221 GB, free: 9.625 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.3051, allocations: 22.09 kB / 1.221 GB, free: 9.605 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000472/0.3055, allocations: 229.2 kB / 1.221 GB, free: 9.348 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.3059, allocations: 0.6962 MB / 1.222 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.484e-05/0.306, allocations: 19.44 kB / 1.222 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of SimCode: time 3.31e-07/0.306, allocations: 0 / 1.222 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of Templates: time 0.003965/0.3099, allocations: 1.834 MB / 1.224 GB, free: 6.77 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.886002467945218]