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.0008537/0.0008537, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008375/0.0008375, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.9097/0.9097, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.743/1.743, allocations: 377.8 MB / 0.6228 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.9822 GB, free: 2.07 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.207e-05/2.362e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.066 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.00202/0.002044, allocations: 1.856 MB / 0.984 GB, free: 208 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.002885/0.004929, allocations: 3.452 MB / 0.9874 GB, free: 12.74 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.088e-05/0.004999, allocations: 0 / 0.9874 GB, free: 12.74 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005904/0.00559, allocations: 187.1 kB / 0.9876 GB, free: 12.55 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001306/0.00572, allocations: 87.33 kB / 0.9876 GB, free: 12.47 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 7.08e-05/0.005791, allocations: 55.92 kB / 0.9877 GB, free: 12.41 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0003312/0.006122, allocations: 282.9 kB / 0.988 GB, free: 12.14 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.911e-05/0.006202, allocations: 13.81 kB / 0.988 GB, free: 12.12 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.275e-05/0.006294, allocations: 99.77 kB / 0.9881 GB, free: 12.03 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.605e-05/0.00639, allocations: 71.8 kB / 0.9881 GB, free: 11.96 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.00641, allocations: 12 kB / 0.9882 GB, free: 11.95 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.439e-05/0.006474, allocations: 31.86 kB / 0.9882 GB, free: 11.91 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 5.569e-05/0.00653, allocations: 59.77 kB / 0.9882 GB, free: 11.86 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 4.882e-05/0.006579, allocations: 55.84 kB / 0.9883 GB, free: 11.8 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001894/0.006768, allocations: 199.2 kB / 0.9885 GB, free: 11.61 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.00677, allocations: 0 / 0.9885 GB, free: 11.61 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.72e-07/0.006771, allocations: 0 / 0.9885 GB, free: 11.61 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.006775, allocations: 0 / 0.9885 GB, free: 11.61 MB / 0.948 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.0005471/0.007322, allocations: 480.8 kB / 0.9889 GB, free: 11.11 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.007356, allocations: 12.03 kB / 0.989 GB, free: 11.09 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001969/0.007553, allocations: 60.7 kB / 0.989 GB, free: 11.04 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.007796, allocations: 201.9 kB / 0.9892 GB, free: 10.81 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.007806, allocations: 8.312 kB / 0.9892 GB, free: 10.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.007818, allocations: 4.375 kB / 0.9892 GB, free: 10.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.00803, allocations: 146.1 kB / 0.9894 GB, free: 10.65 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.008039, allocations: 4.172 kB / 0.9894 GB, free: 10.64 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.008051, allocations: 4.125 kB / 0.9894 GB, free: 10.64 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.089e-05/0.008072, allocations: 11.91 kB / 0.9894 GB, free: 10.63 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002274/0.0083, allocations: 143.9 kB / 0.9895 GB, free: 10.49 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004259/0.008726, allocations: 380.2 kB / 0.9899 GB, free: 10.09 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002244/0.00895, allocations: 162.4 kB / 0.99 GB, free: 9.918 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.009086, allocations: 108.8 kB / 0.9901 GB, free: 9.809 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.009102, allocations: 0 / 0.9901 GB, free: 9.809 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.00912, allocations: 34.56 kB / 0.9902 GB, free: 9.766 MB / 0.948 GB Notification: Performance of pre-optimization done (n=13): time 9.01e-07/0.009121, allocations: 0 / 0.9902 GB, free: 9.766 MB / 0.948 GB Notification: Performance of matching and sorting (n=13): time 0.00047/0.009591, allocations: 304 kB / 0.9905 GB, free: 9.465 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.009619, allocations: 55.39 kB / 0.9905 GB, free: 9.398 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.009768, allocations: 256.2 kB / 0.9908 GB, free: 9.141 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.009781, allocations: 25.7 kB / 0.9908 GB, free: 9.109 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.522e-05/0.009846, allocations: 140.1 kB / 0.9909 GB, free: 8.969 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.216e-05/0.009878, allocations: 47.59 kB / 0.991 GB, free: 8.922 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.076e-05/0.009919, allocations: 29.7 kB / 0.991 GB, free: 8.887 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.128e-05/0.01, allocations: 338.8 kB / 0.9913 GB, free: 8.547 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.01012, allocations: 75.94 kB / 0.9914 GB, free: 8.473 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.01023, allocations: 71.94 kB / 0.9915 GB, free: 8.402 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002326/0.01046, allocations: 166.7 kB / 0.9916 GB, free: 8.238 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01046, allocations: 4 kB / 0.9916 GB, free: 8.234 MB / 0.948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002752/0.01074, allocations: 221.4 kB / 0.9918 GB, free: 8.012 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.01075, allocations: 8 kB / 0.9918 GB, free: 8.004 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.01075, allocations: 0 / 0.9918 GB, free: 8.004 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.01076, allocations: 0 / 0.9918 GB, free: 8.004 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.01089, allocations: 39.97 kB / 0.9919 GB, free: 7.965 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.01089, allocations: 3.938 kB / 0.9919 GB, free: 7.961 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.64e-05/0.01096, allocations: 15.92 kB / 0.9919 GB, free: 7.945 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.01097, allocations: 7.984 kB / 0.9919 GB, free: 7.938 MB / 0.948 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 8.088e-05/0.01105, allocations: 141.7 kB / 0.992 GB, free: 7.789 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.01107, allocations: 31.75 kB / 0.9921 GB, free: 7.758 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.376e-05/0.01111, allocations: 33.8 kB / 0.9921 GB, free: 7.723 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.01111, allocations: 0 / 0.9921 GB, free: 7.723 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.01111, allocations: 8 kB / 0.9921 GB, free: 7.715 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.01111, allocations: 0 / 0.9921 GB, free: 7.715 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.01127, allocations: 193.2 kB / 0.9923 GB, free: 7.496 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.01127, allocations: 8 kB / 0.9923 GB, free: 7.488 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.873e-05/0.01136, allocations: 35.91 kB / 0.9923 GB, free: 7.453 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.01136, allocations: 0 / 0.9923 GB, free: 7.453 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.01137, allocations: 7.984 kB / 0.9923 GB, free: 7.445 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.01137, allocations: 0 / 0.9923 GB, free: 7.445 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01137, allocations: 0 / 0.9923 GB, free: 7.445 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000307/0.01168, allocations: 323.2 kB / 0.9926 GB, free: 7.113 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.805e-05/0.01173, allocations: 43.72 kB / 0.9927 GB, free: 7.07 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.01175, allocations: 7.984 kB / 0.9927 GB, free: 7.062 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.986e-05/0.01183, allocations: 11.98 kB / 0.9927 GB, free: 7.051 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.01187, allocations: 15.97 kB / 0.9927 GB, free: 7.035 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.01188, allocations: 7.984 kB / 0.9927 GB, free: 7.027 MB / 0.948 GB Notification: Performance of sorting global known variables: time 9.698e-05/0.01197, allocations: 191.1 kB / 0.9929 GB, free: 6.844 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01197, allocations: 0 / 0.9929 GB, free: 6.844 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00017/0.01214, allocations: 36 kB / 0.9929 GB, free: 6.809 MB / 0.948 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.0001073/0.01225, allocations: 107.1 kB / 0.993 GB, free: 6.695 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002812/0.01253, allocations: 175.1 kB / 0.9932 GB, free: 6.527 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.01253, allocations: 0 / 0.9932 GB, free: 6.527 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.01266, allocations: 91.86 kB / 0.9933 GB, free: 6.438 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.01292, allocations: 56.88 kB / 0.9934 GB, free: 6.379 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005266/0.01345, allocations: 476.7 kB / 0.9938 GB, free: 5.871 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002174/0.01366, allocations: 140.1 kB / 0.9939 GB, free: 5.719 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.428e-05/0.01372, allocations: 24.48 kB / 0.994 GB, free: 5.691 MB / 0.948 GB Notification: Performance of SimCode: time 5.21e-07/0.01372, allocations: 0 / 0.994 GB, free: 5.691 MB / 0.948 GB Notification: Performance of Templates: time 0.002937/0.01666, allocations: 2.958 MB / 0.9969 GB, free: 2.766 MB / 0.948 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 -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/jenkins/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: 6.634569293819368]