Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001841/0.001841, allocations: 113.9 kB / 18.94 MB, free: 2.789 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00221/0.00221, allocations: 191 kB / 22.23 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.743/2.743, allocations: 443.4 MB / 0.7321 GB, free: 12.25 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 67.89 kB / 1.061 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8416/0.8435, allocations: 160.8 MB / 1.218 GB, free: 3.691 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.007847/0.8513, allocations: 4.911 MB / 1.223 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.2014/1.053, allocations: 151.2 MB / 1.371 GB, free: 10.51 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001291/1.054, allocations: 23.81 kB / 1.371 GB, free: 10.49 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007302/1.055, allocations: 190.3 kB / 1.371 GB, free: 10.3 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002202/1.057, allocations: 0.5522 MB / 1.372 GB, free: 9.75 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002267/1.059, allocations: 0.8528 MB / 1.372 GB, free: 8.902 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00237/1.062, allocations: 1.382 MB / 1.374 GB, free: 7.512 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009399/1.063, allocations: 413.8 kB / 1.374 GB, free: 7.074 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009544/1.064, allocations: 494.4 kB / 1.375 GB, free: 6.59 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008335/1.064, allocations: 0.4979 MB / 1.375 GB, free: 6.09 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001957/1.065, allocations: 112 kB / 1.375 GB, free: 5.98 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001533/1.066, allocations: 495.5 kB / 1.376 GB, free: 5.496 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000373/1.066, allocations: 295 kB / 1.376 GB, free: 5.207 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0007593/1.067, allocations: 0.5558 MB / 1.377 GB, free: 4.648 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00279/1.07, allocations: 1.63 MB / 1.378 GB, free: 3.016 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/1.07, allocations: 4 kB / 1.378 GB, free: 3.012 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.204e-06/1.07, allocations: 3.938 kB / 1.378 GB, free: 3.008 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.302e-05/1.07, allocations: 0 / 1.378 GB, free: 3.008 MB / 1.076 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.003058/1.073, allocations: 1.455 MB / 1.38 GB, free: 1.504 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/1.073, allocations: 8.031 kB / 1.38 GB, free: 1.496 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009727/1.074, allocations: 196 kB / 1.38 GB, free: 1.305 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001455/1.076, allocations: 0.7701 MB / 1.381 GB, free: 0.4922 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.673e-05/1.076, allocations: 58 kB / 1.381 GB, free: 448 kB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/1.076, allocations: 84 kB / 1.381 GB, free: 364 kB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/1.077, allocations: 0.9145 MB / 1.382 GB, free: 15.39 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/1.077, allocations: 0 / 1.382 GB, free: 15.39 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.926e-05/1.078, allocations: 36 kB / 1.382 GB, free: 15.36 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.17e-05/1.078, allocations: 20 kB / 1.382 GB, free: 15.34 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001853/1.079, allocations: 1.104 MB / 1.383 GB, free: 14.23 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.004374/1.084, allocations: 2.682 MB / 1.385 GB, free: 11.44 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/1.085, allocations: 0.751 MB / 1.386 GB, free: 10.68 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005534/1.086, allocations: 274.6 kB / 1.386 GB, free: 10.41 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 8.734e-05/1.086, allocations: 36.67 kB / 1.386 GB, free: 10.38 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008991/1.087, allocations: 495.1 kB / 1.387 GB, free: 9.875 MB / 1.092 GB Notification: Performance of pre-optimization done (n=80): time 2.474e-06/1.087, allocations: 0 / 1.387 GB, free: 9.875 MB / 1.092 GB Notification: Performance of matching and sorting (n=80): time 0.003363/1.09, allocations: 1.202 MB / 1.388 GB, free: 8.645 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001362/1.09, allocations: 192.6 kB / 1.388 GB, free: 8.414 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009153/1.091, allocations: 0.6254 MB / 1.389 GB, free: 7.785 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 7.865e-05/1.091, allocations: 45.7 kB / 1.389 GB, free: 7.734 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003711/1.092, allocations: 397 kB / 1.389 GB, free: 7.34 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002523/1.092, allocations: 273.7 kB / 1.389 GB, free: 7.07 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002608/1.092, allocations: 166.6 kB / 1.39 GB, free: 6.902 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002277/1.093, allocations: 390.7 kB / 1.39 GB, free: 6.512 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005503/1.093, allocations: 265.9 kB / 1.39 GB, free: 6.25 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006755/1.094, allocations: 363.1 kB / 1.391 GB, free: 5.883 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/1.095, allocations: 0.6073 MB / 1.391 GB, free: 5.262 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/1.095, allocations: 0 / 1.391 GB, free: 5.262 MB / 1.092 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00216/1.097, allocations: 0.8609 MB / 1.392 GB, free: 4.391 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/1.097, allocations: 6.656 kB / 1.392 GB, free: 4.387 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/1.097, allocations: 8.094 kB / 1.392 GB, free: 4.379 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000623/1.098, allocations: 80.77 kB / 1.392 GB, free: 4.297 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006929/1.098, allocations: 163.7 kB / 1.392 GB, free: 4.137 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002326/1.101, allocations: 1.632 MB / 1.394 GB, free: 2.359 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008168/1.102, allocations: 95.56 kB / 1.394 GB, free: 2.266 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.954e-05/1.102, allocations: 43.91 kB / 1.394 GB, free: 2.223 MB / 1.092 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.0005055/1.102, allocations: 277.4 kB / 1.394 GB, free: 1.945 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001828/1.102, allocations: 79.48 kB / 1.394 GB, free: 1.867 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002434/1.105, allocations: 1.054 MB / 1.395 GB, free: 0.7969 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/1.105, allocations: 12 kB / 1.395 GB, free: 0.7852 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/1.105, allocations: 3.938 kB / 1.395 GB, free: 0.7812 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/1.105, allocations: 7.969 kB / 1.395 GB, free: 0.7734 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001265/1.106, allocations: 0.8881 MB / 1.396 GB, free: 15.83 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/1.106, allocations: 3.984 kB / 1.396 GB, free: 15.83 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006005/1.107, allocations: 143.8 kB / 1.396 GB, free: 15.69 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004617/1.107, allocations: 68.8 kB / 1.396 GB, free: 15.62 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-05/1.107, allocations: 27.97 kB / 1.397 GB, free: 15.59 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002169/1.109, allocations: 1.662 MB / 1.398 GB, free: 13.79 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/1.109, allocations: 0 / 1.398 GB, free: 13.79 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002151/1.112, allocations: 0.9283 MB / 1.399 GB, free: 12.83 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004928/1.112, allocations: 272.2 kB / 1.399 GB, free: 12.55 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/1.112, allocations: 20 kB / 1.399 GB, free: 12.53 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006071/1.113, allocations: 59.94 kB / 1.399 GB, free: 12.47 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001634/1.113, allocations: 72.86 kB / 1.399 GB, free: 12.4 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.804e-05/1.113, allocations: 43.91 kB / 1.399 GB, free: 12.36 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0006935/1.114, allocations: 455 kB / 1.4 GB, free: 11.92 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.1e-07/1.114, allocations: 0 / 1.4 GB, free: 11.92 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.000946/1.115, allocations: 323.1 kB / 1.4 GB, free: 11.6 MB / 1.107 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.002052/1.117, allocations: 0.6262 MB / 1.401 GB, free: 11.15 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001878/1.119, allocations: 0.7999 MB / 1.402 GB, free: 10.34 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.119, allocations: 0 / 1.402 GB, free: 10.34 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0009827/1.12, allocations: 488.5 kB / 1.402 GB, free: 9.855 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/1.121, allocations: 299.3 kB / 1.402 GB, free: 9.574 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003517/1.124, allocations: 1.669 MB / 1.404 GB, free: 7.875 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007685/1.125, allocations: 1.02 MB / 1.405 GB, free: 6.828 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0008342/1.126, allocations: 254.7 kB / 1.405 GB, free: 6.574 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002533/1.126, allocations: 107.4 kB / 1.405 GB, free: 6.473 MB / 1.107 GB Notification: Performance of SimCode: time 1.072e-06/1.126, allocations: 3.938 kB / 1.405 GB, free: 6.469 MB / 1.107 GB Notification: Performance of Templates: time 0.0324/1.159, allocations: 15.71 MB / 1.421 GB, free: 6.895 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile [Timeout 300] (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.627863770350814]