Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) 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.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0101/0.0101, allocations: 98.67 kB / 15.88 MB, free: 6.316 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.00194/0.00194, allocations: 194.9 kB / 16.79 MB, free: 6.242 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.477/1.477, allocations: 222.9 MB / 240.5 MB, free: 4.613 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.565/2.565, allocations: 390.2 MB / 0.6649 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 55.91 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7971/0.7987, allocations: 140.4 MB / 0.9496 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005639/0.8043, allocations: 4.34 MB / 0.9538 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1653/0.9697, allocations: 148.2 MB / 1.099 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.9707, allocations: 19.88 kB / 1.099 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007856/0.9715, allocations: 134.9 kB / 1.099 GB, free: 8.824 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001964/0.9736, allocations: 445.6 kB / 1.099 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002172/0.9758, allocations: 0.7097 MB / 1.1 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001623/0.9774, allocations: 1.207 MB / 1.101 GB, free: 6.477 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001041/0.9785, allocations: 0.5958 MB / 1.102 GB, free: 5.855 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007226/0.9792, allocations: 406.3 kB / 1.102 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006706/0.9799, allocations: 461.8 kB / 1.102 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002236/0.9801, allocations: 56 kB / 1.102 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009803/0.9811, allocations: 395.6 kB / 1.103 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003023/0.9814, allocations: 239 kB / 1.103 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005919/0.982, allocations: 485.2 kB / 1.104 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001435/0.9835, allocations: 1.177 MB / 1.105 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.9835, allocations: 0 / 1.105 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.42e-07/0.9835, allocations: 0 / 1.105 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.873e-05/0.9835, allocations: 0 / 1.105 GB, free: 2.672 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.003135/0.9867, allocations: 1.411 MB / 1.106 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.9867, allocations: 12.03 kB / 1.106 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/0.9878, allocations: 179.4 kB / 1.106 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/0.989, allocations: 0.7382 MB / 1.107 GB, free: 248 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.108e-05/0.9891, allocations: 69.94 kB / 1.107 GB, free: 180 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.9892, allocations: 76 kB / 1.107 GB, free: 104 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001778/0.991, allocations: 0.9145 MB / 1.108 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.991, allocations: 0 / 1.108 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-05/0.9911, allocations: 40 kB / 1.108 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.959e-05/0.9911, allocations: 20 kB / 1.108 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001907/0.9931, allocations: 1.1 MB / 1.109 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004507/0.9976, allocations: 2.503 MB / 1.112 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001596/0.9992, allocations: 0.7902 MB / 1.112 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00054/0.9998, allocations: 298.6 kB / 1.113 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.449e-05/0.9998, allocations: 32.67 kB / 1.113 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000913/1.001, allocations: 491.1 kB / 1.113 GB, free: 9.785 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=80): time 4.127e-06/1.001, allocations: 3.984 kB / 1.113 GB, free: 9.781 MB / 0.8731 GB Notification: Performance of matching and sorting (n=80): time 0.003377/1.004, allocations: 1.186 MB / 1.114 GB, free: 8.57 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/1.004, allocations: 192.5 kB / 1.115 GB, free: 8.34 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009381/1.005, allocations: 0.6293 MB / 1.115 GB, free: 7.707 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.443e-05/1.005, allocations: 41.7 kB / 1.115 GB, free: 7.66 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003632/1.006, allocations: 400.3 kB / 1.116 GB, free: 7.262 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002445/1.006, allocations: 264.2 kB / 1.116 GB, free: 7 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002751/1.006, allocations: 162.5 kB / 1.116 GB, free: 6.836 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001896/1.006, allocations: 390.7 kB / 1.116 GB, free: 6.445 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005892/1.007, allocations: 261.9 kB / 1.117 GB, free: 6.188 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006783/1.008, allocations: 367.1 kB / 1.117 GB, free: 5.816 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/1.009, allocations: 0.5955 MB / 1.118 GB, free: 5.207 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/1.009, allocations: 0 / 1.118 GB, free: 5.207 MB / 0.8731 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002149/1.011, allocations: 0.8605 MB / 1.118 GB, free: 4.336 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/1.011, allocations: 4 kB / 1.118 GB, free: 4.332 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/1.011, allocations: 0 / 1.118 GB, free: 4.332 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006461/1.012, allocations: 76.81 kB / 1.118 GB, free: 4.254 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007106/1.013, allocations: 167.7 kB / 1.119 GB, free: 4.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002467/1.015, allocations: 1.52 MB / 1.12 GB, free: 2.426 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008553/1.016, allocations: 93.3 kB / 1.12 GB, free: 2.336 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/1.016, allocations: 35.97 kB / 1.12 GB, free: 2.301 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 (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.000517/1.016, allocations: 267.5 kB / 1.12 GB, free: 2.031 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002506/1.017, allocations: 90.89 kB / 1.121 GB, free: 1.941 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002487/1.019, allocations: 1.058 MB / 1.122 GB, free: 0.8711 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/1.019, allocations: 8 kB / 1.122 GB, free: 0.8633 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/1.019, allocations: 4 kB / 1.122 GB, free: 0.8594 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/1.019, allocations: 3.984 kB / 1.122 GB, free: 0.8555 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001175/1.02, allocations: 0.8918 MB / 1.122 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/1.02, allocations: 0 / 1.122 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005874/1.021, allocations: 143.8 kB / 1.123 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005433/1.022, allocations: 80.77 kB / 1.123 GB, free: 15.69 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.852e-05/1.022, allocations: 27.98 kB / 1.123 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001913/1.024, allocations: 1.544 MB / 1.124 GB, free: 13.98 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.89e-06/1.024, allocations: 3.938 kB / 1.124 GB, free: 13.98 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002053/1.026, allocations: 0.9201 MB / 1.125 GB, free: 13.03 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003976/1.026, allocations: 271.7 kB / 1.125 GB, free: 12.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001634/1.026, allocations: 16 kB / 1.125 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006755/1.027, allocations: 71.98 kB / 1.125 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/1.027, allocations: 72.84 kB / 1.126 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.392e-05/1.027, allocations: 39.91 kB / 1.126 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006056/1.028, allocations: 455 kB / 1.126 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/1.028, allocations: 0 / 1.126 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008982/1.029, allocations: 315.1 kB / 1.126 GB, free: 11.8 MB / 0.8887 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.001501/1.03, allocations: 0.6053 MB / 1.127 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001776/1.032, allocations: 0.8234 MB / 1.128 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.032, allocations: 0 / 1.128 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009586/1.033, allocations: 0.5083 MB / 1.128 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/1.034, allocations: 267.6 kB / 1.128 GB, free: 9.766 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00428/1.039, allocations: 2.193 MB / 1.131 GB, free: 7.539 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006808/1.039, allocations: 1.024 MB / 1.132 GB, free: 6.484 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003504/1.04, allocations: 111.4 kB / 1.132 GB, free: 6.375 MB / 0.8887 GB Notification: Performance of SimCode: time 8.42e-07/1.04, allocations: 0 / 1.132 GB, free: 6.375 MB / 0.8887 GB Notification: Performance of Templates: time 0.02857/1.068, allocations: 18.25 MB / 1.149 GB, free: 4.172 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,HDifTilIso.HSkyDifTil,HDifTilIso.HGroDifTil Variables in the result:HDifTilIso.HGroDifTil,HDifTilIso.HSkyDifTil,time