Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HGloRoo.H|HGloWal.H|HGloFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HGloRoo.H|HGloWal.H|HGloFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 115.7 kB / 16.42 MB, free: 6.48 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.001192/0.001192, allocations: 186.6 kB / 17.35 MB, free: 5.746 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.401/1.401, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.654/2.654, allocations: 472.7 MB / 0.746 GB, free: 416 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 63.91 kB / 1.07 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7519/0.7533, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface): time 0.01404/0.7674, allocations: 11.78 MB / 1.238 GB, free: 1.68 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1606/0.928, allocations: 152.7 MB / 1.387 GB, free: 8.41 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001315/0.9294, allocations: 27.88 kB / 1.387 GB, free: 8.383 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0009632/0.9303, allocations: 447.3 kB / 1.387 GB, free: 7.941 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002827/0.9332, allocations: 1.198 MB / 1.389 GB, free: 6.738 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00327/0.9365, allocations: 1.664 MB / 1.39 GB, free: 5.078 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0043/0.9408, allocations: 4.219 MB / 1.394 GB, free: 0.8438 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002849/0.9436, allocations: 2.379 MB / 1.397 GB, free: 14.39 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002145/0.9458, allocations: 1.788 MB / 1.398 GB, free: 12.6 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002016/0.9478, allocations: 1.969 MB / 1.4 GB, free: 10.62 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0006111/0.9485, allocations: 0.5469 MB / 1.401 GB, free: 10.08 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001468/0.9499, allocations: 0.9371 MB / 1.402 GB, free: 9.141 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000866/0.9508, allocations: 1.067 MB / 1.403 GB, free: 8.07 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001767/0.9526, allocations: 2.077 MB / 1.405 GB, free: 5.984 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.005638/0.9582, allocations: 5.886 MB / 1.411 GB, free: 80 kB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.9582, allocations: 0 / 1.411 GB, free: 80 kB / 1.123 GB Notification: Performance of FrontEnd: time 1.403e-06/0.9583, allocations: 3.938 kB / 1.411 GB, free: 76 kB / 1.123 GB Notification: Performance of Transformations before backend: time 6.94e-05/0.9583, allocations: 0 / 1.411 GB, free: 76 kB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 875 * Number of variables: 875 Notification: Performance of Generate backend data structure: time 0.00756/0.9659, allocations: 3.894 MB / 1.414 GB, free: 12.1 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.966, allocations: 16.02 kB / 1.414 GB, free: 12.08 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01594/0.9819, allocations: 2.234 MB / 1.417 GB, free: 9.844 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003312/0.9852, allocations: 1.774 MB / 1.418 GB, free: 8.012 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002079/0.9855, allocations: 254.9 kB / 1.419 GB, free: 7.762 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005558/0.986, allocations: 332 kB / 1.419 GB, free: 7.438 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01093/0.997, allocations: 4.461 MB / 1.423 GB, free: 2.918 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-05/0.997, allocations: 0 / 1.423 GB, free: 2.918 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00033/0.9974, allocations: 140 kB / 1.423 GB, free: 2.781 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.961e-05/0.9975, allocations: 84 kB / 1.423 GB, free: 2.699 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01446/1.012, allocations: 5.155 MB / 1.428 GB, free: 13.54 MB / 1.154 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.02104/1.033, allocations: 12.5 MB / 1.441 GB, free: 0.543 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009808/1.043, allocations: 3.384 MB / 1.444 GB, free: 13.15 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004745/1.048, allocations: 1.736 MB / 1.446 GB, free: 11.41 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008411/1.048, allocations: 0.523 MB / 1.446 GB, free: 10.8 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005367/1.054, allocations: 2.141 MB / 1.448 GB, free: 8.641 MB / 1.17 GB Notification: Performance of pre-optimization done (n=249): time 5.19e-06/1.054, allocations: 0 / 1.448 GB, free: 8.641 MB / 1.17 GB Notification: Performance of matching and sorting (n=249): time 0.01591/1.07, allocations: 5.205 MB / 1.453 GB, free: 3.41 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/1.07, allocations: 209.9 kB / 1.454 GB, free: 3.16 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001799/1.072, allocations: 1.308 MB / 1.455 GB, free: 1.836 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0002436/1.072, allocations: 69.7 kB / 1.455 GB, free: 1.762 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001156/1.073, allocations: 1.159 MB / 1.456 GB, free: 0.5898 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008246/1.074, allocations: 0.8287 MB / 1.457 GB, free: 15.75 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009742/1.075, allocations: 464.2 kB / 1.457 GB, free: 15.29 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001244/1.075, allocations: 309.1 kB / 1.458 GB, free: 14.99 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004645/1.08, allocations: 1.48 MB / 1.459 GB, free: 13.5 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004771/1.085, allocations: 1.679 MB / 1.461 GB, free: 11.79 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009336/1.094, allocations: 3.071 MB / 1.464 GB, free: 8.664 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/1.094, allocations: 0 / 1.464 GB, free: 8.664 MB / 1.186 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.01126/1.105, allocations: 3.668 MB / 1.467 GB, free: 4.945 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.84e-05/1.105, allocations: 8 kB / 1.467 GB, free: 4.938 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/1.105, allocations: 0 / 1.467 GB, free: 4.938 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006737/1.106, allocations: 92.83 kB / 1.467 GB, free: 4.844 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004229/1.11, allocations: 0.6747 MB / 1.468 GB, free: 4.168 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00226/1.112, allocations: 1.641 MB / 1.47 GB, free: 2.383 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003632/1.116, allocations: 418.2 kB / 1.47 GB, free: 1.973 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003824/1.116, allocations: 115.9 kB / 1.47 GB, free: 1.859 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 35 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HGloWal.HDirTil.incAng.decAng.tNext,$PRE.HGloWal.HDirTil.incAng.decAng.tNext,HGloWal.HDifTil.incAng.decAng.tNext,$PRE.HGloWal.HDifTil.incAng.decAng.tNext,HGloFlo.HDirTil.incAng.decAng.tNext,$PRE.HGloFlo.HDirTil.incAng.decAng.tNext,HGloFlo.HDifTil.incAng.decAng.tNext,$PRE.HGloFlo.HDifTil.incAng.decAng.tNext,HGloRoo.HDirTil.incAng.decAng.tNext,$PRE.HGloRoo.HDirTil.incAng.decAng.tNext,HGloRoo.HDifTil.incAng.decAng.tNext,$PRE.HGloRoo.HDifTil.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,$whenCondition9,$whenCondition10,$whenCondition11) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (284): * Single equations (assignments): 283 * 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.001668/1.118, allocations: 0.6112 MB / 1.471 GB, free: 1.238 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006401/1.119, allocations: 210.7 kB / 1.471 GB, free: 1.031 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01322/1.132, allocations: 4.352 MB / 1.475 GB, free: 12.61 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.859e-05/1.132, allocations: 11.95 kB / 1.475 GB, free: 12.6 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/1.132, allocations: 0 / 1.475 GB, free: 12.6 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001293/1.133, allocations: 0.7135 MB / 1.476 GB, free: 11.86 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005588/1.134, allocations: 63.84 kB / 1.476 GB, free: 11.8 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003236/1.137, allocations: 283.7 kB / 1.476 GB, free: 11.52 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004095/1.138, allocations: 185.9 kB / 1.476 GB, free: 11.34 MB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01329/1.151, allocations: 3.962 MB / 1.48 GB, free: 7.328 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01573/1.167, allocations: 5.932 MB / 1.486 GB, free: 1.316 MB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004693/1.171, allocations: 1.77 MB / 1.488 GB, free: 15.53 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001523/1.173, allocations: 0.9637 MB / 1.489 GB, free: 14.57 MB / 1.217 GB Notification: Performance of Backend: time 4.41e-07/1.173, allocations: 0 / 1.489 GB, free: 14.57 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.008812/1.182, allocations: 2.899 MB / 1.492 GB, free: 11.88 MB / 1.217 GB Notification: Performance of SimCode: time 0.007674/1.189, allocations: 4.768 MB / 1.496 GB, free: 7.066 MB / 1.217 GB Notification: Performance of Templates: time 0.07681/1.266, allocations: 50.56 MB / 1.546 GB, free: 4.746 MB / 1.264 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_GlobalPerezTiltedSurface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches