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.001626/0.001626, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001896/0.001896, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.424/1.424, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.639/2.639, allocations: 437 MB / 0.7104 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 63.89 kB / 0.8692 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6995/0.701, allocations: 151.6 MB / 1.017 GB, free: 2.516 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01022/0.7112, allocations: 8.466 MB / 1.026 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1832/0.8945, allocations: 151.8 MB / 1.174 GB, free: 1.609 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002318/0.8968, allocations: 23.88 kB / 1.174 GB, free: 1.586 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001442/0.8983, allocations: 328.6 kB / 1.174 GB, free: 1.262 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00447/0.9028, allocations: 0.8549 MB / 1.175 GB, free: 416 kB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004325/0.9072, allocations: 1.383 MB / 1.176 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.005173/0.9124, allocations: 2.982 MB / 1.179 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002507/0.9149, allocations: 1.496 MB / 1.181 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002084/0.917, allocations: 1.176 MB / 1.182 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002189/0.9192, allocations: 1.342 MB / 1.183 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0008204/0.9201, allocations: 324 kB / 1.183 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001896/0.922, allocations: 0.6754 MB / 1.184 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0006753/0.9227, allocations: 0.6972 MB / 1.185 GB, free: 6.258 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001596/0.9243, allocations: 1.341 MB / 1.186 GB, free: 4.91 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00445/0.9287, allocations: 3.583 MB / 1.19 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.9288, allocations: 3.938 kB / 1.19 GB, free: 1.312 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9288, allocations: 0 / 1.19 GB, free: 1.312 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.638e-05/0.9289, allocations: 0 / 1.19 GB, free: 1.312 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.006596/0.9355, allocations: 2.82 MB / 1.192 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.9356, allocations: 8.031 kB / 1.192 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0163/0.9519, allocations: 2.112 MB / 1.194 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003042/0.9549, allocations: 1.282 MB / 1.196 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001464/0.9551, allocations: 168.5 kB / 1.196 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004673/0.9556, allocations: 220 kB / 1.196 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009349/0.9649, allocations: 3.278 MB / 1.199 GB, free: 7.207 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.047e-05/0.965, allocations: 0 / 1.199 GB, free: 7.207 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002886/0.9653, allocations: 92 kB / 1.199 GB, free: 7.117 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.587e-05/0.9654, allocations: 59.94 kB / 1.199 GB, free: 7.059 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01373/0.9791, allocations: 4.201 MB / 1.203 GB, free: 2.84 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.01813/0.9973, allocations: 8.104 MB / 1.211 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009821/1.007, allocations: 2.88 MB / 1.214 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005019/1.012, allocations: 1.489 MB / 1.216 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008177/1.013, allocations: 0.5074 MB / 1.216 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005577/1.019, allocations: 1.848 MB / 1.218 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=213): time 4.929e-06/1.019, allocations: 0 / 1.218 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of matching and sorting (n=213): time 0.01617/1.035, allocations: 4.462 MB / 1.222 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001399/1.035, allocations: 205.9 kB / 1.223 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001549/1.037, allocations: 0.9525 MB / 1.223 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0002949/1.037, allocations: 61.7 kB / 1.224 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006078/1.038, allocations: 0.7426 MB / 1.224 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006603/1.038, allocations: 0.6737 MB / 1.225 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007233/1.039, allocations: 399.1 kB / 1.225 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001097/1.039, allocations: 305.1 kB / 1.226 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004329/1.043, allocations: 1.257 MB / 1.227 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004525/1.048, allocations: 1.437 MB / 1.228 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008527/1.056, allocations: 2.61 MB / 1.231 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.403e-06/1.056, allocations: 0 / 1.231 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01027/1.067, allocations: 3.12 MB / 1.234 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/1.067, allocations: 16 kB / 1.234 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/1.067, allocations: 3.938 kB / 1.234 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006144/1.067, allocations: 96.7 kB / 1.234 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003704/1.071, allocations: 0.5968 MB / 1.234 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002156/1.073, allocations: 1.646 MB / 1.236 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003278/1.077, allocations: 368.1 kB / 1.236 GB, free: 372 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002536/1.077, allocations: 95.89 kB / 1.237 GB, free: 276 kB / 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.001016/1.078, allocations: 444.8 kB / 1.237 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003986/1.078, allocations: 154.1 kB / 1.237 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01194/1.09, allocations: 3.716 MB / 1.241 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.597e-05/1.09, allocations: 23.98 kB / 1.241 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/1.09, allocations: 0 / 1.241 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.528e-05/1.09, allocations: 7.969 kB / 1.241 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003325/1.094, allocations: 2.455 MB / 1.243 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.816e-06/1.094, allocations: 4 kB / 1.243 GB, free: 9.398 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003612/1.097, allocations: 0.5656 MB / 1.244 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004927/1.098, allocations: 76.78 kB / 1.244 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002912/1.098, allocations: 71.91 kB / 1.244 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00211/1.1, allocations: 1.666 MB / 1.245 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.1, allocations: 4.062 kB / 1.245 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01078/1.111, allocations: 3.21 MB / 1.249 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001112/1.112, allocations: 0.5413 MB / 1.249 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003755/1.113, allocations: 55.78 kB / 1.249 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003054/1.116, allocations: 267.7 kB / 1.249 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000305/1.116, allocations: 153.8 kB / 1.25 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002154/1.116, allocations: 95.91 kB / 1.25 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009652/1.117, allocations: 0.6958 MB / 1.25 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/1.117, allocations: 0 / 1.25 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001683/1.119, allocations: 0.6739 MB / 1.251 GB, free: 1.137 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.001505/1.12, allocations: 0.6602 MB / 1.252 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.5066/1.627, allocations: 3.667 MB / 1.255 GB, free: 229 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.2e-05/1.627, allocations: 0.8125 kB / 1.255 GB, free: 229 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.006276/1.633, allocations: 1.758 MB / 1.257 GB, free: 228.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002108/1.636, allocations: 393.1 kB / 1.257 GB, free: 228.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01042/1.646, allocations: 4.118 MB / 1.261 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001775/1.648, allocations: 1.427 MB / 1.263 GB, free: 225.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003978/1.652, allocations: 0.5854 MB / 1.263 GB, free: 225.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001197/1.653, allocations: 241.9 kB / 1.264 GB, free: 225.4 MB / 0.9981 GB Notification: Performance of SimCode: time 8.21e-07/1.653, allocations: 0 / 1.264 GB, free: 225.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.05579/1.709, allocations: 31.45 MB / 1.294 GB, free: 208.2 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