Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.001881/0.001881, allocations: 104.4 kB / 16.45 MB, free: 6.449 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.002082/0.002082, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.455/1.455, allocations: 230.5 MB / 252.8 MB, free: 9.145 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.341/3.341, allocations: 0.4899 GB / 0.7915 GB, free: 33.27 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.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") [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.002878/0.002878, allocations: 72.78 kB / 1.149 GB, free: 26.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4055/0.4083, allocations: 176.1 MB / 1.321 GB, free: 2.887 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.01046/0.4188, allocations: 7.115 MB / 1.328 GB, free: 11.74 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1913/0.6101, allocations: 154.5 MB / 1.479 GB, free: 0.5977 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001202/0.6113, allocations: 31.81 kB / 1.479 GB, free: 0.5664 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007847/0.6121, allocations: 269.4 kB / 1.479 GB, free: 308 kB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002316/0.6144, allocations: 0.8032 MB / 1.48 GB, free: 15.5 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00243/0.6168, allocations: 1.029 MB / 1.481 GB, free: 14.48 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002711/0.6195, allocations: 2.124 MB / 1.483 GB, free: 12.34 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001394/0.6209, allocations: 0.7671 MB / 1.484 GB, free: 11.52 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001398/0.6223, allocations: 0.8604 MB / 1.485 GB, free: 10.66 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001438/0.6238, allocations: 0.8986 MB / 1.486 GB, free: 9.758 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0005497/0.6243, allocations: 220 kB / 1.486 GB, free: 9.543 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00157/0.6259, allocations: 0.6012 MB / 1.486 GB, free: 8.941 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0005937/0.6265, allocations: 498.5 kB / 1.487 GB, free: 8.453 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001133/0.6276, allocations: 0.9798 MB / 1.488 GB, free: 7.469 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003497/0.6311, allocations: 2.724 MB / 1.491 GB, free: 4.734 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.6311, allocations: 4 kB / 1.491 GB, free: 4.73 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6311, allocations: 0 / 1.491 GB, free: 4.73 MB / 1.186 GB Notification: Performance of Transformations before backend: time 3.294e-05/0.6312, allocations: 0 / 1.491 GB, free: 4.73 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: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.004126/0.6353, allocations: 2.127 MB / 1.493 GB, free: 2.547 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.6353, allocations: 11.98 kB / 1.493 GB, free: 2.535 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00309/0.6384, allocations: 407.4 kB / 1.493 GB, free: 2.137 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001887/0.6403, allocations: 1.009 MB / 1.494 GB, free: 1.082 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001722/0.6405, allocations: 148.8 kB / 1.494 GB, free: 0.9297 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002026/0.6407, allocations: 152 kB / 1.494 GB, free: 0.7812 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002937/0.6436, allocations: 1.592 MB / 1.496 GB, free: 15.13 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/0.6436, allocations: 0 / 1.496 GB, free: 15.13 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001465/0.6438, allocations: 67.98 kB / 1.496 GB, free: 15.07 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.421e-05/0.6438, allocations: 40 kB / 1.496 GB, free: 15.03 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002825/0.6466, allocations: 1.592 MB / 1.498 GB, free: 13.43 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007919/0.6546, allocations: 4.991 MB / 1.502 GB, free: 8.172 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002074/0.6566, allocations: 1.026 MB / 1.503 GB, free: 7.137 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007699/0.6574, allocations: 395.6 kB / 1.504 GB, free: 6.75 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001049/0.6575, allocations: 45.08 kB / 1.504 GB, free: 6.707 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001299/0.6588, allocations: 0.6978 MB / 1.505 GB, free: 5.992 MB / 1.201 GB Notification: Performance of pre-optimization done (n=111): time 3.086e-06/0.6588, allocations: 0 / 1.505 GB, free: 5.992 MB / 1.201 GB Notification: Performance of matching and sorting (n=111): time 0.004479/0.6633, allocations: 1.665 MB / 1.506 GB, free: 4.301 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001498/0.6634, allocations: 192.9 kB / 1.506 GB, free: 4.066 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001408/0.6648, allocations: 0.8724 MB / 1.507 GB, free: 3.168 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001094/0.665, allocations: 45.7 kB / 1.507 GB, free: 3.117 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006561/0.6656, allocations: 0.6377 MB / 1.508 GB, free: 2.473 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003844/0.666, allocations: 384.7 kB / 1.508 GB, free: 2.094 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004036/0.6664, allocations: 222.8 kB / 1.508 GB, free: 1.871 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002071/0.6666, allocations: 353.9 kB / 1.509 GB, free: 1.52 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008412/0.6675, allocations: 402.4 kB / 1.509 GB, free: 1.125 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009638/0.6684, allocations: 0.515 MB / 1.51 GB, free: 0.5938 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001778/0.6702, allocations: 0.8877 MB / 1.511 GB, free: 15.7 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.6702, allocations: 0 / 1.511 GB, free: 15.7 MB / 1.217 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002856/0.6731, allocations: 1.219 MB / 1.512 GB, free: 14.46 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.6731, allocations: 8 kB / 1.512 GB, free: 14.46 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.6731, allocations: 0 / 1.512 GB, free: 14.46 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006385/0.6737, allocations: 88.8 kB / 1.512 GB, free: 14.37 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.6747, allocations: 227.7 kB / 1.512 GB, free: 14.14 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002355/0.6771, allocations: 1.646 MB / 1.514 GB, free: 12.36 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/0.6782, allocations: 139.1 kB / 1.514 GB, free: 12.22 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/0.6783, allocations: 47.97 kB / 1.514 GB, free: 12.17 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 26 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDirWal.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirRoo.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 (135): * Single equations (assignments): 134 * 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.0007246/0.679, allocations: 356.2 kB / 1.514 GB, free: 11.82 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002466/0.6793, allocations: 119.2 kB / 1.514 GB, free: 11.7 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003489/0.6828, allocations: 1.529 MB / 1.516 GB, free: 10.15 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.571e-05/0.6828, allocations: 12 kB / 1.516 GB, free: 10.14 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.6828, allocations: 0 / 1.516 GB, free: 10.14 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/0.6828, allocations: 11.97 kB / 1.516 GB, free: 10.13 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001879/0.6847, allocations: 1.388 MB / 1.517 GB, free: 8.691 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.6847, allocations: 0 / 1.517 GB, free: 8.691 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008459/0.6855, allocations: 195.7 kB / 1.517 GB, free: 8.5 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000466/0.686, allocations: 76.78 kB / 1.517 GB, free: 8.422 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.257e-05/0.6861, allocations: 35.97 kB / 1.517 GB, free: 8.387 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002123/0.6882, allocations: 1.67 MB / 1.519 GB, free: 6.574 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.6882, allocations: 4.062 kB / 1.519 GB, free: 6.57 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002757/0.691, allocations: 1.285 MB / 1.52 GB, free: 5.262 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005708/0.6915, allocations: 367.8 kB / 1.521 GB, free: 4.883 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000162/0.6917, allocations: 31.98 kB / 1.521 GB, free: 4.852 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008485/0.6925, allocations: 82.09 kB / 1.521 GB, free: 4.773 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002224/0.6928, allocations: 113.1 kB / 1.521 GB, free: 4.664 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/0.6929, allocations: 47.97 kB / 1.521 GB, free: 4.617 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0009536/0.6938, allocations: 0.6336 MB / 1.522 GB, free: 3.973 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.6938, allocations: 0 / 1.522 GB, free: 3.973 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001266/0.6951, allocations: 494.6 kB / 1.522 GB, free: 3.488 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: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * 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.002/0.6971, allocations: 0.6127 MB / 1.523 GB, free: 3.047 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002383/0.6995, allocations: 1.107 MB / 1.524 GB, free: 1.926 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.6995, allocations: 0 / 1.524 GB, free: 1.926 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001261/0.7007, allocations: 0.6427 MB / 1.524 GB, free: 1.273 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/0.7022, allocations: 356.9 kB / 1.525 GB, free: 0.9453 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004744/0.7069, allocations: 2.523 MB / 1.527 GB, free: 14.38 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/0.7079, allocations: 1.224 MB / 1.528 GB, free: 13.12 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001008/0.7089, allocations: 321.5 kB / 1.529 GB, free: 12.81 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004222/0.7093, allocations: 151.3 kB / 1.529 GB, free: 12.66 MB / 1.232 GB Notification: Performance of SimCode: time 1.062e-06/0.7093, allocations: 4 kB / 1.529 GB, free: 12.66 MB / 1.232 GB Notification: Performance of Templates: time 0.0392/0.7485, allocations: 21.25 MB / 1.55 GB, free: 7.609 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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: 10.189953758846968]