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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001914/0.001914, allocations: 117.5 kB / 16.37 MB, free: 6.004 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.001536/0.001536, allocations: 193.3 kB / 17.31 MB, free: 5.613 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.297/1.297, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.421/2.421, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 59.94 kB / 0.8707 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2796, allocations: 151.6 MB / 1.019 GB, free: 9.863 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01081/0.2905, allocations: 8.465 MB / 1.027 GB, free: 1.352 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6895/0.98, allocations: 151.8 MB / 1.175 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001135/0.9812, allocations: 23.69 kB / 1.175 GB, free: 12.94 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0007878/0.982, allocations: 319.6 kB / 1.176 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002454/0.9845, allocations: 0.8537 MB / 1.176 GB, free: 12.19 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002824/0.9873, allocations: 1.393 MB / 1.178 GB, free: 11.26 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003384/0.9907, allocations: 3.002 MB / 1.181 GB, free: 9.402 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001879/0.9926, allocations: 1.484 MB / 1.182 GB, free: 8.516 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001751/0.9944, allocations: 1.186 MB / 1.183 GB, free: 7.785 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001675/0.9961, allocations: 1.351 MB / 1.185 GB, free: 6.801 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0004353/0.9965, allocations: 328.3 kB / 1.185 GB, free: 6.801 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00131/0.9978, allocations: 0.7003 MB / 1.186 GB, free: 6.609 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0005352/0.9984, allocations: 0.6949 MB / 1.186 GB, free: 6.016 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001074/0.9994, allocations: 1.331 MB / 1.188 GB, free: 5.02 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003074/1.003, allocations: 3.663 MB / 1.191 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/1.003, allocations: 0 / 1.191 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.974e-06/1.003, allocations: 0 / 1.191 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.842e-05/1.003, allocations: 0 / 1.191 GB, free: 2.258 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.005598/1.008, allocations: 2.835 MB / 1.194 GB, free: 228 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/1.008, allocations: 10.38 kB / 1.194 GB, free: 228 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01465/1.023, allocations: 2.11 MB / 1.196 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002523/1.025, allocations: 1.297 MB / 1.197 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/1.026, allocations: 162.5 kB / 1.198 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003477/1.026, allocations: 217.5 kB / 1.198 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007703/1.034, allocations: 3.285 MB / 1.201 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.59e-05/1.034, allocations: 0 / 1.201 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002492/1.034, allocations: 94.41 kB / 1.201 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.605e-05/1.034, allocations: 56.45 kB / 1.201 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01149/1.045, allocations: 4.203 MB / 1.205 GB, free: 9.82 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.01601/1.062, allocations: 8.023 MB / 1.213 GB, free: 1.527 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00845/1.07, allocations: 2.895 MB / 1.216 GB, free: 14.63 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004232/1.074, allocations: 1.489 MB / 1.217 GB, free: 13.14 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007615/1.075, allocations: 0.5074 MB / 1.218 GB, free: 12.54 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004872/1.08, allocations: 1.84 MB / 1.22 GB, free: 10.68 MB / 0.92 GB Notification: Performance of pre-optimization done (n=213): time 4.048e-06/1.08, allocations: 0 / 1.22 GB, free: 10.68 MB / 0.92 GB Notification: Performance of matching and sorting (n=213): time 0.01432/1.094, allocations: 4.466 MB / 1.224 GB, free: 6.184 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001697/1.094, allocations: 213.8 kB / 1.224 GB, free: 5.934 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001658/1.096, allocations: 0.9409 MB / 1.225 GB, free: 4.973 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0005519/1.097, allocations: 65.7 kB / 1.225 GB, free: 4.902 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007073/1.097, allocations: 0.7504 MB / 1.226 GB, free: 4.141 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008782/1.098, allocations: 0.6737 MB / 1.227 GB, free: 3.457 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007782/1.099, allocations: 402 kB / 1.227 GB, free: 3.059 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.779e-05/1.099, allocations: 301.1 kB / 1.227 GB, free: 2.762 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004051/1.103, allocations: 1.253 MB / 1.228 GB, free: 1.508 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004194/1.107, allocations: 1.445 MB / 1.23 GB, free: 44 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007749/1.115, allocations: 2.61 MB / 1.232 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/1.115, allocations: 0 / 1.232 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.009598/1.125, allocations: 3.124 MB / 1.235 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/1.125, allocations: 4 kB / 1.235 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/1.125, allocations: 4 kB / 1.235 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005983/1.126, allocations: 88.78 kB / 1.236 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003681/1.129, allocations: 0.5968 MB / 1.236 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002025/1.131, allocations: 1.644 MB / 1.238 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003143/1.134, allocations: 371 kB / 1.238 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002491/1.135, allocations: 99.89 kB / 1.238 GB, free: 7.332 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.0009903/1.136, allocations: 436.9 kB / 1.239 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004604/1.136, allocations: 150.1 kB / 1.239 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01082/1.147, allocations: 3.717 MB / 1.242 GB, free: 3.008 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.746e-05/1.147, allocations: 27.94 kB / 1.242 GB, free: 2.98 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/1.147, allocations: 4 kB / 1.242 GB, free: 2.977 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.431e-05/1.147, allocations: 11.95 kB / 1.242 GB, free: 2.965 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00295/1.15, allocations: 2.448 MB / 1.245 GB, free: 480 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.724e-06/1.15, allocations: 0 / 1.245 GB, free: 480 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003576/1.154, allocations: 0.5617 MB / 1.245 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004496/1.154, allocations: 76.73 kB / 1.245 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000214/1.154, allocations: 71.91 kB / 1.245 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001852/1.156, allocations: 1.678 MB / 1.247 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.156, allocations: 4 kB / 1.247 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009542/1.166, allocations: 3.21 MB / 1.25 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001242/1.167, allocations: 0.5374 MB / 1.251 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003471/1.167, allocations: 59.77 kB / 1.251 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002779/1.17, allocations: 263.8 kB / 1.251 GB, free: 9.828 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003358/1.17, allocations: 161.8 kB / 1.251 GB, free: 9.668 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002385/1.171, allocations: 91.91 kB / 1.251 GB, free: 9.578 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001015/1.172, allocations: 0.6958 MB / 1.252 GB, free: 8.875 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.3e-07/1.172, allocations: 0 / 1.252 GB, free: 8.875 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001731/1.173, allocations: 0.6778 MB / 1.253 GB, free: 8.195 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.001524/1.175, allocations: 0.6644 MB / 1.253 GB, free: 7.707 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.009172/1.184, allocations: 3.166 MB / 1.256 GB, free: 4.527 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/1.184, allocations: 4 kB / 1.256 GB, free: 4.523 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00484/1.189, allocations: 1.755 MB / 1.258 GB, free: 2.758 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001704/1.191, allocations: 398.8 kB / 1.258 GB, free: 2.395 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008483/1.199, allocations: 4.062 MB / 1.262 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009182/1.2, allocations: 1.434 MB / 1.264 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.00268/1.203, allocations: 0.5716 MB / 1.264 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001006/1.204, allocations: 239.2 kB / 1.265 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of SimCode: time 9.22e-07/1.204, allocations: 0 / 1.265 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of Templates: time 0.04769/1.252, allocations: 31.44 MB / 1.295 GB, free: 12.79 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 -s gbode -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