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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001738/0.001738, allocations: 111.2 kB / 16.38 MB, free: 6.012 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.001841/0.001841, allocations: 190.8 kB / 17.31 MB, free: 5.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.303/2.303, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.729/3.729, allocations: 442.6 MB / 0.7166 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002793/0.002793, allocations: 61.22 kB / 0.8774 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4925/0.4953, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.005327/0.5007, allocations: 1.523 MB / 1.028 GB, free: 0.5273 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002669/0.5034, allocations: 0.7672 MB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.226e-05/0.5035, allocations: 0 / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.8e-05/0.5036, allocations: 3.938 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001505/0.5038, allocations: 11.81 kB / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009536/0.5047, allocations: 127.6 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000229/0.505, allocations: 95.69 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/0.5052, allocations: 8 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.5053, allocations: 39.84 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.5055, allocations: 39.83 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.516e-05/0.5055, allocations: 8 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003442/0.5059, allocations: 91.91 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.81e-05/0.506, allocations: 27.84 kB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.929e-05/0.5061, allocations: 35.78 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003888/0.5065, allocations: 155.6 kB / 1.03 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.5065, allocations: 0 / 1.03 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.054e-06/0.5065, allocations: 0 / 1.03 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.5065, allocations: 0 / 1.03 GB, free: 15.12 MB / 0.8106 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.001118/0.5077, allocations: 450.7 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.034e-05/0.5077, allocations: 8.031 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.533e-05/0.5078, allocations: 12.78 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.5081, allocations: 179.5 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/0.5081, allocations: 12.31 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.972e-05/0.5082, allocations: 8.359 kB / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003387/0.5085, allocations: 73.97 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.5086, allocations: 0 / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.5086, allocations: 0 / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.5086, allocations: 0 / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002566/0.5089, allocations: 43.97 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008858/0.5098, allocations: 332.5 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002836/0.5101, allocations: 62.55 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001552/0.5103, allocations: 33 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.993e-05/0.5103, allocations: 7.984 kB / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004149/0.5107, allocations: 99.39 kB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 3.316e-06/0.5108, allocations: 0 / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0007445/0.5115, allocations: 149.5 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/0.5116, allocations: 63.39 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.5118, allocations: 121.8 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.927e-05/0.5119, allocations: 37.69 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.197e-05/0.512, allocations: 88.28 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.287e-05/0.512, allocations: 15.81 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.5121, allocations: 37.7 kB / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001782/0.5123, allocations: 323.1 kB / 1.032 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.5125, allocations: 27.98 kB / 1.032 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002002/0.5127, allocations: 69.12 kB / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00035/0.5131, allocations: 109 kB / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.5131, allocations: 3.938 kB / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005514/0.5137, allocations: 125.5 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.5137, allocations: 12 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.5137, allocations: 0 / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/0.5138, allocations: 4 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001888/0.514, allocations: 15.98 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/0.514, allocations: 3.984 kB / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.5142, allocations: 15.94 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.93e-05/0.5143, allocations: 7.984 kB / 1.032 GB, free: 12.35 MB / 0.8106 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.0001593/0.5144, allocations: 135 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.744e-05/0.5145, allocations: 11.91 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005765/0.5151, allocations: 141.9 kB / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.5151, allocations: 0 / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.5151, allocations: 7.938 kB / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.525e-05/0.5152, allocations: 89.02 kB / 1.032 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.059e-05/0.5153, allocations: 4 kB / 1.032 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.5155, allocations: 11.92 kB / 1.032 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.644e-05/0.5156, allocations: 11.98 kB / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006426/0.5162, allocations: 220.8 kB / 1.033 GB, free: 11.69 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005995/0.5168, allocations: 302.8 kB / 1.033 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001992/0.5171, allocations: 52.02 kB / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000111/0.5172, allocations: 95.27 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of Backend: time 6.31e-07/0.5172, allocations: 4 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001011/0.5182, allocations: 185 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of SimCode: time 0.0009047/0.5192, allocations: 0.6331 MB / 1.034 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of Templates: time 0.008945/0.5281, allocations: 1.808 MB / 1.036 GB, free: 8.57 MB / 0.8106 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