Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001774/0.001774, allocations: 110.3 kB / 16.41 MB, free: 6.477 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.001898/0.001898, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.397/1.397, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.602/2.602, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 59.91 kB / 1.055 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.871/0.8725, allocations: 157.4 MB / 1.208 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.008947/0.8815, allocations: 5.964 MB / 1.214 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1661/1.048, allocations: 150.8 MB / 1.361 GB, free: 384 kB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001052/1.049, allocations: 19.88 kB / 1.362 GB, free: 364 kB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007227/1.049, allocations: 237.7 kB / 1.362 GB, free: 124 kB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002102/1.052, allocations: 0.6243 MB / 1.362 GB, free: 15.5 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002023/1.054, allocations: 0.8788 MB / 1.363 GB, free: 14.62 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001838/1.055, allocations: 1.665 MB / 1.365 GB, free: 12.95 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001135/1.057, allocations: 0.8696 MB / 1.366 GB, free: 12.05 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008424/1.057, allocations: 0.6151 MB / 1.366 GB, free: 11.43 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006883/1.058, allocations: 0.6534 MB / 1.367 GB, free: 10.77 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001845/1.058, allocations: 156 kB / 1.367 GB, free: 10.62 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008994/1.059, allocations: 0.5191 MB / 1.368 GB, free: 10.1 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003167/1.06, allocations: 362.9 kB / 1.368 GB, free: 9.746 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0006265/1.06, allocations: 0.7424 MB / 1.369 GB, free: 9 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.00201/1.062, allocations: 2.036 MB / 1.371 GB, free: 6.957 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/1.062, allocations: 3.938 kB / 1.371 GB, free: 6.953 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.695e-06/1.062, allocations: 0 / 1.371 GB, free: 6.953 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.008e-05/1.062, allocations: 4 kB / 1.371 GB, free: 6.949 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.00272/1.065, allocations: 1.709 MB / 1.372 GB, free: 5.188 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/1.065, allocations: 15.97 kB / 1.372 GB, free: 5.172 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000922/1.066, allocations: 215 kB / 1.373 GB, free: 4.961 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/1.067, allocations: 0.8677 MB / 1.373 GB, free: 4.051 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.831e-05/1.067, allocations: 90.41 kB / 1.373 GB, free: 3.961 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/1.067, allocations: 116 kB / 1.374 GB, free: 3.848 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001959/1.069, allocations: 1.202 MB / 1.375 GB, free: 2.582 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/1.069, allocations: 4 kB / 1.375 GB, free: 2.578 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.922e-05/1.07, allocations: 48 kB / 1.375 GB, free: 2.531 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.475e-05/1.07, allocations: 28 kB / 1.375 GB, free: 2.504 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001974/1.072, allocations: 1.285 MB / 1.376 GB, free: 1.211 MB / 1.092 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.004639/1.076, allocations: 3.542 MB / 1.38 GB, free: 13.49 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001525/1.078, allocations: 0.8642 MB / 1.38 GB, free: 12.62 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00055/1.078, allocations: 326.7 kB / 1.381 GB, free: 12.3 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 8.27e-05/1.078, allocations: 28.61 kB / 1.381 GB, free: 12.28 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008591/1.079, allocations: 0.5236 MB / 1.381 GB, free: 11.74 MB / 1.107 GB Notification: Performance of pre-optimization done (n=87): time 2.875e-06/1.079, allocations: 0 / 1.381 GB, free: 11.74 MB / 1.107 GB Notification: Performance of matching and sorting (n=87): time 0.003224/1.083, allocations: 1.282 MB / 1.382 GB, free: 10.43 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/1.083, allocations: 192.9 kB / 1.383 GB, free: 10.2 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000873/1.084, allocations: 0.7391 MB / 1.383 GB, free: 9.445 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.643e-05/1.084, allocations: 41.7 kB / 1.383 GB, free: 9.398 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003851/1.084, allocations: 0.5154 MB / 1.384 GB, free: 8.875 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002149/1.084, allocations: 287.8 kB / 1.384 GB, free: 8.59 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002429/1.084, allocations: 174.5 kB / 1.384 GB, free: 8.414 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001363/1.085, allocations: 345.9 kB / 1.385 GB, free: 8.07 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005489/1.085, allocations: 285.9 kB / 1.385 GB, free: 7.789 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006463/1.086, allocations: 395.1 kB / 1.385 GB, free: 7.391 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/1.087, allocations: 0.6555 MB / 1.386 GB, free: 6.723 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.087, allocations: 0 / 1.386 GB, free: 6.723 MB / 1.107 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001994/1.089, allocations: 0.9267 MB / 1.387 GB, free: 5.789 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/1.089, allocations: 5.875 kB / 1.387 GB, free: 5.785 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/1.089, allocations: 7.938 kB / 1.387 GB, free: 5.777 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005777/1.09, allocations: 88.8 kB / 1.387 GB, free: 5.688 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007033/1.09, allocations: 167.8 kB / 1.387 GB, free: 5.523 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002162/1.093, allocations: 1.63 MB / 1.389 GB, free: 3.742 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008011/1.093, allocations: 111.2 kB / 1.389 GB, free: 3.633 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.82e-05/1.093, allocations: 35.97 kB / 1.389 GB, free: 3.598 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 103 * 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.0005203/1.094, allocations: 291.4 kB / 1.389 GB, free: 3.301 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/1.094, allocations: 90.88 kB / 1.389 GB, free: 3.211 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002384/1.097, allocations: 1.129 MB / 1.39 GB, free: 2.066 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/1.097, allocations: 15.94 kB / 1.39 GB, free: 2.051 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/1.097, allocations: 4 kB / 1.39 GB, free: 2.047 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/1.097, allocations: 4.094 kB / 1.39 GB, free: 2.043 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001235/1.098, allocations: 1.052 MB / 1.391 GB, free: 0.9414 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/1.098, allocations: 0 / 1.391 GB, free: 0.9414 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006254/1.098, allocations: 155.7 kB / 1.392 GB, free: 0.7891 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004364/1.099, allocations: 72.78 kB / 1.392 GB, free: 0.7148 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-05/1.099, allocations: 23.98 kB / 1.392 GB, free: 0.6914 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001867/1.101, allocations: 1.662 MB / 1.393 GB, free: 14.88 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.101, allocations: 0 / 1.393 GB, free: 14.88 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00201/1.103, allocations: 0.9863 MB / 1.394 GB, free: 13.88 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004026/1.103, allocations: 291.5 kB / 1.395 GB, free: 13.57 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001282/1.103, allocations: 16 kB / 1.395 GB, free: 13.55 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006457/1.104, allocations: 63.94 kB / 1.395 GB, free: 13.49 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/1.104, allocations: 80.83 kB / 1.395 GB, free: 13.41 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.82e-05/1.104, allocations: 39.97 kB / 1.395 GB, free: 13.37 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0006491/1.105, allocations: 0.5068 MB / 1.395 GB, free: 12.87 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.7e-07/1.105, allocations: 0 / 1.395 GB, free: 12.87 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.000902/1.106, allocations: 386.9 kB / 1.396 GB, free: 12.49 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001366/1.107, allocations: 0.6068 MB / 1.396 GB, free: 12.05 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001814/1.109, allocations: 0.8897 MB / 1.397 GB, free: 11.15 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/1.109, allocations: 3.938 kB / 1.397 GB, free: 11.15 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0009416/1.11, allocations: 0.5511 MB / 1.398 GB, free: 10.59 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001357/1.111, allocations: 338 kB / 1.398 GB, free: 10.28 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003383/1.115, allocations: 1.994 MB / 1.4 GB, free: 8.25 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006653/1.115, allocations: 1.107 MB / 1.401 GB, free: 7.113 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003668/1.116, allocations: 123.4 kB / 1.401 GB, free: 6.992 MB / 1.123 GB Notification: Performance of SimCode: time 8.92e-07/1.116, allocations: 4 kB / 1.401 GB, free: 6.988 MB / 1.123 GB Notification: Performance of Templates: time 0.02702/1.143, allocations: 21.91 MB / 1.422 GB, free: 1.137 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches