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.001879/0.001879, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002527/0.002527, allocations: 218.8 kB / 23.01 MB, free: 4.609 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.554/1.554, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.817/2.817, allocations: 476.7 MB / 0.7714 GB, free: 4.309 MB / 0.6231 GB " [Timeout remaining time 176] 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.002035/0.002035, allocations: 65.86 kB / 1.119 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3482, allocations: 170 MB / 1.285 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003479/0.3517, allocations: 1.96 MB / 1.287 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004621/0.3563, allocations: 3.611 MB / 1.29 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.3564, allocations: 7.938 kB / 1.29 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002617/0.3567, allocations: 47.62 kB / 1.29 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004807/0.3572, allocations: 147.2 kB / 1.29 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001616/0.3573, allocations: 51.86 kB / 1.29 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002926/0.3576, allocations: 187.2 kB / 1.29 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.3577, allocations: 17.8 kB / 1.29 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002013/0.3579, allocations: 87.69 kB / 1.291 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001799/0.3581, allocations: 87.56 kB / 1.291 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.635e-05/0.3581, allocations: 11.94 kB / 1.291 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.3583, allocations: 43.89 kB / 1.291 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.057e-05/0.3583, allocations: 39.84 kB / 1.291 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.995e-05/0.3584, allocations: 75.55 kB / 1.291 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002843/0.3587, allocations: 191 kB / 1.291 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3587, allocations: 0 / 1.291 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3587, allocations: 0 / 1.291 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.3587, allocations: 0 / 1.291 GB, free: 4.617 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.0009445/0.3597, allocations: 461 kB / 1.291 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.3597, allocations: 8.031 kB / 1.291 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003688/0.3601, allocations: 56.75 kB / 1.292 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004726/0.3605, allocations: 197.2 kB / 1.292 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.3606, allocations: 4.375 kB / 1.292 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.3606, allocations: 4.375 kB / 1.292 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003798/0.361, allocations: 153.5 kB / 1.292 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.361, allocations: 0 / 1.292 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.361, allocations: 4 kB / 1.292 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.94e-05/0.361, allocations: 11.98 kB / 1.292 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004553/0.3615, allocations: 143.9 kB / 1.292 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007504/0.3622, allocations: 419.6 kB / 1.292 GB, free: 3.082 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004205/0.3626, allocations: 166.4 kB / 1.293 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002633/0.3629, allocations: 100.8 kB / 1.293 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.3629, allocations: 0 / 1.293 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.363, allocations: 38.56 kB / 1.293 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 8.82e-07/0.363, allocations: 0 / 1.293 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0008494/0.3638, allocations: 302.8 kB / 1.293 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/0.3639, allocations: 63.27 kB / 1.293 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002431/0.3641, allocations: 221.1 kB / 1.293 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.3641, allocations: 29.7 kB / 1.293 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.025e-05/0.3642, allocations: 128.1 kB / 1.293 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.1e-05/0.3643, allocations: 43.64 kB / 1.293 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.347e-05/0.3643, allocations: 29.7 kB / 1.293 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.3645, allocations: 330.8 kB / 1.294 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002294/0.3647, allocations: 75.92 kB / 1.294 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002246/0.365, allocations: 75.94 kB / 1.294 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004535/0.3654, allocations: 169.7 kB / 1.294 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3654, allocations: 0 / 1.294 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005389/0.366, allocations: 223.9 kB / 1.294 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.366, allocations: 11.98 kB / 1.294 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.366, allocations: 0 / 1.294 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.366, allocations: 0 / 1.294 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002591/0.3663, allocations: 31.97 kB / 1.294 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.3663, allocations: 0 / 1.294 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.3664, allocations: 23.88 kB / 1.294 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.3664, allocations: 7.984 kB / 1.294 GB, free: 0.9727 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.0001253/0.3666, allocations: 129.8 kB / 1.295 GB, free: 0.8359 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.872e-05/0.3666, allocations: 19.86 kB / 1.295 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.07e-05/0.3667, allocations: 29.77 kB / 1.295 GB, free: 0.7852 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.3667, allocations: 0 / 1.295 GB, free: 0.7852 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3667, allocations: 0 / 1.295 GB, free: 0.7852 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3667, allocations: 7.938 kB / 1.295 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000313/0.367, allocations: 244.5 kB / 1.295 GB, free: 0.4961 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.367, allocations: 0 / 1.295 GB, free: 0.4961 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000215/0.3672, allocations: 31.97 kB / 1.295 GB, free: 476 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.3672, allocations: 0 / 1.295 GB, free: 476 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.3672, allocations: 7.984 kB / 1.295 GB, free: 468 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.3672, allocations: 4 kB / 1.295 GB, free: 464 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3672, allocations: 0 / 1.295 GB, free: 464 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005778/0.3678, allocations: 315.2 kB / 1.295 GB, free: 132 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.938e-05/0.3679, allocations: 47.7 kB / 1.295 GB, free: 84 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.147e-05/0.3679, allocations: 0 / 1.295 GB, free: 84 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/0.3681, allocations: 15.92 kB / 1.295 GB, free: 68 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.984e-05/0.3682, allocations: 15.98 kB / 1.295 GB, free: 52 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.3682, allocations: 3.984 kB / 1.295 GB, free: 48 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001649/0.3684, allocations: 164.5 kB / 1.295 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3684, allocations: 0 / 1.295 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002998/0.3687, allocations: 39.94 kB / 1.295 GB, free: 15.85 MB / 0.9981 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.0001729/0.3688, allocations: 103.2 kB / 1.296 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005391/0.3694, allocations: 183.7 kB / 1.296 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3694, allocations: 0 / 1.296 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002465/0.3696, allocations: 95.11 kB / 1.296 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.37, allocations: 36.97 kB / 1.296 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008947/0.3709, allocations: 465.9 kB / 1.296 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/0.3713, allocations: 0.7318 MB / 1.297 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.041e-05/0.3714, allocations: 23.42 kB / 1.297 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of SimCode: time 3.9e-07/0.3714, allocations: 0 / 1.297 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of Templates: time 0.004549/0.3759, allocations: 2.421 MB / 1.299 GB, free: 11.76 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.868443737010239]