Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) 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.Love1998Light2,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.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,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.Love1998Light2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 113.2 kB / 16.42 MB, free: 6.504 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.001442/0.001443, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.482/1.482, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.592/2.592, allocations: 461.9 MB / 0.7354 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 63.89 kB / 1.055 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.713/0.7144, allocations: 157.4 MB / 1.208 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002912/0.7173, allocations: 1.514 MB / 1.21 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001264/0.7186, allocations: 0.7556 MB / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.508e-05/0.7187, allocations: 4 kB / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.441e-05/0.7187, allocations: 7.922 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.942e-05/0.7188, allocations: 11.86 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000507/0.7193, allocations: 127.5 kB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.7195, allocations: 83.77 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.014e-05/0.7196, allocations: 12 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.072e-05/0.7197, allocations: 43.83 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.631e-05/0.7197, allocations: 39.84 kB / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.7198, allocations: 4 kB / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000176/0.7199, allocations: 95.84 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.314e-05/0.72, allocations: 23.95 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.203e-05/0.72, allocations: 39.8 kB / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002523/0.7203, allocations: 143.5 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.7203, allocations: 3.938 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.372e-06/0.7203, allocations: 0 / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.7203, allocations: 0 / 1.211 GB, free: 10.78 MB / 0.9356 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.0006711/0.721, allocations: 468.3 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.7211, allocations: 8.031 kB / 1.212 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.143e-05/0.7211, allocations: 8.875 kB / 1.212 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.7212, allocations: 184.1 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.7213, allocations: 8.375 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.7213, allocations: 4.375 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.7215, allocations: 81.89 kB / 1.212 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.7215, allocations: 0 / 1.212 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.7215, allocations: 0 / 1.212 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.7215, allocations: 0 / 1.212 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.7217, allocations: 43.97 kB / 1.212 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004934/0.7222, allocations: 316.8 kB / 1.212 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.7223, allocations: 62.59 kB / 1.212 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.58e-05/0.7224, allocations: 36.83 kB / 1.212 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.7224, allocations: 0 / 1.212 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002141/0.7226, allocations: 95.36 kB / 1.212 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.7227, allocations: 0 / 1.212 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0003812/0.723, allocations: 153.5 kB / 1.213 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.7231, allocations: 55.39 kB / 1.213 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.456e-05/0.7232, allocations: 132.6 kB / 1.213 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.7232, allocations: 29.7 kB / 1.213 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.165e-05/0.7233, allocations: 92.36 kB / 1.213 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.728e-05/0.7233, allocations: 35.73 kB / 1.213 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.194e-05/0.7234, allocations: 33.7 kB / 1.213 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.171e-05/0.7235, allocations: 323.1 kB / 1.213 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.504e-05/0.7235, allocations: 27.98 kB / 1.213 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.326e-05/0.7236, allocations: 69.12 kB / 1.213 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.7238, allocations: 105 kB / 1.213 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.7238, allocations: 3.938 kB / 1.213 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002333/0.7241, allocations: 129.5 kB / 1.214 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.7241, allocations: 8 kB / 1.214 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.7241, allocations: 0 / 1.214 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.7241, allocations: 4 kB / 1.214 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.7242, allocations: 19.86 kB / 1.214 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.7242, allocations: 7.984 kB / 1.214 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.7244, allocations: 11.98 kB / 1.214 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.7244, allocations: 8 kB / 1.214 GB, free: 7.996 MB / 0.9356 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.674e-05/0.7245, allocations: 133 kB / 1.214 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.999e-05/0.7245, allocations: 7.906 kB / 1.214 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003135/0.7248, allocations: 145.9 kB / 1.214 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.7249, allocations: 0 / 1.214 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.7249, allocations: 0 / 1.214 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.852e-05/0.7249, allocations: 85.02 kB / 1.214 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.7249, allocations: 8 kB / 1.214 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.427e-05/0.725, allocations: 15.92 kB / 1.214 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.7251, allocations: 11.98 kB / 1.214 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003128/0.7254, allocations: 216.8 kB / 1.214 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002846/0.7257, allocations: 306.6 kB / 1.215 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.984e-05/0.7258, allocations: 35.98 kB / 1.215 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.041e-05/0.7259, allocations: 99.27 kB / 1.215 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of Backend: time 3.91e-07/0.7259, allocations: 4 kB / 1.215 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006434/0.7265, allocations: 193.8 kB / 1.215 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0005078/0.727, allocations: 0.6446 MB / 1.215 GB, free: 6.016 MB / 0.9356 GB Notification: Performance of Templates: time 0.004521/0.7316, allocations: 1.844 MB / 1.217 GB, free: 4.176 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches