Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001434/0.001434, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001792/0.001792, allocations: 220.7 kB / 22.99 MB, free: 4.914 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.522/1.522, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.421/3.421, allocations: 0.5107 GB / 0.8166 GB, free: 17.88 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_flow.1.|heaLos.QLos_flow.2.|heaLos.QLos_flow.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos_flow.1.|heaLos.QLos_flow.2.|heaLos.QLos_flow.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_latest_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.002097/0.002097, allocations: 67.69 kB / 1.187 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3813/0.3834, allocations: 181.9 MB / 1.365 GB, free: 13.65 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003474/0.3869, allocations: 1.871 MB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005015/0.3919, allocations: 3.449 MB / 1.37 GB, free: 8.289 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001404/0.3921, allocations: 3.938 kB / 1.37 GB, free: 8.285 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0009338/0.393, allocations: 179.2 kB / 1.37 GB, free: 8.109 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002463/0.3932, allocations: 83.45 kB / 1.37 GB, free: 8.027 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00015/0.3934, allocations: 47.94 kB / 1.37 GB, free: 7.98 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005426/0.3939, allocations: 283.1 kB / 1.37 GB, free: 7.703 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.3941, allocations: 29.66 kB / 1.37 GB, free: 7.676 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.3942, allocations: 79.69 kB / 1.37 GB, free: 7.598 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.3943, allocations: 79.67 kB / 1.371 GB, free: 7.52 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.417e-05/0.3944, allocations: 8 kB / 1.371 GB, free: 7.512 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.706e-05/0.3945, allocations: 23.94 kB / 1.371 GB, free: 7.488 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.068e-05/0.3945, allocations: 63.69 kB / 1.371 GB, free: 7.426 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.059e-05/0.3946, allocations: 71.59 kB / 1.371 GB, free: 7.355 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003051/0.3949, allocations: 210.9 kB / 1.371 GB, free: 7.148 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.395, allocations: 4 kB / 1.371 GB, free: 7.145 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.643e-06/0.395, allocations: 0 / 1.371 GB, free: 7.145 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.395, allocations: 0 / 1.371 GB, free: 7.145 MB / 1.061 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.0009373/0.3959, allocations: 477.8 kB / 1.371 GB, free: 6.648 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.3959, allocations: 8.031 kB / 1.371 GB, free: 6.641 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008715/0.3968, allocations: 128.6 kB / 1.371 GB, free: 6.516 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005594/0.3974, allocations: 202.6 kB / 1.372 GB, free: 6.293 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.3974, allocations: 4.375 kB / 1.372 GB, free: 6.289 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/0.3974, allocations: 384 / 1.372 GB, free: 6.289 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004468/0.3978, allocations: 173.5 kB / 1.372 GB, free: 6.113 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.3979, allocations: 0 / 1.372 GB, free: 6.113 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.3979, allocations: 0 / 1.372 GB, free: 6.113 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.967e-05/0.3979, allocations: 11.98 kB / 1.372 GB, free: 6.102 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004809/0.3984, allocations: 151.9 kB / 1.372 GB, free: 5.953 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007843/0.3992, allocations: 404.2 kB / 1.372 GB, free: 5.527 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004866/0.3997, allocations: 186.4 kB / 1.373 GB, free: 5.336 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002959/0.3999, allocations: 101 kB / 1.373 GB, free: 5.234 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.4, allocations: 12 kB / 1.373 GB, free: 5.223 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.4, allocations: 34.56 kB / 1.373 GB, free: 5.18 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.4, allocations: 0 / 1.373 GB, free: 5.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0009464/0.4009, allocations: 323.8 kB / 1.373 GB, free: 4.859 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/0.401, allocations: 55.41 kB / 1.373 GB, free: 4.793 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002792/0.4013, allocations: 252.2 kB / 1.373 GB, free: 4.535 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.981e-05/0.4013, allocations: 29.7 kB / 1.373 GB, free: 4.5 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.4014, allocations: 140.1 kB / 1.373 GB, free: 4.359 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.14e-05/0.4015, allocations: 43.64 kB / 1.374 GB, free: 4.316 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.172e-05/0.4016, allocations: 29.7 kB / 1.374 GB, free: 4.281 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001815/0.4017, allocations: 338.8 kB / 1.374 GB, free: 3.941 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000252/0.402, allocations: 83.92 kB / 1.374 GB, free: 3.859 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/0.4022, allocations: 79.94 kB / 1.374 GB, free: 3.781 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004954/0.4027, allocations: 180.7 kB / 1.374 GB, free: 3.602 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4027, allocations: 4 kB / 1.374 GB, free: 3.598 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006005/0.4033, allocations: 236 kB / 1.374 GB, free: 3.363 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.4033, allocations: 8 kB / 1.374 GB, free: 3.355 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.4034, allocations: 0 / 1.374 GB, free: 3.355 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.4034, allocations: 0 / 1.374 GB, free: 3.355 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002993/0.4037, allocations: 35.95 kB / 1.374 GB, free: 3.32 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.4037, allocations: 4 kB / 1.374 GB, free: 3.316 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002034/0.4039, allocations: 31.81 kB / 1.375 GB, free: 3.285 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.4039, allocations: 0 / 1.375 GB, free: 3.285 MB / 1.061 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.0001568/0.4041, allocations: 145.8 kB / 1.375 GB, free: 3.133 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.066e-05/0.4041, allocations: 23.86 kB / 1.375 GB, free: 3.109 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.093e-05/0.4042, allocations: 29.8 kB / 1.375 GB, free: 3.082 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.4042, allocations: 3.938 kB / 1.375 GB, free: 3.078 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.4042, allocations: 0 / 1.375 GB, free: 3.078 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.4042, allocations: 0 / 1.375 GB, free: 3.078 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003006/0.4045, allocations: 217.1 kB / 1.375 GB, free: 2.836 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4045, allocations: 0 / 1.375 GB, free: 2.836 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002557/0.4047, allocations: 35.97 kB / 1.375 GB, free: 2.801 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.4047, allocations: 0 / 1.375 GB, free: 2.801 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/0.4048, allocations: 7.984 kB / 1.375 GB, free: 2.793 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.4048, allocations: 0 / 1.375 GB, free: 2.793 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4048, allocations: 0 / 1.375 GB, free: 2.793 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006832/0.4054, allocations: 351.1 kB / 1.375 GB, free: 2.434 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.4056, allocations: 39.77 kB / 1.375 GB, free: 2.395 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.638e-05/0.4056, allocations: 0 / 1.375 GB, free: 2.395 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002222/0.4058, allocations: 15.98 kB / 1.375 GB, free: 2.379 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.902e-05/0.4059, allocations: 7.984 kB / 1.375 GB, free: 2.371 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.213e-05/0.4059, allocations: 11.98 kB / 1.375 GB, free: 2.359 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000186/0.4061, allocations: 183.1 kB / 1.376 GB, free: 2.18 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4061, allocations: 0 / 1.376 GB, free: 2.18 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002748/0.4064, allocations: 40 kB / 1.376 GB, free: 2.141 MB / 1.061 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.0001401/0.4065, allocations: 99.25 kB / 1.376 GB, free: 2.031 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000574/0.4071, allocations: 187.8 kB / 1.376 GB, free: 1.848 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.4071, allocations: 0 / 1.376 GB, free: 1.848 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002836/0.4074, allocations: 99.86 kB / 1.376 GB, free: 1.75 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004466/0.4078, allocations: 67.67 kB / 1.376 GB, free: 1.684 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009704/0.4088, allocations: 0.5021 MB / 1.376 GB, free: 1.148 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001577/0.4089, allocations: 140.1 kB / 1.377 GB, free: 0.9922 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.409, allocations: 23.42 kB / 1.377 GB, free: 0.9688 MB / 1.061 GB Notification: Performance of SimCode: time 4.21e-07/0.409, allocations: 0 / 1.377 GB, free: 0.9688 MB / 1.061 GB Notification: Performance of Templates: time 0.005587/0.4146, allocations: 3.037 MB / 1.38 GB, free: 13.96 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 12.227554115932435]