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.001536/0.001536, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.00158/0.00158, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 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.494/1.494, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.807/2.807, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.112e-05/3.32e-05, allocations: 2.906 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003968/0.004001, allocations: 1.889 MB / 0.7882 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.005112/0.009113, allocations: 3.31 MB / 0.7915 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.009234, allocations: 0 / 0.7915 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003031/0.009537, allocations: 55.56 kB / 0.7915 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0005598/0.0101, allocations: 132.3 kB / 0.7916 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001745/0.01027, allocations: 60.38 kB / 0.7917 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003376/0.01061, allocations: 199.8 kB / 0.7919 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.01072, allocations: 13.81 kB / 0.7919 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000275/0.01099, allocations: 120.1 kB / 0.792 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001806/0.01117, allocations: 77.38 kB / 0.7921 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.435e-05/0.01121, allocations: 8 kB / 0.7921 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.01131, allocations: 27.97 kB / 0.7921 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.268e-05/0.01139, allocations: 40.41 kB / 0.7922 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.403e-05/0.01148, allocations: 47.86 kB / 0.7922 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003236/0.0118, allocations: 180.2 kB / 0.7924 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.0118, allocations: 0.5312 kB / 0.7924 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.452e-06/0.01181, allocations: 0 / 0.7924 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.01181, allocations: 0.625 kB / 0.7924 GB, free: 6.652 MB / 0.7448 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.001015/0.01283, allocations: 459 kB / 0.7928 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.01287, allocations: 12.03 kB / 0.7928 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004087/0.01328, allocations: 58.41 kB / 0.7929 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005108/0.01379, allocations: 210.8 kB / 0.7931 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.0138, allocations: 384 / 0.7931 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/0.01382, allocations: 12.31 kB / 0.7931 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003954/0.01422, allocations: 140.5 kB / 0.7932 GB, free: 5.727 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.01423, allocations: 6.641 kB / 0.7932 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.01425, allocations: 4.125 kB / 0.7932 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.107e-05/0.01428, allocations: 8 kB / 0.7932 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004936/0.01477, allocations: 145.6 kB / 0.7934 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007757/0.01555, allocations: 376.3 kB / 0.7937 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004733/0.01602, allocations: 161.2 kB / 0.7939 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002895/0.01631, allocations: 103 kB / 0.794 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.01633, allocations: 4 kB / 0.794 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.819e-05/0.01638, allocations: 30.56 kB / 0.794 GB, free: 4.863 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.01638, allocations: 0 / 0.794 GB, free: 4.863 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13): time 0.0009721/0.01735, allocations: 300 kB / 0.7943 GB, free: 4.566 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.01741, allocations: 56.25 kB / 0.7944 GB, free: 4.5 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005294/0.01794, allocations: 225.9 kB / 0.7946 GB, free: 4.273 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.01797, allocations: 26.55 kB / 0.7946 GB, free: 4.242 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.01809, allocations: 128.1 kB / 0.7947 GB, free: 4.113 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.586e-05/0.01815, allocations: 43.59 kB / 0.7948 GB, free: 4.07 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.746e-05/0.01821, allocations: 33.42 kB / 0.7948 GB, free: 4.035 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002165/0.01843, allocations: 338.8 kB / 0.7951 GB, free: 3.695 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002565/0.01869, allocations: 71.94 kB / 0.7952 GB, free: 3.625 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/0.01893, allocations: 77.3 kB / 0.7953 GB, free: 3.551 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005239/0.01946, allocations: 163 kB / 0.7954 GB, free: 3.391 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.01946, allocations: 0 / 0.7954 GB, free: 3.391 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006282/0.02009, allocations: 232.6 kB / 0.7956 GB, free: 3.16 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.0201, allocations: 4 kB / 0.7957 GB, free: 3.156 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.02011, allocations: 1.219 kB / 0.7957 GB, free: 3.156 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.02013, allocations: 4 kB / 0.7957 GB, free: 3.152 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002813/0.02041, allocations: 37.7 kB / 0.7957 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.02042, allocations: 0 / 0.7957 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.02059, allocations: 15.98 kB / 0.7957 GB, free: 3.102 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.02061, allocations: 8.656 kB / 0.7957 GB, free: 3.094 MB / 0.7448 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.0001482/0.02076, allocations: 130.5 kB / 0.7958 GB, free: 2.957 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.652e-05/0.02082, allocations: 27.8 kB / 0.7959 GB, free: 2.93 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.396e-05/0.02089, allocations: 30.86 kB / 0.7959 GB, free: 2.906 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.02089, allocations: 4 kB / 0.7959 GB, free: 2.902 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.0209, allocations: 0 / 0.7959 GB, free: 2.902 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.0209, allocations: 0.6562 kB / 0.7959 GB, free: 2.902 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000295/0.0212, allocations: 193.1 kB / 0.7961 GB, free: 2.684 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/0.02121, allocations: 4 kB / 0.7961 GB, free: 2.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000236/0.02144, allocations: 35.91 kB / 0.7961 GB, free: 2.645 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.02145, allocations: 7.984 kB / 0.7961 GB, free: 2.637 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.02146, allocations: 0 / 0.7961 GB, free: 2.637 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.02146, allocations: 0 / 0.7961 GB, free: 2.637 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.02147, allocations: 0 / 0.7961 GB, free: 2.637 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006819/0.02215, allocations: 330.5 kB / 0.7964 GB, free: 2.301 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.738e-05/0.02224, allocations: 35.81 kB / 0.7965 GB, free: 2.266 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.253e-05/0.02228, allocations: 4 kB / 0.7965 GB, free: 2.262 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001984/0.02248, allocations: 11.98 kB / 0.7965 GB, free: 2.25 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.317e-05/0.02255, allocations: 15.97 kB / 0.7965 GB, free: 2.234 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.02256, allocations: 4 kB / 0.7965 GB, free: 2.23 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001809/0.02274, allocations: 165.2 kB / 0.7967 GB, free: 2.07 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.02274, allocations: 0 / 0.7967 GB, free: 2.07 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002907/0.02303, allocations: 47.89 kB / 0.7967 GB, free: 2.023 MB / 0.7448 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.0002216/0.02326, allocations: 103.2 kB / 0.7968 GB, free: 1.91 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005793/0.02384, allocations: 171.8 kB / 0.797 GB, free: 1.742 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.02384, allocations: 0 / 0.797 GB, free: 1.742 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002811/0.02412, allocations: 91.86 kB / 0.7971 GB, free: 1.652 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003923/0.02451, allocations: 38 kB / 0.7971 GB, free: 1.613 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000923/0.02543, allocations: 413 kB / 0.7975 GB, free: 1.184 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000145/0.02558, allocations: 128 kB / 0.7976 GB, free: 1.043 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001681/0.02575, allocations: 49.09 kB / 0.7977 GB, free: 0.9922 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.625e-05/0.02582, allocations: 24.48 kB / 0.7977 GB, free: 0.9688 MB / 0.7448 GB Notification: Performance of SimCode: time 3.3e-07/0.02582, allocations: 0 / 0.7977 GB, free: 0.9688 MB / 0.7448 GB Notification: Performance of Templates: time 0.005722/0.03155, allocations: 1.898 MB / 0.7995 GB, free: 15.12 MB / 0.7605 GB " [Timeout remaining time 300] 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/jenkins/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: 7.9546267909463495]