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.001752/0.001752, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.00193/0.00193, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.409/1.409, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.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.56/2.56, allocations: 437.1 MB / 0.7111 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 69.77 kB / 0.8699 GB, free: 2.219 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3316, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01128/0.3429, allocations: 8.46 MB / 1.026 GB, free: 2.16 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6809/1.024, allocations: 151.8 MB / 1.175 GB, free: 13.01 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002358/1.026, allocations: 27.41 kB / 1.175 GB, free: 13 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001291/1.028, allocations: 320 kB / 1.175 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003633/1.031, allocations: 0.8631 MB / 1.176 GB, free: 12.25 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003653/1.035, allocations: 1.371 MB / 1.177 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004997/1.04, allocations: 2.977 MB / 1.18 GB, free: 9.625 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002539/1.043, allocations: 1.497 MB / 1.181 GB, free: 8.723 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002371/1.045, allocations: 1.183 MB / 1.183 GB, free: 8 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002446/1.047, allocations: 1.339 MB / 1.184 GB, free: 7.027 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0008407/1.048, allocations: 325.7 kB / 1.184 GB, free: 7.027 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001928/1.05, allocations: 0.674 MB / 1.185 GB, free: 6.855 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0008359/1.051, allocations: 0.6987 MB / 1.185 GB, free: 6.258 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001957/1.053, allocations: 1.335 MB / 1.187 GB, free: 5.258 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00463/1.058, allocations: 3.589 MB / 1.19 GB, free: 2.547 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/1.058, allocations: 0 / 1.19 GB, free: 2.547 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.222e-06/1.058, allocations: 0 / 1.19 GB, free: 2.547 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.916e-05/1.058, allocations: 4.719 kB / 1.19 GB, free: 2.547 MB / 0.8887 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.007527/1.065, allocations: 2.827 MB / 1.193 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/1.065, allocations: 8.094 kB / 1.193 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01595/1.081, allocations: 2.111 MB / 1.195 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002917/1.084, allocations: 1.269 MB / 1.196 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001557/1.084, allocations: 168.6 kB / 1.197 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005194/1.085, allocations: 217.8 kB / 1.197 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009593/1.095, allocations: 3.283 MB / 1.2 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.922e-05/1.095, allocations: 0 / 1.2 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002924/1.095, allocations: 92.03 kB / 1.2 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.435e-05/1.095, allocations: 55.34 kB / 1.2 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01339/1.108, allocations: 4.207 MB / 1.204 GB, free: 10.29 MB / 0.9044 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.0188/1.127, allocations: 8.117 MB / 1.212 GB, free: 2.066 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01002/1.137, allocations: 2.881 MB / 1.215 GB, free: 15.18 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005036/1.142, allocations: 1.491 MB / 1.216 GB, free: 13.69 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009301/1.143, allocations: 0.5035 MB / 1.217 GB, free: 13.09 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005943/1.149, allocations: 1.851 MB / 1.219 GB, free: 11.22 MB / 0.92 GB Notification: Performance of pre-optimization done (n=213): time 4.689e-06/1.149, allocations: 0 / 1.219 GB, free: 11.22 MB / 0.92 GB Notification: Performance of matching and sorting (n=213): time 0.01668/1.166, allocations: 4.462 MB / 1.223 GB, free: 6.73 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001568/1.166, allocations: 209.9 kB / 1.223 GB, free: 6.484 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001555/1.168, allocations: 0.9449 MB / 1.224 GB, free: 5.52 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0005094/1.168, allocations: 65.64 kB / 1.224 GB, free: 5.449 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007844/1.169, allocations: 0.7426 MB / 1.225 GB, free: 4.695 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001062/1.17, allocations: 0.6815 MB / 1.226 GB, free: 4.004 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000834/1.171, allocations: 399.1 kB / 1.226 GB, free: 3.605 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001596/1.171, allocations: 305.1 kB / 1.226 GB, free: 3.305 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004614/1.176, allocations: 1.253 MB / 1.228 GB, free: 2.051 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00501/1.181, allocations: 1.441 MB / 1.229 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00952/1.19, allocations: 2.606 MB / 1.231 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/1.19, allocations: 4 kB / 1.231 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01234/1.203, allocations: 3.12 MB / 1.235 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.928e-05/1.203, allocations: 4 kB / 1.235 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/1.203, allocations: 14.28 kB / 1.235 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006309/1.203, allocations: 88.83 kB / 1.235 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004226/1.208, allocations: 0.6045 MB / 1.235 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002605/1.21, allocations: 1.631 MB / 1.237 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003704/1.214, allocations: 374 kB / 1.237 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005302/1.215, allocations: 99.89 kB / 1.237 GB, free: 7.875 MB / 0.9356 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.001474/1.216, allocations: 436 kB / 1.238 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000612/1.217, allocations: 150.1 kB / 1.238 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01297/1.23, allocations: 3.722 MB / 1.241 GB, free: 3.551 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.207e-05/1.23, allocations: 20 kB / 1.241 GB, free: 3.531 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/1.23, allocations: 4 kB / 1.241 GB, free: 3.527 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.602e-05/1.23, allocations: 15.95 kB / 1.242 GB, free: 3.512 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003869/1.234, allocations: 2.452 MB / 1.244 GB, free: 1.016 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.768e-06/1.234, allocations: 0 / 1.244 GB, free: 1.016 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003855/1.238, allocations: 0.5578 MB / 1.244 GB, free: 468 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005125/1.238, allocations: 84.7 kB / 1.245 GB, free: 380 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004237/1.239, allocations: 71.91 kB / 1.245 GB, free: 308 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002222/1.241, allocations: 1.67 MB / 1.246 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/1.241, allocations: 4 kB / 1.246 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0114/1.252, allocations: 3.21 MB / 1.249 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001351/1.254, allocations: 0.5374 MB / 1.25 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004631/1.254, allocations: 55.92 kB / 1.25 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003146/1.257, allocations: 275.7 kB / 1.25 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004109/1.258, allocations: 153.8 kB / 1.25 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003329/1.258, allocations: 91.91 kB / 1.25 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001266/1.259, allocations: 0.6958 MB / 1.251 GB, free: 9.422 MB / 0.9512 GB Notification: Performance of sort global known variables: time 4.01e-07/1.259, allocations: 3.938 kB / 1.251 GB, free: 9.418 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002311/1.262, allocations: 0.6778 MB / 1.252 GB, free: 8.738 MB / 0.9512 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.002287/1.264, allocations: 0.6628 MB / 1.252 GB, free: 8.254 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.01552/1.28, allocations: 3.666 MB / 1.256 GB, free: 4.574 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/1.28, allocations: 256 / 1.256 GB, free: 4.574 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00613/1.286, allocations: 1.763 MB / 1.258 GB, free: 2.801 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002752/1.288, allocations: 391 kB / 1.258 GB, free: 2.441 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/1.299, allocations: 4.165 MB / 1.262 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001163/1.3, allocations: 1.426 MB / 1.264 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001717/1.302, allocations: 287.1 kB / 1.264 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of SimCode: time 8.91e-07/1.302, allocations: 3.938 kB / 1.264 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of Templates: time 0.06558/1.367, allocations: 42.2 MB / 1.305 GB, free: 2.34 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=400 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches