Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001609/0.001609, allocations: 104.8 kB / 15.99 MB, free: 5.883 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.001711/0.001711, allocations: 198.6 kB / 16.91 MB, free: 5.742 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.448/1.448, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.796/2.796, allocations: 469.8 MB / 0.7427 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 60.25 kB / 0.9087 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3601, allocations: 159.1 MB / 1.064 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01128/0.3714, allocations: 8.351 MB / 1.072 GB, free: 6.75 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.7519/1.123, allocations: 149.6 MB / 1.218 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001455/1.125, allocations: 24.91 kB / 1.218 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001092/1.126, allocations: 239.6 kB / 1.219 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002977/1.129, allocations: 0.7361 MB / 1.219 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003021/1.132, allocations: 1.248 MB / 1.221 GB, free: 5.75 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.004068/1.136, allocations: 2.986 MB / 1.223 GB, free: 3.926 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002122/1.138, allocations: 1.491 MB / 1.225 GB, free: 3.031 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001901/1.14, allocations: 1.192 MB / 1.226 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00188/1.142, allocations: 1.339 MB / 1.227 GB, free: 1.328 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0004045/1.143, allocations: 329.2 kB / 1.228 GB, free: 1.324 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001353/1.144, allocations: 0.671 MB / 1.228 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0006643/1.145, allocations: 0.6972 MB / 1.229 GB, free: 116 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001492/1.146, allocations: 1.342 MB / 1.23 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003464/1.15, allocations: 2.77 MB / 1.233 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/1.15, allocations: 0 / 1.233 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.843e-06/1.15, allocations: 0 / 1.233 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.511e-05/1.15, allocations: 0 / 1.233 GB, free: 11.99 MB / 0.9512 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.006814/1.156, allocations: 2.835 MB / 1.236 GB, free: 9.074 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/1.157, allocations: 12.62 kB / 1.236 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01582/1.172, allocations: 2.108 MB / 1.238 GB, free: 6.949 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002792/1.175, allocations: 1.267 MB / 1.239 GB, free: 5.637 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001787/1.175, allocations: 172.5 kB / 1.239 GB, free: 5.465 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005671/1.176, allocations: 216 kB / 1.239 GB, free: 5.254 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009902/1.186, allocations: 3.283 MB / 1.243 GB, free: 1.879 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.402e-05/1.186, allocations: 0 / 1.243 GB, free: 1.879 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003013/1.186, allocations: 92 kB / 1.243 GB, free: 1.789 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.456e-05/1.186, allocations: 56 kB / 1.243 GB, free: 1.734 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01389/1.2, allocations: 4.205 MB / 1.247 GB, free: 13.51 MB / 0.9669 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.01944/1.22, allocations: 8.102 MB / 1.255 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009418/1.229, allocations: 2.879 MB / 1.258 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004699/1.234, allocations: 1.485 MB / 1.259 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008889/1.235, allocations: 0.5111 MB / 1.26 GB, free: 176 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005764/1.241, allocations: 1.848 MB / 1.261 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=213): time 4.648e-06/1.241, allocations: 3.938 kB / 1.261 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of matching and sorting (n=213): time 0.01534/1.256, allocations: 4.462 MB / 1.266 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001673/1.256, allocations: 205.9 kB / 1.266 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001553/1.258, allocations: 0.9488 MB / 1.267 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0003187/1.258, allocations: 66.39 kB / 1.267 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007154/1.259, allocations: 0.7388 MB / 1.268 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007927/1.26, allocations: 0.6776 MB / 1.268 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008044/1.26, allocations: 403 kB / 1.269 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001444/1.261, allocations: 301.1 kB / 1.269 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004248/1.265, allocations: 1.261 MB / 1.27 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004621/1.269, allocations: 1.434 MB / 1.272 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009073/1.279, allocations: 2.61 MB / 1.274 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.037e-05/1.279, allocations: 3.562 kB / 1.274 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01106/1.29, allocations: 3.124 MB / 1.277 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.474e-05/1.29, allocations: 8 kB / 1.277 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/1.29, allocations: 4.062 kB / 1.277 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006215/1.29, allocations: 92.75 kB / 1.277 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004048/1.294, allocations: 0.6045 MB / 1.278 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0025/1.297, allocations: 1.647 MB / 1.28 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003628/1.301, allocations: 382 kB / 1.28 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005032/1.301, allocations: 99.89 kB / 1.28 GB, free: 10.94 MB / 0.9981 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.001247/1.302, allocations: 444.2 kB / 1.28 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005256/1.303, allocations: 150.1 kB / 1.281 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0124/1.315, allocations: 3.722 MB / 1.284 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.721e-05/1.315, allocations: 20 kB / 1.284 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/1.315, allocations: 0 / 1.284 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.161e-05/1.315, allocations: 15.95 kB / 1.284 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003829/1.319, allocations: 2.451 MB / 1.287 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/1.319, allocations: 0 / 1.287 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003773/1.323, allocations: 0.5617 MB / 1.287 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005335/1.324, allocations: 80.72 kB / 1.287 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003726/1.324, allocations: 71.91 kB / 1.287 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002252/1.326, allocations: 1.67 MB / 1.289 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/1.326, allocations: 0 / 1.289 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01106/1.337, allocations: 3.214 MB / 1.292 GB, free: 14.3 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001226/1.339, allocations: 0.5374 MB / 1.293 GB, free: 13.74 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003905/1.339, allocations: 55.78 kB / 1.293 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003038/1.342, allocations: 286.2 kB / 1.293 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003611/1.342, allocations: 149.8 kB / 1.293 GB, free: 13.26 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002462/1.343, allocations: 95.91 kB / 1.293 GB, free: 13.16 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001131/1.344, allocations: 0.6958 MB / 1.294 GB, free: 12.46 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.71e-07/1.344, allocations: 3.938 kB / 1.294 GB, free: 12.46 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002042/1.346, allocations: 0.6778 MB / 1.295 GB, free: 11.78 MB / 1.014 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.002175/1.348, allocations: 0.6507 MB / 1.295 GB, free: 11.3 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01452/1.363, allocations: 3.682 MB / 1.299 GB, free: 7.613 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/1.363, allocations: 0 / 1.299 GB, free: 7.613 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.005483/1.368, allocations: 1.747 MB / 1.3 GB, free: 5.852 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001946/1.37, allocations: 412.5 kB / 1.301 GB, free: 5.473 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/1.381, allocations: 5.134 MB / 1.306 GB, free: 308 kB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001181/1.382, allocations: 1.426 MB / 1.307 GB, free: 14.84 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001694/1.384, allocations: 287.1 kB / 1.308 GB, free: 14.56 MB / 1.029 GB Notification: Performance of SimCode: time 6.11e-07/1.384, allocations: 3.938 kB / 1.308 GB, free: 14.55 MB / 1.029 GB Notification: Performance of Templates: time 0.06343/1.447, allocations: 42.2 MB / 1.349 GB, free: 4.398 MB / 1.061 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches