Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.001809/0.001809, 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.001993/0.001993, 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.6/1.6, allocations: 177.1 MB / 203.1 MB, free: 5.617 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.475/3.475, allocations: 429.5 MB / 0.6729 GB, free: 3.996 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.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solGai.TFlu.1.|solGai.TFlu.2.|solGai.TFlu.3.|solGai.QSol_flow.1.|solGai.QSol_flow.2.|solGai.QSol_flow.3.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solGai.TFlu.1.|solGai.TFlu.2.|solGai.TFlu.3.|solGai.QSol_flow.1.|solGai.QSol_flow.2.|solGai.QSol_flow.3.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.8774 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.742e-05/2.874e-05, allocations: 4.562 kB / 0.8775 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003862/0.00389, allocations: 2.072 MB / 0.8795 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.006748/0.01064, allocations: 4.168 MB / 0.8835 GB, free: 428 kB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.01077, allocations: 12.97 kB / 0.8836 GB, free: 416 kB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0008659/0.01164, allocations: 182.5 kB / 0.8837 GB, free: 236 kB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001541/0.01179, allocations: 76.2 kB / 0.8838 GB, free: 160 kB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008344/0.01263, allocations: 306.4 kB / 0.8841 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0009373/0.01357, allocations: 404.3 kB / 0.8845 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.01368, allocations: 32.58 kB / 0.8845 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002439/0.01392, allocations: 151.7 kB / 0.8847 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.01411, allocations: 107.7 kB / 0.8848 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.544e-05/0.01416, allocations: 16 kB / 0.8848 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006068/0.01476, allocations: 315.4 kB / 0.8851 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.0149, allocations: 107.7 kB / 0.8852 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001372/0.01504, allocations: 91.75 kB / 0.8853 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0008327/0.01587, allocations: 0.5763 MB / 0.8858 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.01588, allocations: 0 / 0.8858 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.532e-06/0.01588, allocations: 0 / 0.8858 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.114e-06/0.01588, allocations: 0 / 0.8858 GB, free: 14.08 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001434/0.01732, allocations: 0.7765 MB / 0.8866 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.01737, allocations: 15.97 kB / 0.8866 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/0.01845, allocations: 156.5 kB / 0.8868 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000663/0.01911, allocations: 290.7 kB / 0.887 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.01913, allocations: 4.375 kB / 0.887 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.21e-05/0.01916, allocations: 12.31 kB / 0.887 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004349/0.01959, allocations: 147 kB / 0.8872 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.0196, allocations: 4.125 kB / 0.8872 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.637e-05/0.01963, allocations: 8.125 kB / 0.8872 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.01964, allocations: 4 kB / 0.8872 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005145/0.02015, allocations: 139.9 kB / 0.8873 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00119/0.02134, allocations: 0.5383 MB / 0.8879 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000322/0.02167, allocations: 91.02 kB / 0.8879 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002727/0.02194, allocations: 79.64 kB / 0.888 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.946e-05/0.022, allocations: 15.98 kB / 0.888 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.02204, allocations: 45.39 kB / 0.8881 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 1.693e-06/0.02204, allocations: 0 / 0.8881 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.001032/0.02307, allocations: 289.6 kB / 0.8884 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.02312, allocations: 55.41 kB / 0.8884 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000562/0.02368, allocations: 478.7 kB / 0.8889 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/0.02372, allocations: 29.7 kB / 0.8889 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002138/0.02393, allocations: 250.7 kB / 0.8891 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.825e-05/0.02399, allocations: 43.69 kB / 0.8892 GB, free: 10.47 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.0241, allocations: 51.34 kB / 0.8892 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003241/0.02443, allocations: 0.543 MB / 0.8898 GB, free: 9.859 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003156/0.02474, allocations: 109.6 kB / 0.8899 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002986/0.02504, allocations: 105.7 kB / 0.89 GB, free: 9.637 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006075/0.02565, allocations: 211 kB / 0.8902 GB, free: 9.422 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.02565, allocations: 0 / 0.8902 GB, free: 9.422 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008186/0.02647, allocations: 333.1 kB / 0.8905 GB, free: 9.078 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.04e-05/0.02653, allocations: 45.69 kB / 0.8905 GB, free: 9.027 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.02653, allocations: 0 / 0.8905 GB, free: 9.027 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.02655, allocations: 0 / 0.8905 GB, free: 9.027 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003302/0.02688, allocations: 43.95 kB / 0.8906 GB, free: 8.984 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.02688, allocations: 0 / 0.8906 GB, free: 8.984 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002443/0.02713, allocations: 27.83 kB / 0.8906 GB, free: 8.957 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.803e-05/0.02717, allocations: 15.98 kB / 0.8906 GB, free: 8.941 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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.0001776/0.02734, allocations: 176.5 kB / 0.8908 GB, free: 8.758 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.387e-05/0.02743, allocations: 35.77 kB / 0.8908 GB, free: 8.723 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008217/0.02825, allocations: 248.9 kB / 0.891 GB, free: 8.473 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.02826, allocations: 3.984 kB / 0.8911 GB, free: 8.469 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.227e-06/0.02826, allocations: 0 / 0.8911 GB, free: 8.469 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.02826, allocations: 0 / 0.8911 GB, free: 8.469 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00068/0.02894, allocations: 300.3 kB / 0.8913 GB, free: 8.141 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.02894, allocations: 0 / 0.8913 GB, free: 8.141 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002983/0.02924, allocations: 31.97 kB / 0.8914 GB, free: 8.109 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.02925, allocations: 4 kB / 0.8914 GB, free: 8.105 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.51e-05/0.02927, allocations: 7.984 kB / 0.8914 GB, free: 8.098 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.02928, allocations: 4 kB / 0.8914 GB, free: 8.094 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.02928, allocations: 3.938 kB / 0.8914 GB, free: 8.09 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000811/0.03009, allocations: 371.5 kB / 0.8917 GB, free: 7.707 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/0.03024, allocations: 47.73 kB / 0.8918 GB, free: 7.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.976e-05/0.03029, allocations: 0 / 0.8918 GB, free: 7.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002577/0.03055, allocations: 23.98 kB / 0.8918 GB, free: 7.637 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.659e-05/0.03064, allocations: 19.91 kB / 0.8918 GB, free: 7.617 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.229e-05/0.03066, allocations: 7.984 kB / 0.8918 GB, free: 7.609 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000351/0.03101, allocations: 307.1 kB / 0.8921 GB, free: 7.309 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.03101, allocations: 0 / 0.8921 GB, free: 7.309 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004958/0.0315, allocations: 115.8 kB / 0.8922 GB, free: 7.195 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 (11): * Single equations (assignments): 11 * 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.0003875/0.03189, allocations: 179 kB / 0.8924 GB, free: 7.012 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000839/0.03273, allocations: 309.8 kB / 0.8927 GB, free: 6.688 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.03273, allocations: 0 / 0.8927 GB, free: 6.688 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003342/0.03307, allocations: 95.56 kB / 0.8928 GB, free: 6.59 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005222/0.03359, allocations: 78.05 kB / 0.8929 GB, free: 6.52 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.03478, allocations: 0.5629 MB / 0.8934 GB, free: 5.926 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.035, allocations: 179.2 kB / 0.8936 GB, free: 5.727 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002334/0.03523, allocations: 49.91 kB / 0.8936 GB, free: 5.68 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.03535, allocations: 36.48 kB / 0.8937 GB, free: 5.645 MB / 0.8542 GB Notification: Performance of SimCode: time 7.52e-07/0.03535, allocations: 0 / 0.8937 GB, free: 5.645 MB / 0.8542 GB Notification: Performance of Templates: time 0.01153/0.04688, allocations: 5.238 MB / 0.8988 GB, free: 0.5 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.705673682037741]