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.001824/0.001824, allocations: 85.48 kB / 19.44 MB, free: 340 kB / 13.93 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.002104/0.002104, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.618/1.618, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 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 3.441/3.441, allocations: 429.5 MB / 0.6729 GB, free: 3.973 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.8774 GB, free: 6.477 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.482e-05/2.649e-05, allocations: 3.078 kB / 0.8775 GB, free: 6.473 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.00357/0.003597, allocations: 1.92 MB / 0.8793 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.005403/0.009, allocations: 3.718 MB / 0.883 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.009106, allocations: 0 / 0.883 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0008911/0.009997, allocations: 187.1 kB / 0.8831 GB, free: 0.6602 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002365/0.01023, allocations: 83.41 kB / 0.8832 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001464/0.01038, allocations: 55.91 kB / 0.8833 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000568/0.01095, allocations: 283 kB / 0.8835 GB, free: 252 kB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.01106, allocations: 25.67 kB / 0.8836 GB, free: 220 kB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001763/0.01123, allocations: 103.8 kB / 0.8837 GB, free: 116 kB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001573/0.01139, allocations: 67.8 kB / 0.8837 GB, free: 48 kB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.175e-05/0.01142, allocations: 8 kB / 0.8837 GB, free: 40 kB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.01154, allocations: 31.91 kB / 0.8838 GB, free: 8 kB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.01165, allocations: 59.86 kB / 0.8838 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 8.655e-05/0.01174, allocations: 51.86 kB / 0.8839 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003306/0.01207, allocations: 199.2 kB / 0.8841 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.01207, allocations: 0 / 0.8841 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.142e-06/0.01208, allocations: 0 / 0.8841 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.01208, allocations: 4 kB / 0.8841 GB, free: 15.7 MB / 0.8542 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.001033/0.01311, allocations: 0.569 MB / 0.8846 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.01316, allocations: 12.03 kB / 0.8846 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009052/0.01406, allocations: 108.7 kB / 0.8847 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000485/0.01455, allocations: 208.7 kB / 0.8849 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.01456, allocations: 8.359 kB / 0.8849 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.01459, allocations: 8.375 kB / 0.885 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003121/0.0149, allocations: 110.1 kB / 0.8851 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.01491, allocations: 192 / 0.8851 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.01493, allocations: 8.125 kB / 0.8851 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.734e-05/0.01496, allocations: 8 kB / 0.8851 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003398/0.0153, allocations: 95.88 kB / 0.8852 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008234/0.01612, allocations: 423.5 kB / 0.8856 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003713/0.01649, allocations: 123 kB / 0.8857 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000212/0.0167, allocations: 75.58 kB / 0.8858 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.821e-05/0.01673, allocations: 8 kB / 0.8858 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.01677, allocations: 33.39 kB / 0.8858 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.183e-06/0.01677, allocations: 4 kB / 0.8858 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0007367/0.01751, allocations: 212.5 kB / 0.886 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.01756, allocations: 55.41 kB / 0.8861 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000356/0.01791, allocations: 334.3 kB / 0.8864 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/0.01794, allocations: 25.7 kB / 0.8864 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.0181, allocations: 194.8 kB / 0.8866 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.109e-05/0.01816, allocations: 43.59 kB / 0.8866 GB, free: 12.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.913e-05/0.01825, allocations: 47.34 kB / 0.8867 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002922/0.01854, allocations: 0.5118 MB / 0.8872 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001783/0.01872, allocations: 47.91 kB / 0.8872 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/0.01888, allocations: 43.97 kB / 0.8873 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003483/0.01923, allocations: 103.6 kB / 0.8874 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.01923, allocations: 0 / 0.8874 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004776/0.01971, allocations: 181.4 kB / 0.8875 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.01972, allocations: 4 kB / 0.8875 GB, free: 11.94 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.01973, allocations: 4 kB / 0.8875 GB, free: 11.94 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.01974, allocations: 0 / 0.8875 GB, free: 11.94 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002789/0.02002, allocations: 35.84 kB / 0.8876 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.02003, allocations: 0 / 0.8876 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.0202, allocations: 8 kB / 0.8876 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.02022, allocations: 11.98 kB / 0.8876 GB, free: 11.88 MB / 0.8542 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.0001564/0.02038, allocations: 164.6 kB / 0.8877 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.881e-05/0.02044, allocations: 31.8 kB / 0.8878 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.695e-05/0.02052, allocations: 29.8 kB / 0.8878 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.02052, allocations: 0 / 0.8878 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.719e-06/0.02053, allocations: 8 kB / 0.8878 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.02054, allocations: 0 / 0.8878 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003199/0.02086, allocations: 224.4 kB / 0.888 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.02086, allocations: 0 / 0.888 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002559/0.02111, allocations: 35.86 kB / 0.8881 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.02111, allocations: 0 / 0.8881 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.229e-05/0.02114, allocations: 7.984 kB / 0.8881 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.02114, allocations: 0 / 0.8881 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.02114, allocations: 0 / 0.8881 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005839/0.02172, allocations: 323.4 kB / 0.8884 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.02184, allocations: 43.72 kB / 0.8884 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.166e-05/0.02188, allocations: 7.984 kB / 0.8884 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002082/0.02209, allocations: 12 kB / 0.8884 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.571e-05/0.02215, allocations: 15.97 kB / 0.8885 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.338e-05/0.02218, allocations: 0 / 0.8885 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002149/0.02239, allocations: 230.9 kB / 0.8887 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.02239, allocations: 4 kB / 0.8887 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002769/0.02267, allocations: 36 kB / 0.8887 GB, free: 10.67 MB / 0.8542 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.0001375/0.02281, allocations: 95.25 kB / 0.8888 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004686/0.02328, allocations: 131.5 kB / 0.8889 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.02328, allocations: 0 / 0.8889 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002088/0.02349, allocations: 63.66 kB / 0.889 GB, free: 10.37 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004573/0.02394, allocations: 65.41 kB / 0.8891 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008668/0.02481, allocations: 423.4 kB / 0.8895 GB, free: 9.863 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001582/0.02497, allocations: 140 kB / 0.8896 GB, free: 9.707 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002287/0.0252, allocations: 53.44 kB / 0.8896 GB, free: 9.656 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.763e-05/0.02529, allocations: 20.48 kB / 0.8897 GB, free: 9.637 MB / 0.8542 GB Notification: Performance of SimCode: time 5.51e-07/0.02529, allocations: 0 / 0.8897 GB, free: 9.637 MB / 0.8542 GB Notification: Performance of Templates: time 0.00707/0.03236, allocations: 2.754 MB / 0.8923 GB, free: 6.969 MB / 0.8542 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 240] 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/jenkins/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.644418364972807]