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.001372/0.001372, allocations: 84.52 kB / 19.76 MB, free: 2.016 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.001476/0.001476, allocations: 154.7 kB / 23.01 MB, free: 4.973 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.444/1.444, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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 2.861/2.861, allocations: 394.2 MB / 0.6386 GB, free: 11.93 MB / 0.6075 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.002274/0.002274, allocations: 63.89 kB / 1.009 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8772/0.8795, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003047/0.8825, allocations: 1.864 MB / 1.188 GB, free: 14.93 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.004049/0.8866, allocations: 3.457 MB / 1.192 GB, free: 12.55 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001562/0.8867, allocations: 2.281 kB / 1.192 GB, free: 12.55 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.000858/0.8876, allocations: 173.6 kB / 1.192 GB, free: 12.48 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002692/0.8879, allocations: 78.45 kB / 1.192 GB, free: 12.43 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001721/0.888, allocations: 57.34 kB / 1.192 GB, free: 12.4 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0005448/0.8886, allocations: 281.6 kB / 1.192 GB, free: 12.29 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.8887, allocations: 20.55 kB / 1.192 GB, free: 12.29 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.8889, allocations: 78.92 kB / 1.192 GB, free: 12.25 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.8891, allocations: 84.34 kB / 1.193 GB, free: 12.21 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.605e-05/0.8891, allocations: 11.94 kB / 1.193 GB, free: 12.21 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.8892, allocations: 25.27 kB / 1.193 GB, free: 12.21 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 8.167e-05/0.8893, allocations: 54.52 kB / 1.193 GB, free: 12.19 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 9.347e-05/0.8894, allocations: 75.31 kB / 1.193 GB, free: 12.15 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003784/0.8898, allocations: 205.8 kB / 1.193 GB, free: 12.06 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.8898, allocations: 0 / 1.193 GB, free: 12.06 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.254e-06/0.8898, allocations: 0.6094 kB / 1.193 GB, free: 12.06 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.54e-05/0.8898, allocations: 1.062 kB / 1.193 GB, free: 12.06 MB / 1.076 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.001041/0.8908, allocations: 476.6 kB / 1.193 GB, free: 11.68 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.8909, allocations: 9.75 kB / 1.193 GB, free: 11.68 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.892, allocations: 121.6 kB / 1.193 GB, free: 11.67 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005703/0.8925, allocations: 218.7 kB / 1.194 GB, free: 11.48 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.8926, allocations: 6.594 kB / 1.194 GB, free: 11.48 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.834e-05/0.8926, allocations: 7.625 kB / 1.194 GB, free: 11.47 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004188/0.893, allocations: 160.2 kB / 1.194 GB, free: 11.41 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.893, allocations: 0 / 1.194 GB, free: 11.41 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.893, allocations: 8.734 kB / 1.194 GB, free: 11.4 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.812e-05/0.8931, allocations: 10.67 kB / 1.194 GB, free: 11.4 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005078/0.8936, allocations: 158.6 kB / 1.194 GB, free: 11.36 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007765/0.8943, allocations: 391.8 kB / 1.194 GB, free: 11.09 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004739/0.8948, allocations: 179.9 kB / 1.195 GB, free: 11.02 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003032/0.8951, allocations: 102.9 kB / 1.195 GB, free: 10.99 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.8951, allocations: 2.188 kB / 1.195 GB, free: 10.99 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.637e-05/0.8952, allocations: 37.31 kB / 1.195 GB, free: 10.95 MB / 1.076 GB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.8952, allocations: 0 / 1.195 GB, free: 10.95 MB / 1.076 GB Notification: Performance of matching and sorting (n=13): time 0.0009507/0.8961, allocations: 325.3 kB / 1.195 GB, free: 10.83 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.254e-05/0.8961, allocations: 54.3 kB / 1.195 GB, free: 10.77 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002534/0.8964, allocations: 254.1 kB / 1.195 GB, free: 10.62 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.8964, allocations: 26.8 kB / 1.195 GB, free: 10.59 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.306e-05/0.8965, allocations: 141 kB / 1.195 GB, free: 10.46 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.751e-05/0.8965, allocations: 47.8 kB / 1.196 GB, free: 10.43 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.029e-05/0.8966, allocations: 33.91 kB / 1.196 GB, free: 10.4 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.679e-05/0.8967, allocations: 345 kB / 1.196 GB, free: 10.07 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002665/0.8969, allocations: 77.78 kB / 1.196 GB, free: 10.05 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/0.8972, allocations: 87.11 kB / 1.196 GB, free: 10.03 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005226/0.8977, allocations: 182.4 kB / 1.196 GB, free: 9.973 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.8977, allocations: 0 / 1.196 GB, free: 9.973 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007646/0.8985, allocations: 238.7 kB / 1.196 GB, free: 9.883 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.8985, allocations: 5.688 kB / 1.196 GB, free: 9.883 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.8985, allocations: 4 kB / 1.196 GB, free: 9.879 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.8985, allocations: 1.875 kB / 1.196 GB, free: 9.879 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003703/0.8989, allocations: 35.28 kB / 1.196 GB, free: 9.879 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.8989, allocations: 0 / 1.196 GB, free: 9.879 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000259/0.8992, allocations: 22.66 kB / 1.197 GB, free: 9.871 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.8992, allocations: 8.312 kB / 1.197 GB, free: 9.867 MB / 1.076 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.0001309/0.8993, allocations: 145.3 kB / 1.197 GB, free: 9.734 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.067e-05/0.8994, allocations: 23.72 kB / 1.197 GB, free: 9.723 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.978e-05/0.8994, allocations: 32.77 kB / 1.197 GB, free: 9.703 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.8994, allocations: 1.375 kB / 1.197 GB, free: 9.703 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.8994, allocations: 4 kB / 1.197 GB, free: 9.699 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.8994, allocations: 2.344 kB / 1.197 GB, free: 9.699 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003323/0.8998, allocations: 209.5 kB / 1.197 GB, free: 9.535 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.8998, allocations: 0 / 1.197 GB, free: 9.535 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002899/0.9001, allocations: 35.69 kB / 1.197 GB, free: 9.535 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.9001, allocations: 1.188 kB / 1.197 GB, free: 9.535 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.9001, allocations: 6.422 kB / 1.197 GB, free: 9.531 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.9001, allocations: 5.641 kB / 1.197 GB, free: 9.527 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.9001, allocations: 0 / 1.197 GB, free: 9.527 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006259/0.9007, allocations: 342.4 kB / 1.197 GB, free: 9.328 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.9009, allocations: 40.42 kB / 1.197 GB, free: 9.309 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.42e-05/0.9009, allocations: 0 / 1.197 GB, free: 9.309 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/0.9011, allocations: 21.09 kB / 1.197 GB, free: 9.301 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.763e-05/0.9012, allocations: 13.14 kB / 1.197 GB, free: 9.297 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.9012, allocations: 5.188 kB / 1.197 GB, free: 9.297 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001551/0.9014, allocations: 187.1 kB / 1.198 GB, free: 9.188 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.9014, allocations: 0 / 1.198 GB, free: 9.188 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002959/0.9017, allocations: 38.31 kB / 1.198 GB, free: 9.184 MB / 1.076 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 9.34e-05/0.9018, allocations: 100.2 kB / 1.198 GB, free: 9.09 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005824/0.9023, allocations: 189.7 kB / 1.198 GB, free: 9.043 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.9023, allocations: 0.9688 kB / 1.198 GB, free: 9.043 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002878/0.9026, allocations: 101.7 kB / 1.198 GB, free: 9.016 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004385/0.9031, allocations: 61.67 kB / 1.198 GB, free: 8.984 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008982/0.904, allocations: 484.9 kB / 1.198 GB, free: 8.715 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001307/0.9041, allocations: 134.9 kB / 1.199 GB, free: 8.637 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002366/0.9043, allocations: 64.06 kB / 1.199 GB, free: 8.621 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.484e-05/0.9044, allocations: 25.06 kB / 1.199 GB, free: 8.609 MB / 1.076 GB Notification: Performance of SimCode: time 9.12e-07/0.9044, allocations: 0 / 1.199 GB, free: 8.609 MB / 1.076 GB Notification: Performance of Templates: time 0.007238/0.9117, allocations: 2.743 MB / 1.201 GB, free: 8.289 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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: 8.833072575973347]