Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 113.8 kB / 16.42 MB, free: 6.516 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.001411/0.001412, allocations: 192.2 kB / 17.35 MB, free: 5.738 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.369/1.369, 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 11.0.1-master/package.mo): time 2.635/2.635, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 64.03 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8651/0.8663, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01081/0.8772, allocations: 8.42 MB / 1.217 GB, free: 5.141 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1771/1.054, allocations: 151.8 MB / 1.365 GB, free: 12.73 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002074/1.056, allocations: 23.94 kB / 1.365 GB, free: 12.7 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001276/1.058, allocations: 332.6 kB / 1.365 GB, free: 12.38 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003246/1.061, allocations: 0.8531 MB / 1.366 GB, free: 11.52 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003137/1.064, allocations: 1.388 MB / 1.367 GB, free: 10.14 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003887/1.068, allocations: 3.001 MB / 1.37 GB, free: 7.133 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002036/1.07, allocations: 1.484 MB / 1.372 GB, free: 5.59 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001735/1.072, allocations: 1.199 MB / 1.373 GB, free: 4.387 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00204/1.074, allocations: 1.358 MB / 1.374 GB, free: 3.023 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0006661/1.075, allocations: 324 kB / 1.375 GB, free: 2.707 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001579/1.076, allocations: 0.6949 MB / 1.375 GB, free: 2.012 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0006025/1.077, allocations: 0.6933 MB / 1.376 GB, free: 1.316 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.00132/1.078, allocations: 1.353 MB / 1.377 GB, free: 15.95 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.003809/1.082, allocations: 3.658 MB / 1.381 GB, free: 12.29 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/1.082, allocations: 0 / 1.381 GB, free: 12.29 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.432e-06/1.082, allocations: 3.938 kB / 1.381 GB, free: 12.29 MB / 1.107 GB Notification: Performance of Transformations before backend: time 4.856e-05/1.082, allocations: 0 / 1.381 GB, free: 12.29 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.006212/1.088, allocations: 2.823 MB / 1.384 GB, free: 9.383 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.535e-05/1.088, allocations: 16.02 kB / 1.384 GB, free: 9.367 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01524/1.104, allocations: 2.108 MB / 1.386 GB, free: 7.254 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002646/1.106, allocations: 1.282 MB / 1.387 GB, free: 5.926 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/1.107, allocations: 168.5 kB / 1.387 GB, free: 5.758 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004008/1.107, allocations: 220 kB / 1.387 GB, free: 5.543 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008456/1.115, allocations: 3.282 MB / 1.391 GB, free: 2.168 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.748e-05/1.115, allocations: 4 kB / 1.391 GB, free: 2.164 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002773/1.116, allocations: 92 kB / 1.391 GB, free: 2.074 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.386e-05/1.116, allocations: 55.98 kB / 1.391 GB, free: 2.02 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01197/1.128, allocations: 4.201 MB / 1.395 GB, free: 13.8 MB / 1.123 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01888/1.147, allocations: 8.03 MB / 1.403 GB, free: 5.492 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008887/1.156, allocations: 2.883 MB / 1.405 GB, free: 2.605 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004282/1.16, allocations: 1.497 MB / 1.407 GB, free: 1.102 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008182/1.161, allocations: 0.4996 MB / 1.407 GB, free: 0.5078 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005151/1.166, allocations: 1.847 MB / 1.409 GB, free: 14.64 MB / 1.139 GB Notification: Performance of pre-optimization done (n=213): time 6.503e-06/1.166, allocations: 0 / 1.409 GB, free: 14.64 MB / 1.139 GB Notification: Performance of matching and sorting (n=213): time 0.01509/1.181, allocations: 4.474 MB / 1.414 GB, free: 10.14 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/1.181, allocations: 205.9 kB / 1.414 GB, free: 9.898 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001611/1.183, allocations: 0.9486 MB / 1.415 GB, free: 8.93 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0003061/1.183, allocations: 69.7 kB / 1.415 GB, free: 8.855 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007008/1.184, allocations: 0.731 MB / 1.415 GB, free: 8.113 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007776/1.185, allocations: 0.6853 MB / 1.416 GB, free: 7.418 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008796/1.186, allocations: 399.2 kB / 1.416 GB, free: 7.02 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000105/1.186, allocations: 301.1 kB / 1.417 GB, free: 6.723 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004019/1.19, allocations: 1.253 MB / 1.418 GB, free: 5.469 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004197/1.194, allocations: 1.441 MB / 1.419 GB, free: 4.008 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00795/1.202, allocations: 2.606 MB / 1.422 GB, free: 1.383 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.839e-06/1.202, allocations: 4 kB / 1.422 GB, free: 1.379 MB / 1.139 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.009729/1.212, allocations: 3.128 MB / 1.425 GB, free: 14.24 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.45e-05/1.212, allocations: 8 kB / 1.425 GB, free: 14.23 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/1.212, allocations: 0 / 1.425 GB, free: 14.23 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006186/1.212, allocations: 84.84 kB / 1.425 GB, free: 14.14 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003583/1.216, allocations: 0.6046 MB / 1.426 GB, free: 13.54 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00213/1.218, allocations: 1.638 MB / 1.427 GB, free: 11.75 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003199/1.221, allocations: 366 kB / 1.428 GB, free: 11.39 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000343/1.222, allocations: 99.89 kB / 1.428 GB, free: 11.3 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDifWal.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifRoo.incAng.decAng.tNext,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (239): * Single equations (assignments): 238 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001218/1.223, allocations: 440 kB / 1.428 GB, free: 10.86 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005916/1.224, allocations: 158.2 kB / 1.428 GB, free: 10.7 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01127/1.235, allocations: 3.716 MB / 1.432 GB, free: 6.961 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-05/1.235, allocations: 11.95 kB / 1.432 GB, free: 6.949 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/1.235, allocations: 4 kB / 1.432 GB, free: 6.945 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/1.236, allocations: 0.5374 MB / 1.432 GB, free: 6.387 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005084/1.236, allocations: 51.84 kB / 1.433 GB, free: 6.336 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002852/1.239, allocations: 269.9 kB / 1.433 GB, free: 6.074 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003263/1.24, allocations: 149.8 kB / 1.433 GB, free: 5.926 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0116/1.251, allocations: 3.45 MB / 1.436 GB, free: 2.469 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01353/1.265, allocations: 5.053 MB / 1.441 GB, free: 13.4 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004141/1.269, allocations: 1.515 MB / 1.443 GB, free: 11.88 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001221/1.27, allocations: 0.6958 MB / 1.443 GB, free: 11.18 MB / 1.17 GB Notification: Performance of Backend: time 5.91e-07/1.27, allocations: 4 kB / 1.443 GB, free: 11.18 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.008494/1.279, allocations: 2.588 MB / 1.446 GB, free: 8.805 MB / 1.17 GB Notification: Performance of SimCode: time 0.006187/1.285, allocations: 3.499 MB / 1.449 GB, free: 5.262 MB / 1.17 GB Notification: Performance of Templates: time 0.06691/1.352, allocations: 42.26 MB / 1.491 GB, free: 11.18 MB / 1.217 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches