Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 111.6 kB / 16.42 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 187.9 kB / 17.35 MB, free: 5.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.608/2.608, allocations: 469.4 MB / 0.7428 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 67.89 kB / 1.065 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.69/0.6913, allocations: 159.1 MB / 1.221 GB, free: 2.379 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002552/0.6939, allocations: 1.507 MB / 1.222 GB, free: 0.8594 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.6951, allocations: 0.7488 MB / 1.223 GB, free: 108 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.518e-05/0.6952, allocations: 3.938 kB / 1.223 GB, free: 104 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.233e-05/0.6953, allocations: 3.938 kB / 1.223 GB, free: 100 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.987e-05/0.6954, allocations: 23.84 kB / 1.223 GB, free: 76 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005326/0.6959, allocations: 127.6 kB / 1.223 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.696, allocations: 79.77 kB / 1.223 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.568e-05/0.6961, allocations: 15.98 kB / 1.223 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.645e-05/0.6962, allocations: 43.78 kB / 1.223 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.039e-05/0.6963, allocations: 35.89 kB / 1.223 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.6963, allocations: 7.938 kB / 1.223 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001957/0.6965, allocations: 103.8 kB / 1.223 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.726e-05/0.6966, allocations: 19.98 kB / 1.224 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.931e-05/0.6966, allocations: 39.78 kB / 1.224 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002431/0.6969, allocations: 147.5 kB / 1.224 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.6969, allocations: 0 / 1.224 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.833e-06/0.6969, allocations: 0 / 1.224 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.6969, allocations: 0 / 1.224 GB, free: 15.47 MB / 0.9512 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.0006981/0.6976, allocations: 464.3 kB / 1.224 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.6977, allocations: 8.031 kB / 1.224 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.586e-05/0.6977, allocations: 16.78 kB / 1.224 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.6979, allocations: 176.2 kB / 1.224 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.6979, allocations: 8.375 kB / 1.224 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.6979, allocations: 4.375 kB / 1.224 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.6981, allocations: 73.97 kB / 1.224 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.6981, allocations: 0 / 1.224 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.6981, allocations: 3.984 kB / 1.224 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.6981, allocations: 3.938 kB / 1.224 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.6983, allocations: 39.97 kB / 1.224 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000515/0.6988, allocations: 320.8 kB / 1.225 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.6989, allocations: 62.58 kB / 1.225 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.116e-05/0.699, allocations: 36.84 kB / 1.225 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.6991, allocations: 0 / 1.225 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001945/0.6993, allocations: 99.27 kB / 1.225 GB, free: 14 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=10): time 1.764e-06/0.6993, allocations: 0 / 1.225 GB, free: 14 MB / 0.9512 GB Notification: Performance of matching and sorting (n=10): time 0.0003932/0.6997, allocations: 157.8 kB / 1.225 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.6997, allocations: 51.5 kB / 1.225 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.635e-05/0.6998, allocations: 133.8 kB / 1.225 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.6998, allocations: 25.7 kB / 1.225 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.86e-05/0.6999, allocations: 96.38 kB / 1.225 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.85e-05/0.6999, allocations: 27.64 kB / 1.225 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.968e-05/0.7, allocations: 29.7 kB / 1.225 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.755e-05/0.7001, allocations: 322.8 kB / 1.226 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.315e-05/0.7002, allocations: 39.91 kB / 1.226 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.593e-05/0.7003, allocations: 68.89 kB / 1.226 GB, free: 13 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.7005, allocations: 101 kB / 1.226 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.7005, allocations: 4 kB / 1.226 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002455/0.7007, allocations: 129.4 kB / 1.226 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.7008, allocations: 8 kB / 1.226 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.7008, allocations: 0 / 1.226 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.7008, allocations: 4 kB / 1.226 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.7009, allocations: 19.92 kB / 1.226 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.7009, allocations: 4 kB / 1.226 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.701, allocations: 7.984 kB / 1.226 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.7011, allocations: 8 kB / 1.226 GB, free: 12.7 MB / 0.9512 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 9.629e-05/0.7012, allocations: 126.4 kB / 1.226 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.09e-05/0.7012, allocations: 11.84 kB / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003126/0.7015, allocations: 153.8 kB / 1.226 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.7015, allocations: 0 / 1.226 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.7015, allocations: 0 / 1.226 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.273e-05/0.7016, allocations: 89 kB / 1.226 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.7016, allocations: 0 / 1.226 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.465e-05/0.7017, allocations: 19.92 kB / 1.227 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.397e-05/0.7018, allocations: 11.98 kB / 1.227 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003212/0.7021, allocations: 216.9 kB / 1.227 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003019/0.7024, allocations: 306.8 kB / 1.227 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001002/0.7025, allocations: 43.91 kB / 1.227 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.199e-05/0.7026, allocations: 103.3 kB / 1.227 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of Backend: time 2.11e-07/0.7026, allocations: 0 / 1.227 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006391/0.7032, allocations: 197.8 kB / 1.227 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0005073/0.7037, allocations: 0.6331 MB / 1.228 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of Templates: time 0.004386/0.7081, allocations: 1.811 MB / 1.23 GB, free: 8.906 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches