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.002075/0.002075, allocations: 114.3 kB / 18.94 MB, free: 2.793 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.002691/0.002691, allocations: 219.2 kB / 22.26 MB, free: 5.211 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.498/1.498, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.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.927/2.927, allocations: 476.7 MB / 0.7706 GB, free: 4.324 MB / 0.6231 GB " [Timeout remaining time 176] 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.002299/0.002299, allocations: 66.81 kB / 1.118 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3977/0.4, allocations: 170 MB / 1.284 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.003502/0.4035, allocations: 1.546 MB / 1.285 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001826/0.4054, allocations: 0.8586 MB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.078e-05/0.4054, allocations: 0 / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.181e-05/0.4055, allocations: 7.938 kB / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.4056, allocations: 23.8 kB / 1.286 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000761/0.4064, allocations: 151.5 kB / 1.286 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001875/0.4066, allocations: 91.69 kB / 1.286 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.4067, allocations: 7.938 kB / 1.286 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001969/0.4069, allocations: 55.77 kB / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.264e-05/0.407, allocations: 31.84 kB / 1.287 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.407, allocations: 8 kB / 1.287 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003218/0.4073, allocations: 155.8 kB / 1.287 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.121e-05/0.4073, allocations: 15.98 kB / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.009e-05/0.4074, allocations: 31.8 kB / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003323/0.4077, allocations: 167.4 kB / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.4077, allocations: 0 / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.344e-06/0.4077, allocations: 0 / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.306e-06/0.4077, allocations: 0 / 1.287 GB, free: 8.102 MB / 0.9825 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.0009733/0.4087, allocations: 393.2 kB / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.4088, allocations: 16.03 kB / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003907/0.4092, allocations: 28.86 kB / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00034/0.4095, allocations: 132.2 kB / 1.287 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.4095, allocations: 4.375 kB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.4095, allocations: 8.359 kB / 1.287 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002254/0.4098, allocations: 81.91 kB / 1.288 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.4098, allocations: 3.938 kB / 1.288 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.4098, allocations: 0 / 1.288 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.4098, allocations: 4 kB / 1.288 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/0.41, allocations: 43.97 kB / 1.288 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006765/0.4106, allocations: 295.7 kB / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.4108, allocations: 54.56 kB / 1.288 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.755e-05/0.4109, allocations: 40.83 kB / 1.288 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.249e-05/0.4109, allocations: 4 kB / 1.288 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002027/0.4111, allocations: 95.39 kB / 1.288 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.4111, allocations: 0 / 1.288 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0004632/0.4116, allocations: 157.5 kB / 1.288 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.762e-05/0.4117, allocations: 59.39 kB / 1.288 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.4118, allocations: 129.8 kB / 1.288 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.4118, allocations: 29.7 kB / 1.288 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.861e-05/0.4119, allocations: 96.36 kB / 1.288 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/0.4119, allocations: 27.73 kB / 1.288 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.195e-05/0.412, allocations: 29.7 kB / 1.289 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.4122, allocations: 326.8 kB / 1.289 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.37e-05/0.4123, allocations: 19.98 kB / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.4124, allocations: 73.12 kB / 1.289 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.4125, allocations: 101 kB / 1.289 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.4125, allocations: 4 kB / 1.289 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002592/0.4128, allocations: 125.5 kB / 1.289 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.4128, allocations: 4 kB / 1.289 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.4128, allocations: 4 kB / 1.289 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.4129, allocations: 0 / 1.289 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.413, allocations: 19.98 kB / 1.289 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.413, allocations: 4.359 kB / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.4131, allocations: 16.08 kB / 1.289 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.4131, allocations: 7.984 kB / 1.289 GB, free: 5.477 MB / 0.9825 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.0001253/0.4132, allocations: 133.7 kB / 1.289 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.977e-05/0.4133, allocations: 11.89 kB / 1.289 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003396/0.4136, allocations: 145.9 kB / 1.289 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.4136, allocations: 0 / 1.289 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.4136, allocations: 0 / 1.289 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.4136, allocations: 4 kB / 1.289 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005872/0.4142, allocations: 397.6 kB / 1.29 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.4142, allocations: 0 / 1.29 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.081e-05/0.4143, allocations: 19.92 kB / 1.29 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.4143, allocations: 0 / 1.29 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.4143, allocations: 0 / 1.29 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4143, allocations: 0 / 1.29 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.4143, allocations: 7.922 kB / 1.29 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003132/0.4146, allocations: 227.4 kB / 1.29 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.76e-05/0.4146, allocations: 7.953 kB / 1.29 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.134e-05/0.4146, allocations: 11.98 kB / 1.29 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.4148, allocations: 4 kB / 1.29 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.976e-05/0.4148, allocations: 19.91 kB / 1.29 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.4148, allocations: 4 kB / 1.29 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.259e-05/0.4149, allocations: 102.4 kB / 1.29 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4149, allocations: 4 kB / 1.29 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003467/0.4153, allocations: 47.92 kB / 1.29 GB, free: 4.27 MB / 0.9825 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.0004442/0.4157, allocations: 161.7 kB / 1.29 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002666/0.416, allocations: 91.83 kB / 1.291 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.416, allocations: 0 / 1.291 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.4161, allocations: 39.92 kB / 1.291 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.4164, allocations: 19.98 kB / 1.291 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005605/0.417, allocations: 206.2 kB / 1.291 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/0.4173, allocations: 0.7004 MB / 1.291 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.313e-05/0.4174, allocations: 8.422 kB / 1.291 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.866e-05/0.4174, allocations: 15.44 kB / 1.291 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.4174, allocations: 0 / 1.291 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of Templates: time 0.006056/0.4235, allocations: 1.853 MB / 1.293 GB, free: 1.148 MB / 0.9825 GB " [Timeout remaining time 299] 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 -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/jenkins/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: 9.336311580147594]