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.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.001862/0.001862, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.002419/0.002419, allocations: 192.2 kB / 22.17 MB, free: 5.656 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.582/1.582, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.84/2.84, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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: Performance of FrontEnd - loaded program: time 0.00212/0.00212, allocations: 63.89 kB / 1.109 GB, free: 6.566 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9892/0.9913, allocations: 168.7 MB / 1.274 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.003489/0.9948, allocations: 1.519 MB / 1.276 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001616/0.9964, allocations: 0.7688 MB / 1.276 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.323e-05/0.9965, allocations: 4 kB / 1.276 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.972e-05/0.9965, allocations: 7.922 kB / 1.276 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.61e-05/0.9966, allocations: 19.81 kB / 1.276 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006745/0.9973, allocations: 131.5 kB / 1.276 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002239/0.9975, allocations: 87.75 kB / 1.277 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.9976, allocations: 8 kB / 1.277 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.9978, allocations: 35.84 kB / 1.277 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.249e-05/0.9978, allocations: 35.89 kB / 1.277 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.9979, allocations: 11.94 kB / 1.277 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002152/0.9981, allocations: 103.8 kB / 1.277 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.908e-05/0.9981, allocations: 19.98 kB / 1.277 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.008e-05/0.9982, allocations: 43.77 kB / 1.277 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002797/0.9985, allocations: 150.2 kB / 1.277 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.9985, allocations: 0 / 1.277 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.312e-06/0.9985, allocations: 0 / 1.277 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.9985, allocations: 0 / 1.277 GB, free: 1.621 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.0008761/0.9993, allocations: 466.3 kB / 1.277 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.9994, allocations: 8.031 kB / 1.277 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.25e-05/0.9994, allocations: 20.83 kB / 1.277 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.9996, allocations: 172.3 kB / 1.278 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.9996, allocations: 8.375 kB / 1.278 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.9997, allocations: 4.375 kB / 1.278 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.9999, allocations: 81.89 kB / 1.278 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.9999, allocations: 0 / 1.278 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.9999, allocations: 0 / 1.278 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.9999, allocations: 0 / 1.278 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/1, allocations: 43.97 kB / 1.278 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006191/1.001, allocations: 324.7 kB / 1.278 GB, free: 372 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/1.001, allocations: 58.59 kB / 1.278 GB, free: 304 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.255e-05/1.001, allocations: 32.83 kB / 1.278 GB, free: 268 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/1.001, allocations: 0 / 1.278 GB, free: 268 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002691/1.001, allocations: 95.36 kB / 1.278 GB, free: 160 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/1.001, allocations: 0 / 1.278 GB, free: 160 kB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.000518/1.002, allocations: 157.5 kB / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.823e-05/1.002, allocations: 59.28 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/1.002, allocations: 129.8 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/1.002, allocations: 25.7 kB / 1.279 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.22e-05/1.002, allocations: 100.4 kB / 1.279 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.283e-05/1.002, allocations: 23.8 kB / 1.279 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.609e-05/1.002, allocations: 29.7 kB / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001686/1.002, allocations: 326.8 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.46e-05/1.002, allocations: 27.98 kB / 1.279 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/1.003, allocations: 67.25 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001843/1.003, allocations: 101 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/1.003, allocations: 4 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002721/1.003, allocations: 129.5 kB / 1.279 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/1.003, allocations: 9.562 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/1.003, allocations: 0 / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/1.003, allocations: 4 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/1.003, allocations: 15.92 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/1.003, allocations: 4 kB / 1.279 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/1.003, allocations: 11.94 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/1.003, allocations: 15.98 kB / 1.279 GB, free: 14.84 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.0001371/1.003, allocations: 133.8 kB / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/1.003, allocations: 11.89 kB / 1.279 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003553/1.004, allocations: 142 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/1.004, allocations: 0 / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/1.004, allocations: 4 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/1.004, allocations: 0 / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006467/1.004, allocations: 438.4 kB / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/1.004, allocations: 0 / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.062e-05/1.005, allocations: 11.98 kB / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/1.005, allocations: 0 / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/1.005, allocations: 0 / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.291e-06/1.005, allocations: 8 kB / 1.28 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.066e-05/1.005, allocations: 7.922 kB / 1.28 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003167/1.005, allocations: 227.9 kB / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.034e-05/1.005, allocations: 89.06 kB / 1.28 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/1.005, allocations: 3.984 kB / 1.28 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/1.005, allocations: 7.938 kB / 1.28 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.496e-05/1.005, allocations: 19.86 kB / 1.28 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/1.005, allocations: 7.984 kB / 1.28 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.699e-05/1.005, allocations: 99.27 kB / 1.28 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/1.005, allocations: 0 / 1.28 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003423/1.006, allocations: 47.88 kB / 1.281 GB, free: 13.5 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.0003892/1.006, allocations: 161.9 kB / 1.281 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002501/1.006, allocations: 83.83 kB / 1.281 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.006, allocations: 0 / 1.281 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001046/1.006, allocations: 44.22 kB / 1.281 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/1.007, allocations: 16 kB / 1.281 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004841/1.007, allocations: 219.7 kB / 1.281 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/1.007, allocations: 0.6924 MB / 1.282 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.532e-05/1.007, allocations: 12.44 kB / 1.282 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.136e-05/1.008, allocations: 15.42 kB / 1.282 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/1.008, allocations: 0 / 1.282 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of Templates: time 0.005534/1.013, allocations: 1.841 MB / 1.284 GB, free: 10.39 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.225927126128227]