Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.DiffusePerez,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_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_latest_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.001139/0.001139, allocations: 110.7 kB / 16.37 MB, free: 6.469 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.001224/0.001224, allocations: 192.5 kB / 17.31 MB, free: 5.828 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.417/1.417, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.433/2.433, allocations: 442.6 MB / 0.7165 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 60.59 kB / 0.8773 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.369, allocations: 153 MB / 1.027 GB, free: 2.113 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.009772/0.3788, allocations: 8.422 MB / 1.035 GB, free: 9.652 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.8509/1.23, allocations: 151.8 MB / 1.183 GB, free: 3.188 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002643/1.232, allocations: 23.75 kB / 1.183 GB, free: 3.18 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.00134/1.234, allocations: 323 kB / 1.184 GB, free: 2.895 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004017/1.238, allocations: 0.8481 MB / 1.184 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003649/1.242, allocations: 1.385 MB / 1.186 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004932/1.247, allocations: 3.003 MB / 1.189 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002444/1.249, allocations: 1.491 MB / 1.19 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002205/1.251, allocations: 1.185 MB / 1.191 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0022/1.253, allocations: 1.348 MB / 1.193 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0005924/1.254, allocations: 325.1 kB / 1.193 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001735/1.256, allocations: 0.6955 MB / 1.194 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006714/1.257, allocations: 0.6941 MB / 1.194 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001489/1.258, allocations: 1.344 MB / 1.196 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004312/1.262, allocations: 3.659 MB / 1.199 GB, free: 8.152 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/1.262, allocations: 0 / 1.199 GB, free: 8.152 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.943e-06/1.262, allocations: 3.938 kB / 1.199 GB, free: 8.148 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.471e-05/1.262, allocations: 0 / 1.199 GB, free: 8.148 MB / 0.9044 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.007092/1.27, allocations: 2.829 MB / 1.202 GB, free: 6.125 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/1.27, allocations: 9.25 kB / 1.202 GB, free: 6.125 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01476/1.284, allocations: 2.118 MB / 1.204 GB, free: 5.16 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003248/1.288, allocations: 1.283 MB / 1.205 GB, free: 4.113 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001495/1.288, allocations: 168.8 kB / 1.205 GB, free: 4.035 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005595/1.288, allocations: 220.4 kB / 1.206 GB, free: 3.961 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009629/1.298, allocations: 3.279 MB / 1.209 GB, free: 1.988 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.915e-05/1.298, allocations: 7.938 kB / 1.209 GB, free: 1.98 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003063/1.298, allocations: 91.88 kB / 1.209 GB, free: 1.91 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.544e-05/1.299, allocations: 55.72 kB / 1.209 GB, free: 1.91 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01381/1.312, allocations: 4.199 MB / 1.213 GB, free: 14.3 MB / 0.92 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.02454/1.337, allocations: 8.045 MB / 1.221 GB, free: 5.988 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01024/1.347, allocations: 2.88 MB / 1.224 GB, free: 3.102 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005123/1.352, allocations: 1.497 MB / 1.225 GB, free: 1.605 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001157/1.354, allocations: 0.4996 MB / 1.226 GB, free: 1.012 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006162/1.36, allocations: 1.848 MB / 1.227 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=213): time 8.627e-06/1.36, allocations: 4 kB / 1.227 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of matching and sorting (n=213): time 0.01822/1.378, allocations: 4.474 MB / 1.232 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001604/1.378, allocations: 205.9 kB / 1.232 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00218/1.38, allocations: 0.9371 MB / 1.233 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.000588/1.381, allocations: 69.69 kB / 1.233 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009032/1.382, allocations: 0.7426 MB / 1.234 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.001228/1.383, allocations: 0.6737 MB / 1.234 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001584/1.385, allocations: 403.1 kB / 1.235 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001432/1.385, allocations: 301.1 kB / 1.235 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004326/1.389, allocations: 1.261 MB / 1.236 GB, free: 5.969 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004418/1.394, allocations: 1.434 MB / 1.238 GB, free: 4.512 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008348/1.402, allocations: 2.61 MB / 1.24 GB, free: 1.883 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.468e-06/1.402, allocations: 4 kB / 1.24 GB, free: 1.879 MB / 0.9356 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01025/1.412, allocations: 3.128 MB / 1.243 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.873e-05/1.413, allocations: 8 kB / 1.243 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/1.413, allocations: 0 / 1.243 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006287/1.413, allocations: 92.83 kB / 1.243 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003784/1.417, allocations: 0.5967 MB / 1.244 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002296/1.419, allocations: 1.638 MB / 1.246 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003628/1.423, allocations: 366 kB / 1.246 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004868/1.423, allocations: 97.38 kB / 1.246 GB, free: 11.8 MB / 0.9512 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.001527/1.425, allocations: 444 kB / 1.246 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007436/1.426, allocations: 154.1 kB / 1.247 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01172/1.437, allocations: 3.714 MB / 1.25 GB, free: 7.473 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.183e-05/1.438, allocations: 23.09 kB / 1.25 GB, free: 7.453 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/1.438, allocations: 0 / 1.25 GB, free: 7.453 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-05/1.438, allocations: 11.95 kB / 1.25 GB, free: 7.441 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003866/1.441, allocations: 2.455 MB / 1.253 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.103e-05/1.441, allocations: 8 kB / 1.253 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003451/1.445, allocations: 0.5539 MB / 1.253 GB, free: 4.375 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004807/1.445, allocations: 80.66 kB / 1.253 GB, free: 4.293 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000289/1.446, allocations: 79.91 kB / 1.253 GB, free: 4.215 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002056/1.448, allocations: 1.658 MB / 1.255 GB, free: 2.414 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.448, allocations: 0 / 1.255 GB, free: 2.414 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01033/1.458, allocations: 3.214 MB / 1.258 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001605/1.46, allocations: 0.5491 MB / 1.259 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006786/1.46, allocations: 59.77 kB / 1.259 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00314/1.464, allocations: 263.7 kB / 1.259 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004204/1.464, allocations: 149.8 kB / 1.259 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003355/1.464, allocations: 91.91 kB / 1.259 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001416/1.466, allocations: 0.7036 MB / 1.26 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of sort global known variables: time 5.41e-07/1.466, allocations: 0 / 1.26 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002606/1.468, allocations: 0.6739 MB / 1.261 GB, free: 12.66 MB / 0.9669 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.001835/1.47, allocations: 0.6617 MB / 1.261 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.009909/1.48, allocations: 3.163 MB / 1.264 GB, free: 9.004 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/1.48, allocations: 0 / 1.264 GB, free: 9.004 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.005387/1.486, allocations: 1.747 MB / 1.266 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002611/1.488, allocations: 411.4 kB / 1.266 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01102/1.499, allocations: 4.069 MB / 1.27 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001541/1.501, allocations: 1.422 MB / 1.272 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.003969/1.505, allocations: 0.5755 MB / 1.272 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00131/1.506, allocations: 239.2 kB / 1.273 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of SimCode: time 1.443e-06/1.506, allocations: 0 / 1.273 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of Templates: time 0.06333/1.57, allocations: 31.43 MB / 1.303 GB, free: 1.25 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches