Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 109.3 kB / 16.46 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 213.7 kB / 19.43 MB, free: 3.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.632/1.632, allocations: 230.6 MB / 252.8 MB, free: 9.113 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.219/3.219, allocations: 0.49 GB / 0.7916 GB, free: 33.39 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003025/0.003025, allocations: 70.08 kB / 1.149 GB, free: 26.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3834, allocations: 176.1 MB / 1.321 GB, free: 2.848 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.008484/0.3919, allocations: 6.026 MB / 1.327 GB, free: 12.79 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1937/0.5856, allocations: 154.2 MB / 1.478 GB, free: 1.973 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001102/0.5867, allocations: 27.75 kB / 1.478 GB, free: 1.945 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007393/0.5874, allocations: 237.7 kB / 1.478 GB, free: 1.711 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002183/0.5896, allocations: 0.6604 MB / 1.479 GB, free: 1.051 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002296/0.5919, allocations: 0.8892 MB / 1.479 GB, free: 172 kB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002304/0.5942, allocations: 1.669 MB / 1.481 GB, free: 14.49 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001071/0.5952, allocations: 0.6043 MB / 1.482 GB, free: 13.85 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009771/0.5962, allocations: 0.6423 MB / 1.482 GB, free: 13.21 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008407/0.5971, allocations: 0.6767 MB / 1.483 GB, free: 12.53 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002161/0.5973, allocations: 156 kB / 1.483 GB, free: 12.38 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001135/0.5984, allocations: 0.5464 MB / 1.484 GB, free: 11.83 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003561/0.5988, allocations: 374.8 kB / 1.484 GB, free: 11.46 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0007329/0.5995, allocations: 0.7385 MB / 1.485 GB, free: 10.72 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002841/0.6023, allocations: 2.089 MB / 1.487 GB, free: 8.621 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.6023, allocations: 4 kB / 1.487 GB, free: 8.617 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6023, allocations: 4 kB / 1.487 GB, free: 8.613 MB / 1.186 GB Notification: Performance of Transformations before backend: time 3.388e-05/0.6024, allocations: 0 / 1.487 GB, free: 8.613 MB / 1.186 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.003283/0.6057, allocations: 1.788 MB / 1.489 GB, free: 6.766 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.6057, allocations: 11.98 kB / 1.489 GB, free: 6.754 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001665/0.6074, allocations: 279.8 kB / 1.489 GB, free: 6.48 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001474/0.6088, allocations: 0.8801 MB / 1.49 GB, free: 5.555 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.475e-05/0.6089, allocations: 90.41 kB / 1.49 GB, free: 5.465 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/0.6091, allocations: 116 kB / 1.49 GB, free: 5.352 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002252/0.6113, allocations: 1.206 MB / 1.491 GB, free: 4.082 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.836e-05/0.6114, allocations: 3.984 kB / 1.491 GB, free: 4.078 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/0.6115, allocations: 52 kB / 1.491 GB, free: 4.027 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.766e-05/0.6115, allocations: 32 kB / 1.491 GB, free: 3.996 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002271/0.6138, allocations: 1.277 MB / 1.492 GB, free: 2.711 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005676/0.6195, allocations: 3.714 MB / 1.496 GB, free: 14.79 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001705/0.6212, allocations: 0.8212 MB / 1.497 GB, free: 13.95 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005993/0.6218, allocations: 294.7 kB / 1.497 GB, free: 13.66 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 8.621e-05/0.6219, allocations: 24.61 kB / 1.497 GB, free: 13.64 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009824/0.6228, allocations: 0.5239 MB / 1.498 GB, free: 13.11 MB / 1.201 GB Notification: Performance of pre-optimization done (n=87): time 2.475e-06/0.6228, allocations: 4 kB / 1.498 GB, free: 13.1 MB / 1.201 GB Notification: Performance of matching and sorting (n=87): time 0.003696/0.6265, allocations: 1.294 MB / 1.499 GB, free: 11.78 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001279/0.6267, allocations: 188.9 kB / 1.499 GB, free: 11.55 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/0.6278, allocations: 0.7627 MB / 1.5 GB, free: 10.78 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 8.727e-05/0.6279, allocations: 45.7 kB / 1.5 GB, free: 10.73 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004866/0.6284, allocations: 0.5282 MB / 1.5 GB, free: 10.19 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002814/0.6287, allocations: 293.5 kB / 1.501 GB, free: 9.902 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000296/0.629, allocations: 178.5 kB / 1.501 GB, free: 9.723 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.6291, allocations: 338 kB / 1.501 GB, free: 9.387 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000618/0.6297, allocations: 301.8 kB / 1.501 GB, free: 9.094 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007358/0.6305, allocations: 391.1 kB / 1.502 GB, free: 8.695 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001391/0.6319, allocations: 0.6555 MB / 1.502 GB, free: 8.031 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.6319, allocations: 0 / 1.502 GB, free: 8.031 MB / 1.201 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002369/0.6342, allocations: 0.9233 MB / 1.503 GB, free: 7.094 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.6343, allocations: 8 kB / 1.503 GB, free: 7.086 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.6343, allocations: 3.938 kB / 1.503 GB, free: 7.082 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006548/0.6349, allocations: 88.8 kB / 1.503 GB, free: 6.992 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007458/0.6357, allocations: 175.8 kB / 1.504 GB, free: 6.82 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002403/0.6381, allocations: 1.629 MB / 1.505 GB, free: 5.051 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008873/0.639, allocations: 107.4 kB / 1.505 GB, free: 4.945 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.6391, allocations: 43.95 kB / 1.505 GB, free: 4.902 MB / 1.201 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.0006234/0.6397, allocations: 303.5 kB / 1.506 GB, free: 4.594 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002722/0.64, allocations: 95.39 kB / 1.506 GB, free: 4.5 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00283/0.6428, allocations: 1.13 MB / 1.507 GB, free: 3.359 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/0.6428, allocations: 15.94 kB / 1.507 GB, free: 3.344 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.6428, allocations: 0 / 1.507 GB, free: 3.344 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.6428, allocations: 3.984 kB / 1.507 GB, free: 3.34 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001781/0.6446, allocations: 1.063 MB / 1.508 GB, free: 2.227 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/0.6446, allocations: 4 kB / 1.508 GB, free: 2.223 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006914/0.6453, allocations: 155.8 kB / 1.508 GB, free: 2.07 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004916/0.6458, allocations: 76.72 kB / 1.508 GB, free: 1.992 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.035e-05/0.6459, allocations: 27.98 kB / 1.508 GB, free: 1.965 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002305/0.6482, allocations: 1.662 MB / 1.51 GB, free: 156 kB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.6482, allocations: 0 / 1.51 GB, free: 156 kB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00255/0.6507, allocations: 0.9868 MB / 1.511 GB, free: 15.14 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006918/0.6514, allocations: 300.1 kB / 1.511 GB, free: 14.83 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002213/0.6517, allocations: 20 kB / 1.511 GB, free: 14.81 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007616/0.6524, allocations: 62.22 kB / 1.511 GB, free: 14.75 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002175/0.6526, allocations: 80.89 kB / 1.511 GB, free: 14.68 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.259e-05/0.6527, allocations: 43.97 kB / 1.511 GB, free: 14.63 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.00105/0.6538, allocations: 0.5342 MB / 1.512 GB, free: 14.1 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6538, allocations: 0 / 1.512 GB, free: 14.1 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001473/0.6553, allocations: 394.8 kB / 1.512 GB, free: 13.71 MB / 1.217 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.002377/0.6576, allocations: 0.6009 MB / 1.513 GB, free: 13.28 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002228/0.6599, allocations: 0.8586 MB / 1.514 GB, free: 12.41 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.6599, allocations: 0 / 1.514 GB, free: 12.41 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001101/0.661, allocations: 0.5041 MB / 1.514 GB, free: 11.89 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001698/0.6627, allocations: 346.5 kB / 1.514 GB, free: 11.59 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004052/0.6667, allocations: 2.013 MB / 1.516 GB, free: 9.543 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008956/0.6676, allocations: 1.118 MB / 1.517 GB, free: 8.398 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001135/0.6687, allocations: 279.7 kB / 1.518 GB, free: 8.121 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003872/0.6691, allocations: 119.4 kB / 1.518 GB, free: 8.004 MB / 1.217 GB Notification: Performance of SimCode: time 2.034e-06/0.6691, allocations: 0 / 1.518 GB, free: 8.004 MB / 1.217 GB Notification: Performance of Templates: time 0.03193/0.7011, allocations: 16.89 MB / 1.534 GB, free: 7.297 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.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.891843190416694]