Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.0016/0.0016, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001978/0.001978, allocations: 216.5 kB / 22.99 MB, free: 4.945 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.549/1.549, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.864/2.864, allocations: 476 MB / 0.7707 GB, free: 4.691 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") [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.002137/0.002137, allocations: 63.44 kB / 1.118 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.3716, allocations: 170 MB / 1.284 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003569/0.3751, allocations: 1.89 MB / 1.286 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00473/0.3799, allocations: 3.312 MB / 1.289 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000145/0.38, allocations: 7.938 kB / 1.289 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002845/0.3803, allocations: 43.69 kB / 1.289 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005202/0.3808, allocations: 139.2 kB / 1.289 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001736/0.381, allocations: 51.86 kB / 1.289 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002662/0.3812, allocations: 179.2 kB / 1.289 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.3814, allocations: 21.8 kB / 1.289 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002151/0.3816, allocations: 87.62 kB / 1.289 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.3817, allocations: 87.55 kB / 1.289 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.998e-05/0.3818, allocations: 8 kB / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.892e-05/0.3819, allocations: 35.98 kB / 1.289 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.678e-05/0.382, allocations: 43.77 kB / 1.29 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.091e-05/0.382, allocations: 63.61 kB / 1.29 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000279/0.3823, allocations: 179.1 kB / 1.29 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3823, allocations: 0 / 1.29 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3823, allocations: 0 / 1.29 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.3823, allocations: 3.938 kB / 1.29 GB, free: 5.707 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009785/0.3833, allocations: 461 kB / 1.29 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.3834, allocations: 12.03 kB / 1.29 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003753/0.3837, allocations: 56.75 kB / 1.29 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004958/0.3842, allocations: 205 kB / 1.29 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.3842, allocations: 384 / 1.29 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.3843, allocations: 4.375 kB / 1.29 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003824/0.3846, allocations: 156.1 kB / 1.291 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.3846, allocations: 0 / 1.291 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.015e-05/0.3847, allocations: 7.984 kB / 1.291 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.889e-05/0.3847, allocations: 8 kB / 1.291 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004877/0.3852, allocations: 143.8 kB / 1.291 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007588/0.3859, allocations: 380.2 kB / 1.291 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004348/0.3864, allocations: 162.5 kB / 1.291 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002639/0.3866, allocations: 104.7 kB / 1.291 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.3867, allocations: 4 kB / 1.291 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.3867, allocations: 34.56 kB / 1.291 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.3867, allocations: 0 / 1.291 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0009203/0.3876, allocations: 296 kB / 1.292 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/0.3877, allocations: 55.41 kB / 1.292 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002629/0.3879, allocations: 221.1 kB / 1.292 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.388, allocations: 29.7 kB / 1.292 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.3881, allocations: 124.1 kB / 1.292 GB, free: 3.148 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.367e-05/0.3881, allocations: 39.64 kB / 1.292 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.361e-05/0.3882, allocations: 33.7 kB / 1.292 GB, free: 3.07 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001876/0.3884, allocations: 334.8 kB / 1.293 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002443/0.3886, allocations: 79.88 kB / 1.293 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002351/0.3889, allocations: 75.92 kB / 1.293 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004737/0.3893, allocations: 162.1 kB / 1.293 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.3893, allocations: 4 kB / 1.293 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005649/0.3899, allocations: 217.4 kB / 1.293 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.3899, allocations: 8 kB / 1.293 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.3899, allocations: 0 / 1.293 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.3899, allocations: 3.984 kB / 1.293 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.3902, allocations: 43.89 kB / 1.293 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.3902, allocations: 0 / 1.293 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.3904, allocations: 19.88 kB / 1.293 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.121e-05/0.3904, allocations: 8 kB / 1.293 GB, free: 2.117 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001423/0.3905, allocations: 129.8 kB / 1.293 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.837e-05/0.3906, allocations: 19.91 kB / 1.293 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.161e-05/0.3906, allocations: 25.77 kB / 1.293 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.3906, allocations: 0 / 1.293 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.3907, allocations: 8 kB / 1.293 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3907, allocations: 0 / 1.293 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002884/0.3909, allocations: 193.1 kB / 1.293 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3909, allocations: 0 / 1.293 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002201/0.3912, allocations: 39.84 kB / 1.294 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.3912, allocations: 3.984 kB / 1.294 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.3912, allocations: 8 kB / 1.294 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3912, allocations: 0 / 1.294 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3912, allocations: 0 / 1.294 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006421/0.3918, allocations: 318.5 kB / 1.294 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.3919, allocations: 43.77 kB / 1.294 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.037e-05/0.392, allocations: 0 / 1.294 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/0.3922, allocations: 15.98 kB / 1.294 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.972e-05/0.3922, allocations: 11.97 kB / 1.294 GB, free: 1.262 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.3922, allocations: 8 kB / 1.294 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001762/0.3924, allocations: 168.5 kB / 1.294 GB, free: 1.09 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3924, allocations: 3.938 kB / 1.294 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002951/0.3927, allocations: 39.94 kB / 1.294 GB, free: 1.047 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000183/0.3929, allocations: 103.2 kB / 1.294 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005687/0.3935, allocations: 171.9 kB / 1.294 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3935, allocations: 0 / 1.294 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002559/0.3937, allocations: 87.86 kB / 1.294 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.3941, allocations: 42.72 kB / 1.294 GB, free: 0.6406 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000972/0.3951, allocations: 477.8 kB / 1.295 GB, free: 140 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.3952, allocations: 116 kB / 1.295 GB, free: 8 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.3953, allocations: 23.47 kB / 1.295 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of SimCode: time 9.61e-07/0.3953, allocations: 4 kB / 1.295 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of Templates: time 0.005028/0.4003, allocations: 2.489 MB / 1.298 GB, free: 13.51 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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: 11.673767729196697]