Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001052, allocations: 91.22 kB / 15.06 MB, free: 1.098 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.001331/0.001331, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 223.3 MB / 240 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.53/2.53, allocations: 390.9 MB / 0.666 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004038/0.0004041, allocations: 8 kB / 0.8153 GB, free: 13.6 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7893/0.7898, allocations: 142.4 MB / 0.9544 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005121/0.7949, allocations: 4.076 MB / 0.9584 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1848/0.9798, allocations: 136.9 MB / 1.092 GB, free: 2.125 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/0.9809, allocations: 23.81 kB / 1.092 GB, free: 2.102 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0005821/0.9815, allocations: 150.8 kB / 1.092 GB, free: 1.953 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001627/0.9832, allocations: 433.7 kB / 1.093 GB, free: 1.531 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002058/0.9852, allocations: 0.6595 MB / 1.093 GB, free: 0.8789 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001593/0.9869, allocations: 1.233 MB / 1.095 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009646/0.9878, allocations: 0.6944 MB / 1.095 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006153/0.9884, allocations: 374.1 kB / 1.096 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005031/0.989, allocations: 421.6 kB / 1.096 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.327e-05/0.9891, allocations: 28 kB / 1.096 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000879/0.9899, allocations: 339.6 kB / 1.096 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002247/0.9902, allocations: 214.9 kB / 1.097 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002101/0.9904, allocations: 233 kB / 1.097 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001406/0.9918, allocations: 1.418 MB / 1.098 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.9918, allocations: 0 / 1.098 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.733e-06/0.9918, allocations: 0 / 1.098 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.905e-05/0.9919, allocations: 0 / 1.098 GB, free: 11.92 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.002531/0.9944, allocations: 1.425 MB / 1.1 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.9945, allocations: 12.03 kB / 1.1 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009191/0.9954, allocations: 230 kB / 1.1 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/0.9966, allocations: 0.8091 MB / 1.101 GB, free: 9.348 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.129e-05/0.9967, allocations: 90.41 kB / 1.101 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/0.9969, allocations: 120 kB / 1.101 GB, free: 9.141 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00199/0.9989, allocations: 1.198 MB / 1.102 GB, free: 7.879 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/0.9989, allocations: 3.984 kB / 1.102 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.999, allocations: 55.94 kB / 1.102 GB, free: 7.82 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.767e-05/0.999, allocations: 32 kB / 1.102 GB, free: 7.789 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001973/1.001, allocations: 1.281 MB / 1.103 GB, free: 6.5 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004874/1.006, allocations: 3.178 MB / 1.106 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/1.007, allocations: 0.863 MB / 1.107 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005321/1.008, allocations: 334.6 kB / 1.108 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.567e-05/1.008, allocations: 28.78 kB / 1.108 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009167/1.009, allocations: 0.5197 MB / 1.108 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=87): time 2.585e-06/1.009, allocations: 4 kB / 1.108 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of matching and sorting (n=87): time 0.003082/1.012, allocations: 1.278 MB / 1.109 GB, free: 176 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001373/1.012, allocations: 196.9 kB / 1.109 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009804/1.013, allocations: 0.7313 MB / 1.11 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.103e-05/1.013, allocations: 41.7 kB / 1.11 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004522/1.014, allocations: 0.5192 MB / 1.111 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002194/1.014, allocations: 287.9 kB / 1.111 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.122e-05/1.014, allocations: 12 kB / 1.111 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001306/1.014, allocations: 334 kB / 1.111 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005167/1.015, allocations: 293.8 kB / 1.112 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005913/1.015, allocations: 399.1 kB / 1.112 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005619/1.016, allocations: 330.8 kB / 1.112 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/1.016, allocations: 0 / 1.112 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001835/1.018, allocations: 0.9267 MB / 1.113 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/1.018, allocations: 8 kB / 1.113 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/1.018, allocations: 64 / 1.113 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005451/1.018, allocations: 84.86 kB / 1.113 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007036/1.019, allocations: 175.8 kB / 1.113 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001908/1.021, allocations: 1.52 MB / 1.115 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007198/1.022, allocations: 116.4 kB / 1.115 GB, free: 10 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.195e-05/1.022, allocations: 44.03 kB / 1.115 GB, free: 9.961 MB / 0.8731 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005434/1.022, allocations: 287.4 kB / 1.115 GB, free: 9.672 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/1.022, allocations: 90.88 kB / 1.115 GB, free: 9.582 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002308/1.025, allocations: 1.141 MB / 1.117 GB, free: 8.426 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/1.025, allocations: 8 kB / 1.117 GB, free: 8.418 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/1.025, allocations: 0 / 1.117 GB, free: 8.418 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/1.025, allocations: 7.984 kB / 1.117 GB, free: 8.41 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/1.026, allocations: 1.052 MB / 1.118 GB, free: 7.305 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/1.026, allocations: 0 / 1.118 GB, free: 7.305 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006/1.027, allocations: 159.7 kB / 1.118 GB, free: 7.148 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004589/1.027, allocations: 84.77 kB / 1.118 GB, free: 7.062 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.846e-05/1.027, allocations: 31.94 kB / 1.118 GB, free: 7.031 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001672/1.029, allocations: 1.552 MB / 1.119 GB, free: 5.344 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/1.029, allocations: 0 / 1.119 GB, free: 5.344 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001895/1.031, allocations: 0.9824 MB / 1.12 GB, free: 4.336 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00042/1.031, allocations: 303.5 kB / 1.121 GB, free: 4.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/1.031, allocations: 19.98 kB / 1.121 GB, free: 4 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006219/1.032, allocations: 79.94 kB / 1.121 GB, free: 3.922 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000154/1.032, allocations: 72.89 kB / 1.121 GB, free: 3.852 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.38e-05/1.032, allocations: 39.97 kB / 1.121 GB, free: 3.812 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006792/1.033, allocations: 0.5068 MB / 1.121 GB, free: 3.312 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.435e-06/1.033, allocations: 3.938 kB / 1.121 GB, free: 3.309 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001019/1.034, allocations: 374.7 kB / 1.122 GB, free: 2.941 MB / 0.8731 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 (98): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001487/1.036, allocations: 0.6011 MB / 1.122 GB, free: 2.516 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001785/1.037, allocations: 0.8859 MB / 1.123 GB, free: 1.617 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/1.037, allocations: 0 / 1.123 GB, free: 1.617 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009679/1.038, allocations: 0.5356 MB / 1.124 GB, free: 1.074 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001259/1.04, allocations: 280.5 kB / 1.124 GB, free: 0.8047 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004932/1.045, allocations: 2.611 MB / 1.127 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007768/1.045, allocations: 1.102 MB / 1.128 GB, free: 13.03 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001007/1.046, allocations: 279.3 kB / 1.128 GB, free: 12.75 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002988/1.047, allocations: 111.4 kB / 1.128 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of SimCode: time 2.124e-06/1.047, allocations: 0 / 1.128 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of Templates: time 0.02775/1.074, allocations: 14.38 MB / 1.142 GB, free: 14.43 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches