Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.DiffusePerez,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_9_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_9_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.001016/0.001016, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.00834/0.00834, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.405/1.405, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.395/2.395, allocations: 390.9 MB / 0.6663 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003452/0.0003455, allocations: 8 kB / 0.8159 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7143/0.7147, allocations: 142.4 MB / 0.955 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.00533/0.72, allocations: 5.944 MB / 0.9608 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1678/0.8878, allocations: 147.7 MB / 1.105 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001606/0.8895, allocations: 23.88 kB / 1.105 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.8905, allocations: 194.3 kB / 1.105 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002837/0.8934, allocations: 0.5775 MB / 1.106 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003408/0.8968, allocations: 1.202 MB / 1.107 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003517/0.9003, allocations: 2.457 MB / 1.109 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002142/0.9025, allocations: 1.526 MB / 1.111 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001302/0.9038, allocations: 0.7619 MB / 1.112 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001287/0.9051, allocations: 0.9131 MB / 1.113 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002685/0.9054, allocations: 64 kB / 1.113 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001035/0.9064, allocations: 423.6 kB / 1.113 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004042/0.9068, allocations: 402 kB / 1.113 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.000964/0.9078, allocations: 0.9488 MB / 1.114 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003372/0.9112, allocations: 3.2 MB / 1.117 GB, free: 8.398 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.9112, allocations: 3.938 kB / 1.117 GB, free: 8.395 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9112, allocations: 4 kB / 1.117 GB, free: 8.391 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.384e-05/0.9113, allocations: 0 / 1.117 GB, free: 8.391 MB / 0.8731 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.005788/0.9171, allocations: 2.277 MB / 1.12 GB, free: 6.031 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.9172, allocations: 8.031 kB / 1.12 GB, free: 6.023 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01669/0.9338, allocations: 2.292 MB / 1.122 GB, free: 3.727 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002556/0.9364, allocations: 1.263 MB / 1.123 GB, free: 2.418 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001402/0.9366, allocations: 168.5 kB / 1.123 GB, free: 2.25 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004646/0.9371, allocations: 216 kB / 1.124 GB, free: 2.039 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009575/0.9467, allocations: 3.352 MB / 1.127 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.711e-05/0.9467, allocations: 0 / 1.127 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002893/0.947, allocations: 99.98 kB / 1.127 GB, free: 14.49 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.221e-05/0.9471, allocations: 56 kB / 1.127 GB, free: 14.44 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01369/0.9608, allocations: 4.342 MB / 1.131 GB, free: 10.08 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01794/0.9788, allocations: 7.368 MB / 1.138 GB, free: 2.621 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009813/0.9886, allocations: 2.903 MB / 1.141 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004778/0.9934, allocations: 1.506 MB / 1.143 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007779/0.9942, allocations: 0.5032 MB / 1.143 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005428/0.9997, allocations: 1.855 MB / 1.145 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=213): time 4.629e-06/0.9997, allocations: 0 / 1.145 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of matching and sorting (n=213): time 0.01589/1.016, allocations: 4.509 MB / 1.149 GB, free: 7.199 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001405/1.016, allocations: 205.9 kB / 1.15 GB, free: 6.957 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001584/1.017, allocations: 0.9525 MB / 1.151 GB, free: 5.984 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0004331/1.018, allocations: 65.7 kB / 1.151 GB, free: 5.914 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006968/1.019, allocations: 0.735 MB / 1.151 GB, free: 5.168 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007968/1.019, allocations: 0.6853 MB / 1.152 GB, free: 4.473 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003103/1.02, allocations: 145.6 kB / 1.152 GB, free: 4.324 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001002/1.02, allocations: 305.1 kB / 1.152 GB, free: 4.023 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004484/1.024, allocations: 1.265 MB / 1.154 GB, free: 2.758 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00467/1.029, allocations: 1.449 MB / 1.155 GB, free: 1.285 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00906/1.038, allocations: 2.637 MB / 1.158 GB, free: 14.63 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/1.038, allocations: 0 / 1.158 GB, free: 14.63 MB / 0.92 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01121/1.049, allocations: 3.143 MB / 1.161 GB, free: 11.47 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/1.049, allocations: 9.25 kB / 1.161 GB, free: 11.46 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/1.049, allocations: 3.938 kB / 1.161 GB, free: 11.46 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006147/1.05, allocations: 96.77 kB / 1.161 GB, free: 11.36 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003927/1.054, allocations: 0.6046 MB / 1.161 GB, free: 10.76 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002108/1.056, allocations: 1.528 MB / 1.163 GB, free: 9.094 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003604/1.06, allocations: 378 kB / 1.163 GB, free: 8.723 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005083/1.06, allocations: 103.9 kB / 1.163 GB, free: 8.621 MB / 0.92 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.001451/1.062, allocations: 444.2 kB / 1.164 GB, free: 8.176 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005073/1.062, allocations: 150.1 kB / 1.164 GB, free: 8.027 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.013/1.075, allocations: 3.747 MB / 1.168 GB, free: 4.258 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.823e-05/1.075, allocations: 23.94 kB / 1.168 GB, free: 4.234 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/1.075, allocations: 0 / 1.168 GB, free: 4.234 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.562e-05/1.075, allocations: 15.94 kB / 1.168 GB, free: 4.219 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00404/1.079, allocations: 2.447 MB / 1.17 GB, free: 1.727 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.322e-05/1.079, allocations: 4 kB / 1.17 GB, free: 1.723 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003866/1.083, allocations: 0.5656 MB / 1.171 GB, free: 1.156 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006029/1.084, allocations: 84.78 kB / 1.171 GB, free: 1.07 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003776/1.084, allocations: 75.91 kB / 1.171 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002167/1.086, allocations: 1.555 MB / 1.172 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/1.086, allocations: 64 / 1.172 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0124/1.099, allocations: 3.242 MB / 1.175 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001509/1.1, allocations: 0.5724 MB / 1.176 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004744/1.101, allocations: 43.94 kB / 1.176 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003312/1.104, allocations: 296.3 kB / 1.176 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004207/1.105, allocations: 149.8 kB / 1.176 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000269/1.105, allocations: 99.84 kB / 1.176 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001368/1.106, allocations: 0.6958 MB / 1.177 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/1.106, allocations: 0 / 1.177 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002193/1.109, allocations: 0.6465 MB / 1.178 GB, free: 9.512 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001876/1.11, allocations: 0.655 MB / 1.178 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.01116/1.122, allocations: 3.178 MB / 1.182 GB, free: 5.836 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/1.122, allocations: 0 / 1.182 GB, free: 5.836 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.006185/1.128, allocations: 1.782 MB / 1.183 GB, free: 4.047 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00251/1.13, allocations: 340.3 kB / 1.184 GB, free: 3.719 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01271/1.143, allocations: 5.268 MB / 1.189 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001789/1.145, allocations: 1.426 MB / 1.19 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.005182/1.15, allocations: 0.5675 MB / 1.191 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001593/1.152, allocations: 235.2 kB / 1.191 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of SimCode: time 1.232e-06/1.152, allocations: 0 / 1.191 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of Templates: time 0.05952/1.211, allocations: 28.64 MB / 1.219 GB, free: 15.67 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches