Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001742/0.001742, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002141/0.002141, allocations: 212.4 kB / 22.99 MB, free: 4.984 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.427/1.427, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.101/3.101, allocations: 0.49 GB / 0.7959 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 177] 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.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_12_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_12_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.002035/0.002035, allocations: 75.02 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3095, allocations: 176.1 MB / 1.327 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003269/0.3128, allocations: 1.862 MB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004546/0.3173, allocations: 3.46 MB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.755e-05/0.3174, allocations: 4 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000784/0.3182, allocations: 179.1 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002194/0.3184, allocations: 83.52 kB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001304/0.3185, allocations: 51.88 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005122/0.319, allocations: 279.1 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.597e-05/0.3191, allocations: 25.72 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.3193, allocations: 75.7 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.3194, allocations: 83.61 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.674e-05/0.3194, allocations: 8 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.3195, allocations: 35.92 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.513e-05/0.3196, allocations: 55.75 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.936e-05/0.3197, allocations: 75.59 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002751/0.32, allocations: 199 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.32, allocations: 4 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.352e-06/0.32, allocations: 0 / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.32, allocations: 0 / 1.333 GB, free: 10.54 MB / 1.029 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.0009288/0.3209, allocations: 484.7 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.321, allocations: 8.031 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004122/0.3214, allocations: 56.75 kB / 1.334 GB, free: 9.969 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004192/0.3218, allocations: 210.6 kB / 1.334 GB, free: 9.734 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.3218, allocations: 8.375 kB / 1.334 GB, free: 9.727 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.3218, allocations: 4.375 kB / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003717/0.3222, allocations: 141.7 kB / 1.334 GB, free: 9.578 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.3222, allocations: 0 / 1.334 GB, free: 9.578 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.3222, allocations: 4 kB / 1.334 GB, free: 9.574 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.726e-05/0.3223, allocations: 12 kB / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004613/0.3227, allocations: 147.8 kB / 1.334 GB, free: 9.418 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007779/0.3235, allocations: 380.2 kB / 1.335 GB, free: 9.016 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004485/0.3239, allocations: 162.5 kB / 1.335 GB, free: 8.848 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000261/0.3242, allocations: 102.1 kB / 1.335 GB, free: 8.746 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.3242, allocations: 11.88 kB / 1.335 GB, free: 8.734 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.3243, allocations: 38.55 kB / 1.335 GB, free: 8.688 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.3243, allocations: 0 / 1.335 GB, free: 8.688 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0009829/0.3252, allocations: 293.6 kB / 1.335 GB, free: 8.395 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.3253, allocations: 59.41 kB / 1.335 GB, free: 8.324 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002788/0.3256, allocations: 248.2 kB / 1.336 GB, free: 8.074 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.3256, allocations: 29.7 kB / 1.336 GB, free: 8.039 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.3257, allocations: 140.1 kB / 1.336 GB, free: 7.898 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.093e-05/0.3258, allocations: 43.64 kB / 1.336 GB, free: 7.855 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.597e-05/0.3258, allocations: 29.7 kB / 1.336 GB, free: 7.82 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.326, allocations: 342.8 kB / 1.336 GB, free: 7.477 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002364/0.3262, allocations: 71.94 kB / 1.336 GB, free: 7.406 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002247/0.3264, allocations: 81.12 kB / 1.336 GB, free: 7.328 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004703/0.3269, allocations: 170.5 kB / 1.337 GB, free: 7.16 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3269, allocations: 0 / 1.337 GB, free: 7.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005644/0.3275, allocations: 225.4 kB / 1.337 GB, free: 6.934 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.3275, allocations: 5.719 kB / 1.337 GB, free: 6.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3275, allocations: 0 / 1.337 GB, free: 6.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.3275, allocations: 4 kB / 1.337 GB, free: 6.926 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002684/0.3278, allocations: 35.91 kB / 1.337 GB, free: 6.891 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.3278, allocations: 7.984 kB / 1.337 GB, free: 6.883 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/0.328, allocations: 15.92 kB / 1.337 GB, free: 6.867 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.328, allocations: 4 kB / 1.337 GB, free: 6.863 MB / 1.029 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.0001375/0.3281, allocations: 138.3 kB / 1.337 GB, free: 6.719 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.462e-05/0.3282, allocations: 27.84 kB / 1.337 GB, free: 6.691 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.688e-05/0.3282, allocations: 33.81 kB / 1.337 GB, free: 6.656 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3282, allocations: 0 / 1.337 GB, free: 6.656 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3282, allocations: 0 / 1.337 GB, free: 6.656 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.3282, allocations: 3.984 kB / 1.337 GB, free: 6.652 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002768/0.3285, allocations: 201.1 kB / 1.337 GB, free: 6.426 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3285, allocations: 0 / 1.337 GB, free: 6.426 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002447/0.3288, allocations: 43.89 kB / 1.337 GB, free: 6.383 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3288, allocations: 0 / 1.337 GB, free: 6.383 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.3288, allocations: 4 kB / 1.337 GB, free: 6.379 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3288, allocations: 0 / 1.337 GB, free: 6.379 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3288, allocations: 7.938 kB / 1.337 GB, free: 6.371 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006422/0.3294, allocations: 326.5 kB / 1.338 GB, free: 6.039 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.719e-05/0.3295, allocations: 43.72 kB / 1.338 GB, free: 5.996 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.434e-05/0.3296, allocations: 0 / 1.338 GB, free: 5.996 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/0.3298, allocations: 15.98 kB / 1.338 GB, free: 5.98 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.89e-05/0.3298, allocations: 15.97 kB / 1.338 GB, free: 5.965 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.3298, allocations: 0 / 1.338 GB, free: 5.965 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001827/0.33, allocations: 191 kB / 1.338 GB, free: 5.777 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.33, allocations: 0 / 1.338 GB, free: 5.777 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002848/0.3303, allocations: 40 kB / 1.338 GB, free: 5.738 MB / 1.029 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.0001748/0.3305, allocations: 115.1 kB / 1.338 GB, free: 5.613 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005603/0.331, allocations: 167.9 kB / 1.338 GB, free: 5.449 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.331, allocations: 0 / 1.338 GB, free: 5.449 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002665/0.3313, allocations: 83.88 kB / 1.338 GB, free: 5.367 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004323/0.3317, allocations: 62.7 kB / 1.338 GB, free: 5.305 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009047/0.3327, allocations: 472.5 kB / 1.339 GB, free: 4.816 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.3328, allocations: 144 kB / 1.339 GB, free: 4.656 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001751/0.333, allocations: 49.38 kB / 1.339 GB, free: 4.609 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.205e-05/0.333, allocations: 19.42 kB / 1.339 GB, free: 4.59 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/0.333, allocations: 0 / 1.339 GB, free: 4.59 MB / 1.029 GB Notification: Performance of Templates: time 0.006665/0.3397, allocations: 2.956 MB / 1.342 GB, free: 1.711 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.387054730003001]