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.00169/0.00169, allocations: 108.6 kB / 15.99 MB, free: 6.348 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.001867/0.001867, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.416/1.416, allocations: 222.9 MB / 240.6 MB, free: 15.41 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.518/2.518, allocations: 437 MB / 0.7107 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 72.58 kB / 0.8694 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3371, allocations: 151.6 MB / 1.017 GB, free: 10.98 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01132/0.3485, allocations: 8.401 MB / 1.026 GB, free: 2.543 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.7186/1.067, allocations: 149.6 MB / 1.172 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001972/1.069, allocations: 28.03 kB / 1.172 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001106/1.07, allocations: 243.6 kB / 1.172 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003494/1.074, allocations: 0.744 MB / 1.173 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003586/1.077, allocations: 1.243 MB / 1.174 GB, free: 13.47 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004594/1.082, allocations: 2.988 MB / 1.177 GB, free: 11.92 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002523/1.085, allocations: 1.489 MB / 1.178 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002445/1.087, allocations: 1.196 MB / 1.179 GB, free: 10.53 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002452/1.09, allocations: 1.334 MB / 1.181 GB, free: 9.723 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0008827/1.09, allocations: 325.2 kB / 1.181 GB, free: 9.723 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001932/1.092, allocations: 0.678 MB / 1.182 GB, free: 9.547 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0007889/1.093, allocations: 0.7021 MB / 1.182 GB, free: 8.949 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001989/1.095, allocations: 1.337 MB / 1.184 GB, free: 7.949 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003626/1.099, allocations: 2.774 MB / 1.186 GB, free: 5.883 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/1.099, allocations: 0 / 1.186 GB, free: 5.883 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.523e-06/1.099, allocations: 6.031 kB / 1.186 GB, free: 5.879 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.159e-05/1.099, allocations: 0 / 1.186 GB, free: 5.879 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.007422/1.106, allocations: 2.818 MB / 1.189 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/1.106, allocations: 8.938 kB / 1.189 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01542/1.122, allocations: 2.115 MB / 1.191 GB, free: 2.898 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002922/1.125, allocations: 1.274 MB / 1.193 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001671/1.125, allocations: 169.4 kB / 1.193 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005355/1.126, allocations: 214.8 kB / 1.193 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009419/1.135, allocations: 3.28 MB / 1.196 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.25e-05/1.135, allocations: 0 / 1.196 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002895/1.135, allocations: 96.28 kB / 1.196 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.715e-05/1.135, allocations: 54.88 kB / 1.196 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01283/1.148, allocations: 4.196 MB / 1.2 GB, free: 13.63 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.01934/1.168, allocations: 8.114 MB / 1.208 GB, free: 5.953 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009387/1.177, allocations: 2.876 MB / 1.211 GB, free: 3.074 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0052/1.182, allocations: 1.488 MB / 1.213 GB, free: 1.586 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001038/1.183, allocations: 0.5072 MB / 1.213 GB, free: 0.9844 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006909/1.19, allocations: 1.848 MB / 1.215 GB, free: 15.11 MB / 0.92 GB Notification: Performance of pre-optimization done (n=213): time 5.841e-06/1.19, allocations: 0 / 1.215 GB, free: 15.11 MB / 0.92 GB Notification: Performance of matching and sorting (n=213): time 0.0161/1.206, allocations: 4.47 MB / 1.219 GB, free: 10.61 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000173/1.207, allocations: 209.8 kB / 1.219 GB, free: 10.37 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001575/1.208, allocations: 0.9409 MB / 1.22 GB, free: 9.406 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0004619/1.209, allocations: 65.7 kB / 1.22 GB, free: 9.336 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007069/1.209, allocations: 0.7465 MB / 1.221 GB, free: 8.578 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000893/1.21, allocations: 0.6775 MB / 1.222 GB, free: 7.895 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008065/1.211, allocations: 399.1 kB / 1.222 GB, free: 7.496 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001401/1.211, allocations: 305.1 kB / 1.222 GB, free: 7.195 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004284/1.216, allocations: 1.249 MB / 1.224 GB, free: 5.945 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004638/1.22, allocations: 1.444 MB / 1.225 GB, free: 4.484 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009/1.229, allocations: 2.61 MB / 1.228 GB, free: 1.855 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.158e-05/1.229, allocations: 0 / 1.228 GB, free: 1.855 MB / 0.92 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01115/1.24, allocations: 3.124 MB / 1.231 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.117e-05/1.241, allocations: 7.984 kB / 1.231 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/1.241, allocations: 4 kB / 1.231 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006306/1.241, allocations: 88.78 kB / 1.231 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004091/1.245, allocations: 0.6008 MB / 1.231 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002422/1.248, allocations: 1.662 MB / 1.233 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003823/1.252, allocations: 382 kB / 1.233 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004929/1.252, allocations: 95.89 kB / 1.233 GB, free: 11.75 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.001236/1.253, allocations: 440 kB / 1.234 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005367/1.254, allocations: 154.1 kB / 1.234 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01193/1.266, allocations: 3.722 MB / 1.238 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-05/1.266, allocations: 24 kB / 1.238 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/1.266, allocations: 0 / 1.238 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.891e-05/1.266, allocations: 11.95 kB / 1.238 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003876/1.27, allocations: 2.448 MB / 1.24 GB, free: 4.879 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/1.27, allocations: 0 / 1.24 GB, free: 4.879 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003694/1.274, allocations: 0.5617 MB / 1.241 GB, free: 4.316 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005177/1.274, allocations: 87.95 kB / 1.241 GB, free: 4.23 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004281/1.275, allocations: 71.91 kB / 1.241 GB, free: 4.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002172/1.277, allocations: 1.666 MB / 1.242 GB, free: 2.348 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.277, allocations: 0 / 1.242 GB, free: 2.348 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01077/1.288, allocations: 3.21 MB / 1.246 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001322/1.289, allocations: 0.5453 MB / 1.246 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004321/1.289, allocations: 59.77 kB / 1.246 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002967/1.292, allocations: 278.3 kB / 1.246 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000352/1.293, allocations: 157.8 kB / 1.247 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002559/1.293, allocations: 95.91 kB / 1.247 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001075/1.294, allocations: 0.6919 MB / 1.247 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/1.294, allocations: 0 / 1.247 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002136/1.296, allocations: 0.6739 MB / 1.248 GB, free: 12.59 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.002208/1.298, allocations: 0.6609 MB / 1.249 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.01408/1.313, allocations: 3.674 MB / 1.252 GB, free: 8.426 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.405e-06/1.313, allocations: 4 kB / 1.252 GB, free: 8.422 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.005186/1.318, allocations: 1.755 MB / 1.254 GB, free: 6.656 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002004/1.32, allocations: 393.5 kB / 1.254 GB, free: 6.293 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/1.33, allocations: 5.139 MB / 1.259 GB, free: 1.113 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001133/1.331, allocations: 1.422 MB / 1.261 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001735/1.333, allocations: 295.1 kB / 1.261 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of SimCode: time 6.61e-07/1.333, allocations: 0 / 1.261 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of Templates: time 0.06203/1.395, allocations: 42.19 MB / 1.302 GB, free: 5.227 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