Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_10_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_10_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.001142/0.001142, allocations: 114 kB / 16.42 MB, free: 6.402 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.001166/0.001166, allocations: 183.9 kB / 17.35 MB, free: 5.719 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.315/1.315, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.424/2.424, allocations: 437 MB / 0.7112 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 55.91 kB / 1.019 GB, free: 9.539 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6999/0.7011, allocations: 151.6 MB / 1.167 GB, free: 3.941 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.00242/0.7036, allocations: 1.498 MB / 1.169 GB, free: 2.434 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001211/0.7048, allocations: 0.7634 MB / 1.169 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.616e-05/0.7049, allocations: 7.938 kB / 1.169 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.9e-05/0.7049, allocations: 3.938 kB / 1.169 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.628e-05/0.705, allocations: 19.84 kB / 1.17 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004852/0.7055, allocations: 123.6 kB / 1.17 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.7056, allocations: 79.77 kB / 1.17 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.649e-05/0.7057, allocations: 11.98 kB / 1.17 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.023e-05/0.7058, allocations: 55.78 kB / 1.17 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.53e-05/0.7059, allocations: 35.83 kB / 1.17 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.7059, allocations: 8 kB / 1.17 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001735/0.7061, allocations: 95.84 kB / 1.17 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.501e-05/0.7062, allocations: 11.98 kB / 1.17 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.013e-05/0.7062, allocations: 39.78 kB / 1.17 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.7064, allocations: 143.5 kB / 1.17 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.7064, allocations: 0 / 1.17 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7065, allocations: 4 kB / 1.17 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.7065, allocations: 0 / 1.17 GB, free: 1.039 MB / 0.8887 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.0006851/0.7072, allocations: 472.3 kB / 1.171 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.7072, allocations: 12.03 kB / 1.171 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.075e-05/0.7072, allocations: 4.938 kB / 1.171 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.7074, allocations: 184.1 kB / 1.171 GB, free: 292 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.7074, allocations: 384 / 1.171 GB, free: 292 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.7074, allocations: 4.375 kB / 1.171 GB, free: 288 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.7076, allocations: 73.97 kB / 1.171 GB, free: 208 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.7076, allocations: 7.984 kB / 1.171 GB, free: 200 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.7076, allocations: 7.984 kB / 1.171 GB, free: 192 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.7077, allocations: 3.938 kB / 1.171 GB, free: 188 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.7078, allocations: 39.97 kB / 1.171 GB, free: 148 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005154/0.7083, allocations: 316.8 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.7085, allocations: 70.58 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.572e-05/0.7086, allocations: 32.84 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.7086, allocations: 0 / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002212/0.7088, allocations: 91.3 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.7088, allocations: 0 / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.00038/0.7092, allocations: 161.5 kB / 1.172 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.7093, allocations: 59.41 kB / 1.172 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.862e-05/0.7094, allocations: 132.4 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.7094, allocations: 29.7 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.704e-05/0.7094, allocations: 88.38 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.7095, allocations: 27.64 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.166e-05/0.7095, allocations: 29.7 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.7096, allocations: 322.8 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.859e-05/0.7097, allocations: 35.91 kB / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.928e-05/0.7098, allocations: 61.14 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.71, allocations: 105.1 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.71, allocations: 0 / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000235/0.7102, allocations: 129.4 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.7103, allocations: 6.656 kB / 1.172 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.7103, allocations: 7.938 kB / 1.173 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.7103, allocations: 0 / 1.173 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.7104, allocations: 19.92 kB / 1.173 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.7104, allocations: 12.12 kB / 1.173 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.7105, allocations: 11.98 kB / 1.173 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.7106, allocations: 7.984 kB / 1.173 GB, free: 14.25 MB / 0.9044 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.018e-05/0.7107, allocations: 124 kB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.058e-05/0.7107, allocations: 7.906 kB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003094/0.711, allocations: 149.9 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.711, allocations: 4 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.711, allocations: 0 / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.834e-05/0.7111, allocations: 89.09 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/0.7111, allocations: 4 kB / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.17e-05/0.7112, allocations: 11.92 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/0.7112, allocations: 11.98 kB / 1.173 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003151/0.7116, allocations: 221 kB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00029/0.7119, allocations: 311 kB / 1.173 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.453e-05/0.712, allocations: 47.97 kB / 1.173 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.164e-05/0.712, allocations: 97.02 kB / 1.174 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of Backend: time 5.52e-07/0.712, allocations: 0 / 1.174 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006429/0.7127, allocations: 193 kB / 1.174 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005087/0.7132, allocations: 0.6366 MB / 1.174 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of Templates: time 0.004403/0.7176, allocations: 1.803 MB / 1.176 GB, free: 10.48 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches