Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006959/0.006959, allocations: 100.6 kB / 15.73 MB, free: 6.008 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.001551/0.001551, allocations: 189.6 kB / 16.67 MB, free: 5.934 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.574/2.574, allocations: 472.7 MB / 0.7453 GB, free: 464 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 67.83 kB / 1.069 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8801/0.8814, allocations: 159.9 MB / 1.226 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006307/0.8878, allocations: 4.85 MB / 1.23 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1745/1.062, allocations: 150.6 MB / 1.377 GB, free: 1.449 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00105/1.063, allocations: 19.88 kB / 1.377 GB, free: 1.43 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0007988/1.064, allocations: 186.2 kB / 1.378 GB, free: 1.246 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002077/1.066, allocations: 0.5422 MB / 1.378 GB, free: 0.707 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002273/1.069, allocations: 0.8368 MB / 1.379 GB, free: 15.88 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001832/1.07, allocations: 1.378 MB / 1.38 GB, free: 14.49 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/1.071, allocations: 0.5763 MB / 1.381 GB, free: 13.89 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009409/1.072, allocations: 486.4 kB / 1.381 GB, free: 13.41 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009273/1.073, allocations: 0.4978 MB / 1.382 GB, free: 12.91 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0003264/1.074, allocations: 116 kB / 1.382 GB, free: 12.8 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001252/1.075, allocations: 475.6 kB / 1.382 GB, free: 12.34 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003899/1.075, allocations: 299 kB / 1.383 GB, free: 12.04 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0007445/1.076, allocations: 0.5519 MB / 1.383 GB, free: 11.49 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002342/1.078, allocations: 1.634 MB / 1.385 GB, free: 9.852 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/1.078, allocations: 0 / 1.385 GB, free: 9.852 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.944e-06/1.079, allocations: 0 / 1.385 GB, free: 9.852 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.392e-05/1.079, allocations: 0 / 1.385 GB, free: 9.852 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.003124/1.082, allocations: 1.459 MB / 1.386 GB, free: 8.34 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/1.082, allocations: 12.03 kB / 1.386 GB, free: 8.328 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009238/1.083, allocations: 192.1 kB / 1.386 GB, free: 8.141 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/1.084, allocations: 0.7661 MB / 1.387 GB, free: 7.328 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.581e-05/1.084, allocations: 70 kB / 1.387 GB, free: 7.262 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/1.084, allocations: 76 kB / 1.387 GB, free: 7.188 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001556/1.086, allocations: 0.9145 MB / 1.388 GB, free: 6.23 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/1.086, allocations: 0 / 1.388 GB, free: 6.23 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.721e-05/1.086, allocations: 32 kB / 1.388 GB, free: 6.199 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.61e-05/1.086, allocations: 24 kB / 1.388 GB, free: 6.176 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00174/1.088, allocations: 1.108 MB / 1.389 GB, free: 5.066 MB / 1.107 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.003863/1.091, allocations: 2.666 MB / 1.392 GB, free: 2.281 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/1.093, allocations: 0.798 MB / 1.393 GB, free: 1.48 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005261/1.093, allocations: 314.6 kB / 1.393 GB, free: 1.168 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 8.807e-05/1.094, allocations: 24.69 kB / 1.393 GB, free: 1.145 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008619/1.094, allocations: 487.2 kB / 1.394 GB, free: 0.6484 MB / 1.107 GB Notification: Performance of pre-optimization done (n=80): time 2.134e-06/1.094, allocations: 3.938 kB / 1.394 GB, free: 0.6445 MB / 1.107 GB Notification: Performance of matching and sorting (n=80): time 0.003206/1.098, allocations: 1.198 MB / 1.395 GB, free: 15.42 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/1.098, allocations: 200.6 kB / 1.395 GB, free: 15.18 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007881/1.099, allocations: 0.6254 MB / 1.395 GB, free: 14.55 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 6.199e-05/1.099, allocations: 45.7 kB / 1.396 GB, free: 14.5 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003235/1.099, allocations: 401 kB / 1.396 GB, free: 14.11 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002207/1.099, allocations: 277.6 kB / 1.396 GB, free: 13.83 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002541/1.099, allocations: 166.6 kB / 1.396 GB, free: 13.66 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001632/1.1, allocations: 386.7 kB / 1.397 GB, free: 13.28 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000543/1.1, allocations: 269.9 kB / 1.397 GB, free: 13.02 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006448/1.101, allocations: 363.1 kB / 1.397 GB, free: 12.64 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/1.102, allocations: 0.6033 MB / 1.398 GB, free: 12.03 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/1.102, allocations: 4 kB / 1.398 GB, free: 12.03 MB / 1.123 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001952/1.104, allocations: 0.857 MB / 1.399 GB, free: 11.16 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/1.104, allocations: 4 kB / 1.399 GB, free: 11.15 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/1.104, allocations: 4 kB / 1.399 GB, free: 11.15 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005862/1.105, allocations: 84.83 kB / 1.399 GB, free: 11.06 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006393/1.105, allocations: 163.7 kB / 1.399 GB, free: 10.9 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002075/1.107, allocations: 1.634 MB / 1.401 GB, free: 9.121 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007378/1.108, allocations: 96.59 kB / 1.401 GB, free: 9.027 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.844e-05/1.108, allocations: 40.03 kB / 1.401 GB, free: 8.988 MB / 1.123 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 (95): * Single equations (assignments): 94 * 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.0004415/1.109, allocations: 271.9 kB / 1.401 GB, free: 8.711 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001487/1.109, allocations: 79.48 kB / 1.401 GB, free: 8.633 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002255/1.111, allocations: 1.058 MB / 1.402 GB, free: 7.555 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/1.111, allocations: 8 kB / 1.402 GB, free: 7.547 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/1.111, allocations: 3.938 kB / 1.402 GB, free: 7.543 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/1.111, allocations: 7.984 kB / 1.402 GB, free: 7.535 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009993/1.112, allocations: 0.888 MB / 1.403 GB, free: 6.598 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/1.112, allocations: 4 kB / 1.403 GB, free: 6.594 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005727/1.113, allocations: 143.8 kB / 1.403 GB, free: 6.453 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004185/1.113, allocations: 68.73 kB / 1.403 GB, free: 6.383 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.014e-05/1.113, allocations: 35.91 kB / 1.403 GB, free: 6.348 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00183/1.115, allocations: 1.662 MB / 1.405 GB, free: 4.543 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.115, allocations: 3.984 kB / 1.405 GB, free: 4.539 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00192/1.117, allocations: 0.9323 MB / 1.406 GB, free: 3.582 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003616/1.117, allocations: 276.2 kB / 1.406 GB, free: 3.293 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/1.117, allocations: 16 kB / 1.406 GB, free: 3.277 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005796/1.118, allocations: 63.92 kB / 1.406 GB, free: 3.215 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/1.118, allocations: 68.91 kB / 1.406 GB, free: 3.148 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.671e-05/1.118, allocations: 35.92 kB / 1.406 GB, free: 3.113 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0005634/1.119, allocations: 463 kB / 1.407 GB, free: 2.668 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.3e-07/1.119, allocations: 0 / 1.407 GB, free: 2.668 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0008403/1.12, allocations: 323.2 kB / 1.407 GB, free: 2.352 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 (91): * Single equations (assignments): 85 * 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.001351/1.121, allocations: 0.6042 MB / 1.408 GB, free: 1.926 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001642/1.123, allocations: 0.8313 MB / 1.408 GB, free: 1.082 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/1.123, allocations: 4 kB / 1.408 GB, free: 1.078 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0008799/1.124, allocations: 0.5159 MB / 1.409 GB, free: 0.5508 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/1.125, allocations: 303 kB / 1.409 GB, free: 280 kB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002731/1.127, allocations: 1.658 MB / 1.411 GB, free: 14.59 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006056/1.128, allocations: 1.016 MB / 1.412 GB, free: 13.54 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0007646/1.129, allocations: 266.7 kB / 1.412 GB, free: 13.28 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002548/1.129, allocations: 111.3 kB / 1.412 GB, free: 13.17 MB / 1.139 GB Notification: Performance of SimCode: time 1.102e-06/1.129, allocations: 0 / 1.412 GB, free: 13.17 MB / 1.139 GB Notification: Performance of Templates: time 0.02618/1.155, allocations: 15.17 MB / 1.427 GB, free: 14.19 MB / 1.154 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches