Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001193/0.001193, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001351/0.001351, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.364/1.364, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.577/2.577, allocations: 437 MB / 0.7099 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 59.91 kB / 0.8685 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7412/0.7424, allocations: 151.6 MB / 1.017 GB, free: 2.828 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01039/0.7528, allocations: 8.407 MB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1813/0.9342, allocations: 149.5 MB / 1.171 GB, free: 4.332 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002468/0.9367, allocations: 27.81 kB / 1.171 GB, free: 4.305 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001498/0.9383, allocations: 230 kB / 1.171 GB, free: 4.078 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003881/0.9422, allocations: 0.7301 MB / 1.172 GB, free: 3.348 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003729/0.9459, allocations: 1.229 MB / 1.173 GB, free: 2.125 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004197/0.9502, allocations: 2.775 MB / 1.176 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0026/0.9528, allocations: 1.453 MB / 1.177 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001874/0.9547, allocations: 1.02 MB / 1.178 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001963/0.9566, allocations: 1.225 MB / 1.179 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0006972/0.9574, allocations: 156 kB / 1.179 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001637/0.959, allocations: 0.5113 MB / 1.18 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0007765/0.9598, allocations: 0.5292 MB / 1.18 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001809/0.9616, allocations: 1.174 MB / 1.182 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.004164/0.9658, allocations: 3.454 MB / 1.185 GB, free: 5.738 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.9658, allocations: 0 / 1.185 GB, free: 5.738 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.393e-06/0.9658, allocations: 4 kB / 1.185 GB, free: 5.734 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001454/0.966, allocations: 0 / 1.185 GB, free: 5.734 MB / 0.9356 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.008662/0.9746, allocations: 2.838 MB / 1.188 GB, free: 2.816 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/0.9747, allocations: 8.031 kB / 1.188 GB, free: 2.809 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01592/0.9906, allocations: 2.108 MB / 1.19 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002788/0.9935, allocations: 1.259 MB / 1.191 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001345/0.9936, allocations: 172.5 kB / 1.191 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003963/0.994, allocations: 220 kB / 1.191 GB, free: 15 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009107/1.003, allocations: 3.274 MB / 1.195 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.783e-05/1.003, allocations: 4 kB / 1.195 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002761/1.003, allocations: 95.98 kB / 1.195 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.696e-05/1.004, allocations: 52 kB / 1.195 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01238/1.016, allocations: 4.205 MB / 1.199 GB, free: 7.266 MB / 0.9512 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.01638/1.032, allocations: 8.107 MB / 1.207 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00866/1.041, allocations: 2.88 MB / 1.21 GB, free: 12 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004391/1.045, allocations: 1.491 MB / 1.211 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008489/1.046, allocations: 0.4956 MB / 1.212 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00599/1.052, allocations: 1.848 MB / 1.213 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=213): time 7.334e-06/1.052, allocations: 0 / 1.213 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of matching and sorting (n=213): time 0.01497/1.067, allocations: 4.478 MB / 1.218 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001368/1.068, allocations: 205.9 kB / 1.218 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00153/1.069, allocations: 0.9447 MB / 1.219 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0003199/1.069, allocations: 69.69 kB / 1.219 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006326/1.07, allocations: 0.7271 MB / 1.22 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006993/1.071, allocations: 0.6854 MB / 1.22 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007613/1.072, allocations: 399.1 kB / 1.221 GB, free: 444 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.835e-05/1.072, allocations: 301.1 kB / 1.221 GB, free: 140 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004177/1.076, allocations: 1.257 MB / 1.222 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004478/1.08, allocations: 1.441 MB / 1.224 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009003/1.089, allocations: 2.614 MB / 1.226 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.278e-05/1.089, allocations: 0 / 1.226 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01098/1.1, allocations: 3.12 MB / 1.229 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.884e-05/1.101, allocations: 4 kB / 1.229 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/1.101, allocations: 4.109 kB / 1.229 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006212/1.101, allocations: 96.7 kB / 1.229 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003891/1.105, allocations: 0.5968 MB / 1.23 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002254/1.107, allocations: 1.552 MB / 1.231 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003772/1.111, allocations: 374 kB / 1.232 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000515/1.112, allocations: 95.89 kB / 1.232 GB, free: 4.797 MB / 0.9825 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.001641/1.113, allocations: 446 kB / 1.232 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006225/1.114, allocations: 154.1 kB / 1.232 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01203/1.126, allocations: 3.72 MB / 1.236 GB, free: 472 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.538e-05/1.126, allocations: 23.94 kB / 1.236 GB, free: 448 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/1.126, allocations: 0 / 1.236 GB, free: 448 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.291e-05/1.126, allocations: 11.95 kB / 1.236 GB, free: 436 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004249/1.13, allocations: 2.452 MB / 1.238 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.77e-05/1.13, allocations: 8 kB / 1.238 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00374/1.134, allocations: 0.5617 MB / 1.239 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005754/1.135, allocations: 84.72 kB / 1.239 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004342/1.135, allocations: 79.91 kB / 1.239 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001974/1.137, allocations: 1.544 MB / 1.241 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.137, allocations: 0 / 1.241 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01138/1.149, allocations: 3.21 MB / 1.244 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001334/1.15, allocations: 0.5452 MB / 1.244 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006619/1.151, allocations: 51.84 kB / 1.244 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003518/1.154, allocations: 279.8 kB / 1.245 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004773/1.155, allocations: 153.8 kB / 1.245 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003723/1.155, allocations: 91.91 kB / 1.245 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001312/1.156, allocations: 0.6958 MB / 1.246 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.21e-07/1.156, allocations: 0 / 1.246 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002438/1.159, allocations: 0.6894 MB / 1.246 GB, free: 5.75 MB / 0.9981 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.001894/1.161, allocations: 0.655 MB / 1.247 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01079/1.172, allocations: 3.155 MB / 1.25 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.806e-06/1.172, allocations: 4 kB / 1.25 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00549/1.177, allocations: 1.759 MB / 1.252 GB, free: 332 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.5389/1.716, allocations: 360.8 kB / 1.252 GB, free: 228.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/1.727, allocations: 5.088 MB / 1.257 GB, free: 226.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001437/1.729, allocations: 1.427 MB / 1.258 GB, free: 225.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003834/1.733, allocations: 0.5761 MB / 1.259 GB, free: 225.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001151/1.734, allocations: 237.3 kB / 1.259 GB, free: 225.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.192e-06/1.734, allocations: 0 / 1.259 GB, free: 225.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.05718/1.791, allocations: 30.12 MB / 1.289 GB, free: 213.5 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches