Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.002044/0.002044, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002766/0.002766, allocations: 214.8 kB / 22.25 MB, free: 5.242 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.522/1.522, allocations: 230.6 MB / 256 MB, free: 7.789 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.841/2.841, allocations: 475.9 MB / 0.7699 GB, free: 4.723 MB / 0.6231 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.Love1998Light2,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.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,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.Love1998Light2") [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.0022/0.0022, allocations: 68.66 kB / 1.117 GB, free: 41.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4054/0.4076, allocations: 169.9 MB / 1.283 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.00307/0.4107, allocations: 1.535 MB / 1.284 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001636/0.4123, allocations: 0.7963 MB / 1.285 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.716e-05/0.4124, allocations: 0 / 1.285 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.433e-05/0.4124, allocations: 3.938 kB / 1.285 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.4125, allocations: 23.8 kB / 1.285 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000617/0.4132, allocations: 151.5 kB / 1.285 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001811/0.4133, allocations: 87.7 kB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.988e-05/0.4134, allocations: 7.984 kB / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001584/0.4136, allocations: 47.84 kB / 1.286 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.533e-05/0.4137, allocations: 35.83 kB / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.4137, allocations: 4 kB / 1.286 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003064/0.414, allocations: 143.7 kB / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.316e-05/0.414, allocations: 19.92 kB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.972e-05/0.4141, allocations: 35.86 kB / 1.286 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002965/0.4144, allocations: 167.5 kB / 1.286 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4144, allocations: 0 / 1.286 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.775e-06/0.4144, allocations: 0 / 1.286 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.4144, allocations: 0 / 1.286 GB, free: 8.918 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.0008018/0.4152, allocations: 397.1 kB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.4152, allocations: 8.031 kB / 1.286 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003206/0.4156, allocations: 28.88 kB / 1.286 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/0.4158, allocations: 138.3 kB / 1.287 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.4158, allocations: 8.375 kB / 1.287 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.4159, allocations: 4.375 kB / 1.287 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.4161, allocations: 77.95 kB / 1.287 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.4161, allocations: 0 / 1.287 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.4161, allocations: 0 / 1.287 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.4161, allocations: 0 / 1.287 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.4162, allocations: 43.91 kB / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005418/0.4168, allocations: 256.5 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/0.417, allocations: 58.48 kB / 1.287 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.654e-05/0.4171, allocations: 36.84 kB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.4171, allocations: 0 / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002025/0.4173, allocations: 95.33 kB / 1.287 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.372e-06/0.4173, allocations: 0 / 1.287 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0004912/0.4178, allocations: 161.5 kB / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/0.4178, allocations: 59.41 kB / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.418, allocations: 132.4 kB / 1.287 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.418, allocations: 29.7 kB / 1.287 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.468e-05/0.4181, allocations: 96.31 kB / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/0.4181, allocations: 27.94 kB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.4182, allocations: 29.7 kB / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002662/0.4185, allocations: 322.8 kB / 1.288 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.646e-05/0.4186, allocations: 27.98 kB / 1.288 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.4187, allocations: 73.06 kB / 1.288 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.4189, allocations: 105 kB / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.4189, allocations: 0 / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000262/0.4192, allocations: 133.5 kB / 1.288 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.4192, allocations: 4 kB / 1.288 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.4192, allocations: 0 / 1.288 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.4192, allocations: 4.125 kB / 1.288 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.4193, allocations: 19.98 kB / 1.288 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.4193, allocations: 3.938 kB / 1.288 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.4194, allocations: 19.94 kB / 1.288 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.4194, allocations: 4 kB / 1.288 GB, free: 6.34 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.000118/0.4196, allocations: 131.4 kB / 1.288 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.214e-05/0.4196, allocations: 11.95 kB / 1.288 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003515/0.4199, allocations: 145.9 kB / 1.289 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.4199, allocations: 0 / 1.289 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.4199, allocations: 8 kB / 1.289 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.4199, allocations: 0 / 1.289 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005904/0.4205, allocations: 366 kB / 1.289 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4205, allocations: 0 / 1.289 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.814e-05/0.4206, allocations: 8 kB / 1.289 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.4206, allocations: 4.375 kB / 1.289 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.4206, allocations: 3.984 kB / 1.289 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4206, allocations: 0 / 1.289 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.4206, allocations: 4 kB / 1.289 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003222/0.4209, allocations: 239.3 kB / 1.289 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.905e-05/0.421, allocations: 7.953 kB / 1.289 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.421, allocations: 0 / 1.289 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.4211, allocations: 15.92 kB / 1.289 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/0.4212, allocations: 11.98 kB / 1.289 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.4212, allocations: 4 kB / 1.289 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001289/0.4213, allocations: 103.2 kB / 1.289 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.4213, allocations: 0 / 1.289 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003405/0.4216, allocations: 47.86 kB / 1.289 GB, free: 5.18 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.0004056/0.422, allocations: 163.9 kB / 1.289 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002697/0.4223, allocations: 83.83 kB / 1.29 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.4223, allocations: 0 / 1.29 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.4224, allocations: 40.17 kB / 1.29 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.4227, allocations: 19.98 kB / 1.29 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005097/0.4232, allocations: 206.8 kB / 1.29 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.417e-05/0.4233, allocations: 83.88 kB / 1.29 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.297e-05/0.4234, allocations: 8.375 kB / 1.29 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.884e-05/0.4234, allocations: 27.42 kB / 1.29 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.4234, allocations: 0 / 1.29 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of Templates: time 0.005779/0.4292, allocations: 1.894 MB / 1.292 GB, free: 2.652 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.335115073248744]