Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001807/0.001807, allocations: 112.7 kB / 18.94 MB, free: 2.93 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00249/0.00249, allocations: 187 kB / 22.22 MB, free: 5.102 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.166/3.166, allocations: 496 MB / 0.7835 GB, free: 33.73 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic")
translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 67 kB / 1.138 GB, free: 33.96 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3608, allocations: 173.6 MB / 1.307 GB, free: 1.852 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.007645/0.3685, allocations: 4.926 MB / 1.312 GB, free: 12.91 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.1995/0.568, allocations: 151.2 MB / 1.46 GB, free: 5.125 MB / 1.154 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001098/0.5691, allocations: 23.81 kB / 1.46 GB, free: 5.102 MB / 1.154 GB
Notification: Performance of NFTyping.typeComponents: time 0.0007507/0.5699, allocations: 194.2 kB / 1.46 GB, free: 4.91 MB / 1.154 GB
Notification: Performance of NFTyping.typeBindings: time 0.002108/0.572, allocations: 0.5438 MB / 1.46 GB, free: 4.367 MB / 1.154 GB
Notification: Performance of NFTyping.typeClassSections: time 0.002281/0.5743, allocations: 0.8505 MB / 1.461 GB, free: 3.523 MB / 1.154 GB
Notification: Performance of NFFlatten.flatten: time 0.001835/0.5761, allocations: 1.378 MB / 1.463 GB, free: 2.141 MB / 1.154 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0008054/0.5769, allocations: 413.9 kB / 1.463 GB, free: 1.707 MB / 1.154 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0007788/0.5777, allocations: 498.3 kB / 1.464 GB, free: 1.219 MB / 1.154 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006617/0.5783, allocations: 0.4978 MB / 1.464 GB, free: 0.7188 MB / 1.154 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001869/0.5785, allocations: 116 kB / 1.464 GB, free: 0.6055 MB / 1.154 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001039/0.5796, allocations: 483.6 kB / 1.465 GB, free: 136 kB / 1.154 GB
Notification: Performance of NFScalarize.scalarize: time 0.0003524/0.5799, allocations: 295 kB / 1.465 GB, free: 15.84 MB / 1.17 GB
Notification: Performance of NFVerifyModel.verify: time 0.0006151/0.5805, allocations: 0.5557 MB / 1.465 GB, free: 15.29 MB / 1.17 GB
Notification: Performance of NFConvertDAE.convert: time 0.002374/0.5829, allocations: 1.627 MB / 1.467 GB, free: 13.65 MB / 1.17 GB
Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.5829, allocations: 8 kB / 1.467 GB, free: 13.64 MB / 1.17 GB
Notification: Performance of FrontEnd: time 1.563e-06/0.5829, allocations: 3.938 kB / 1.467 GB, free: 13.64 MB / 1.17 GB
Notification: Performance of Transformations before backend: time 1.573e-05/0.5829, allocations: 0 / 1.467 GB, free: 13.64 MB / 1.17 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 211
 * Number of variables: 211
Notification: Performance of Generate backend data structure: time 0.002839/0.5858, allocations: 1.384 MB / 1.468 GB, free: 12.23 MB / 1.17 GB
Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.5858, allocations: 12.92 kB / 1.468 GB, free: 12.21 MB / 1.17 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009934/0.5868, allocations: 192.1 kB / 1.469 GB, free: 12.03 MB / 1.17 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/0.5882, allocations: 0.694 MB / 1.469 GB, free: 11.3 MB / 1.17 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.097e-05/0.5882, allocations: 58 kB / 1.469 GB, free: 11.25 MB / 1.17 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.5884, allocations: 87.98 kB / 1.469 GB, free: 11.16 MB / 1.17 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001788/0.5901, allocations: 0.9106 MB / 1.47 GB, free: 10.21 MB / 1.17 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.5902, allocations: 0 / 1.47 GB, free: 10.21 MB / 1.17 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.235e-05/0.5903, allocations: 35.98 kB / 1.47 GB, free: 10.18 MB / 1.17 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.633e-05/0.5903, allocations: 23.98 kB / 1.47 GB, free: 10.15 MB / 1.17 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002054/0.5923, allocations: 1.108 MB / 1.471 GB, free: 9.047 MB / 1.17 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00485/0.5972, allocations: 2.674 MB / 1.474 GB, free: 6.242 MB / 1.17 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001688/0.5989, allocations: 0.7548 MB / 1.475 GB, free: 5.477 MB / 1.17 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0005947/0.5995, allocations: 278.6 kB / 1.475 GB, free: 5.203 MB / 1.17 GB
Notification: Performance of preOpt evalFunc (simulation): time 8.469e-05/0.5996, allocations: 32.69 kB / 1.475 GB, free: 5.172 MB / 1.17 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009932/0.6005, allocations: 495.2 kB / 1.475 GB, free: 4.668 MB / 1.17 GB
Notification: Performance of pre-optimization done (n=80): time 2.635e-06/0.6005, allocations: 0 / 1.475 GB, free: 4.668 MB / 1.17 GB
Notification: Performance of matching and sorting (n=80): time 0.003628/0.6042, allocations: 1.127 MB / 1.477 GB, free: 3.531 MB / 1.17 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001479/0.6043, allocations: 192.6 kB / 1.477 GB, free: 3.301 MB / 1.17 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000973/0.6053, allocations: 0.6293 MB / 1.477 GB, free: 2.664 MB / 1.17 GB
Notification: Performance of collectPreVariables (initialization): time 8.123e-05/0.6054, allocations: 41.7 kB / 1.477 GB, free: 2.617 MB / 1.17 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0004167/0.6058, allocations: 405 kB / 1.478 GB, free: 2.215 MB / 1.17 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0002789/0.6061, allocations: 269.7 kB / 1.478 GB, free: 1.949 MB / 1.17 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002917/0.6064, allocations: 166.6 kB / 1.478 GB, free: 1.781 MB / 1.17 GB
Notification: Performance of setup shared object (initialization): time 0.0002269/0.6066, allocations: 394.7 kB / 1.479 GB, free: 1.387 MB / 1.17 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000601/0.6072, allocations: 261.9 kB / 1.479 GB, free: 1.129 MB / 1.17 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007093/0.6079, allocations: 367.1 kB / 1.479 GB, free: 0.7578 MB / 1.17 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/0.6092, allocations: 0.6033 MB / 1.48 GB, free: 144 kB / 1.17 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.6092, allocations: 0 / 1.48 GB, free: 144 kB / 1.17 GB
Notification: Performance of matching and sorting (n=97) (initialization): time 0.0023/0.6115, allocations: 0.857 MB / 1.481 GB, free: 15.27 MB / 1.186 GB
Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/0.6115, allocations: 8 kB / 1.481 GB, free: 15.27 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.118e-06/0.6115, allocations: 0 / 1.481 GB, free: 15.27 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0006643/0.6122, allocations: 84.89 kB / 1.481 GB, free: 15.18 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007242/0.6129, allocations: 167.7 kB / 1.481 GB, free: 15.02 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002729/0.6156, allocations: 1.528 MB / 1.482 GB, free: 13.37 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008864/0.6165, allocations: 100.3 kB / 1.482 GB, free: 13.27 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.398e-05/0.6166, allocations: 35.97 kB / 1.483 GB, free: 13.23 MB / 1.186 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 4
 * Number of states: 0 ()
 * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (95):
 * Single equations (assignments): 94
 * 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.0005736/0.6172, allocations: 271.5 kB / 1.483 GB, free: 12.96 MB / 1.186 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001857/0.6174, allocations: 83.48 kB / 1.483 GB, free: 12.88 MB / 1.186 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002606/0.62, allocations: 1.05 MB / 1.484 GB, free: 11.81 MB / 1.186 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/0.62, allocations: 12 kB / 1.484 GB, free: 11.8 MB / 1.186 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.62, allocations: 3.938 kB / 1.484 GB, free: 11.8 MB / 1.186 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.421e-05/0.62, allocations: 11.97 kB / 1.484 GB, free: 11.79 MB / 1.186 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/0.6213, allocations: 0.8559 MB / 1.485 GB, free: 10.88 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.6213, allocations: 3.984 kB / 1.485 GB, free: 10.88 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006364/0.6219, allocations: 143.8 kB / 1.485 GB, free: 10.74 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0005027/0.6224, allocations: 76.73 kB / 1.485 GB, free: 10.66 MB / 1.186 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.729e-05/0.6225, allocations: 27.97 kB / 1.485 GB, free: 10.63 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002204/0.6247, allocations: 1.567 MB / 1.487 GB, free: 8.949 MB / 1.186 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.6247, allocations: 0 / 1.487 GB, free: 8.949 MB / 1.186 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002241/0.6269, allocations: 0.9244 MB / 1.487 GB, free: 8 MB / 1.186 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0004909/0.6274, allocations: 195.1 kB / 1.488 GB, free: 7.809 MB / 1.186 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.6275, allocations: 19.95 kB / 1.488 GB, free: 7.789 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006568/0.6282, allocations: 70.27 kB / 1.488 GB, free: 7.723 MB / 1.186 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001794/0.6284, allocations: 76.86 kB / 1.488 GB, free: 7.648 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.582e-05/0.6285, allocations: 35.92 kB / 1.488 GB, free: 7.613 MB / 1.186 GB
Notification: Performance of sorting global known variables: time 0.0006797/0.6291, allocations: 459 kB / 1.488 GB, free: 7.172 MB / 1.186 GB
Notification: Performance of sort global known variables: time 8e-08/0.6291, allocations: 0 / 1.488 GB, free: 7.172 MB / 1.186 GB
Notification: Performance of remove unused functions: time 0.0009311/0.6301, allocations: 319.2 kB / 1.489 GB, free: 6.859 MB / 1.186 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext)
 * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (91):
 * Single equations (assignments): 85
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 5
 * 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,3)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.002054/0.6321, allocations: 0.5976 MB / 1.489 GB, free: 6.434 MB / 1.186 GB
Notification: Performance of simCode: created initialization part: time 0.001991/0.6341, allocations: 0.7961 MB / 1.49 GB, free: 5.625 MB / 1.186 GB
Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.6341, allocations: 4 kB / 1.49 GB, free: 5.621 MB / 1.186 GB
Notification: Performance of simCode: created simulation system equations: time 0.00104/0.6352, allocations: 0.4925 MB / 1.49 GB, free: 5.121 MB / 1.186 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001396/0.6366, allocations: 315.4 kB / 1.491 GB, free: 4.836 MB / 1.186 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003367/0.6399, allocations: 1.656 MB / 1.492 GB, free: 3.145 MB / 1.186 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007699/0.6407, allocations: 1.019 MB / 1.493 GB, free: 2.098 MB / 1.186 GB
Notification: Performance of simCode: alias equations: time 0.0008708/0.6416, allocations: 258.7 kB / 1.494 GB, free: 1.84 MB / 1.186 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002857/0.6418, allocations: 111.3 kB / 1.494 GB, free: 1.73 MB / 1.186 GB
Notification: Performance of SimCode: time 7.72e-07/0.6419, allocations: 3.938 kB / 1.494 GB, free: 1.727 MB / 1.186 GB
Notification: Performance of Templates: time 0.03089/0.6727, allocations: 15.71 MB / 1.509 GB, free: 2.219 MB / 1.201 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 9.995717632584274]