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.001434/0.001434, allocations: 88.72 kB / 19.44 MB, free: 356 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.001656/0.001656, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.519/1.519, allocations: 177.1 MB / 203.1 MB, free: 5.602 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.343/3.343, allocations: 429.6 MB / 0.673 GB, free: 3.887 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.623e-06/1.623e-06, allocations: 0 / 0.8776 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.727e-05/2.889e-05, allocations: 3.906 kB / 0.8776 GB, free: 6.492 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.005089/0.005118, allocations: 2.014 MB / 0.8796 GB, free: 4.492 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.008344/0.01346, allocations: 3.889 MB / 0.8834 GB, free: 0.5938 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001977/0.01366, allocations: 7.938 kB / 0.8834 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001266/0.01493, allocations: 199 kB / 0.8836 GB, free: 400 kB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003943/0.01532, allocations: 67.36 kB / 0.8836 GB, free: 332 kB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.01659, allocations: 307.1 kB / 0.8839 GB, free: 24 kB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.001021/0.01761, allocations: 402.6 kB / 0.8843 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001789/0.01779, allocations: 36.5 kB / 0.8843 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004173/0.01821, allocations: 155.7 kB / 0.8845 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002965/0.01851, allocations: 107.7 kB / 0.8846 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.559e-05/0.01857, allocations: 16 kB / 0.8846 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008672/0.01944, allocations: 315.4 kB / 0.8849 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001901/0.01963, allocations: 107.7 kB / 0.885 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002095/0.01984, allocations: 83.78 kB / 0.8851 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.0211, allocations: 0.5764 MB / 0.8857 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.0211, allocations: 0 / 0.8857 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.262e-06/0.0211, allocations: 0 / 0.8857 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.489e-05/0.02112, allocations: 4 kB / 0.8857 GB, free: 14.24 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.002114/0.02323, allocations: 0.6885 MB / 0.8863 GB, free: 13.51 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.02328, allocations: 16.02 kB / 0.8863 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001684/0.02497, allocations: 168.5 kB / 0.8865 GB, free: 13.33 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009322/0.0259, allocations: 307.8 kB / 0.8868 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.02592, allocations: 4.375 kB / 0.8868 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.544e-05/0.02595, allocations: 12.38 kB / 0.8868 GB, free: 13 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000609/0.02656, allocations: 202.7 kB / 0.887 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.02657, allocations: 4.188 kB / 0.887 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.76e-05/0.0266, allocations: 8.125 kB / 0.887 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.02661, allocations: 4 kB / 0.887 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008285/0.02743, allocations: 265.3 kB / 0.8873 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.02872, allocations: 0.5117 MB / 0.8878 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005095/0.02923, allocations: 186.3 kB / 0.888 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004314/0.02966, allocations: 132.8 kB / 0.8881 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.395e-05/0.02973, allocations: 19.98 kB / 0.8881 GB, free: 11.63 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.02976, allocations: 34.56 kB / 0.8881 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 1.263e-06/0.02976, allocations: 0 / 0.8881 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.001496/0.03126, allocations: 481.4 kB / 0.8886 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.03131, allocations: 51.41 kB / 0.8886 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000542/0.03185, allocations: 417.9 kB / 0.889 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.372e-05/0.03188, allocations: 25.7 kB / 0.8891 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/0.03206, allocations: 183.9 kB / 0.8892 GB, free: 10.42 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.648e-05/0.03211, allocations: 35.69 kB / 0.8893 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.03222, allocations: 45.69 kB / 0.8893 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002124/0.03243, allocations: 354.7 kB / 0.8897 GB, free: 9.98 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005112/0.03294, allocations: 221.6 kB / 0.8899 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005009/0.03344, allocations: 213.6 kB / 0.8901 GB, free: 9.543 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009572/0.0344, allocations: 376.4 kB / 0.8904 GB, free: 9.168 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.0344, allocations: 0 / 0.8904 GB, free: 9.168 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001203/0.03561, allocations: 0.5356 MB / 0.891 GB, free: 8.613 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.857e-05/0.03567, allocations: 37.69 kB / 0.891 GB, free: 8.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.03567, allocations: 7.984 kB / 0.891 GB, free: 8.562 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.0357, allocations: 0 / 0.891 GB, free: 8.562 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003729/0.03607, allocations: 43.95 kB / 0.891 GB, free: 8.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.03608, allocations: 3.984 kB / 0.891 GB, free: 8.516 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003113/0.03639, allocations: 43.81 kB / 0.8911 GB, free: 8.473 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.687e-05/0.03642, allocations: 4 kB / 0.8911 GB, free: 8.469 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.0001988/0.03662, allocations: 161.7 kB / 0.8912 GB, free: 8.301 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.077e-05/0.03671, allocations: 39.77 kB / 0.8913 GB, free: 8.262 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001118/0.03783, allocations: 368.7 kB / 0.8916 GB, free: 7.891 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.03783, allocations: 4 kB / 0.8916 GB, free: 7.887 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.03784, allocations: 3.938 kB / 0.8916 GB, free: 7.883 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.03784, allocations: 3.984 kB / 0.8916 GB, free: 7.879 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004273/0.03827, allocations: 273.1 kB / 0.8919 GB, free: 7.582 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.03827, allocations: 0 / 0.8919 GB, free: 7.582 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003631/0.03864, allocations: 43.94 kB / 0.8919 GB, free: 7.539 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.03864, allocations: 0 / 0.8919 GB, free: 7.539 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.571e-05/0.03866, allocations: 7.984 kB / 0.892 GB, free: 7.531 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.03867, allocations: 0 / 0.892 GB, free: 7.531 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.03867, allocations: 0 / 0.892 GB, free: 7.531 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.03971, allocations: 443 kB / 0.8924 GB, free: 7.082 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.03985, allocations: 59.66 kB / 0.8924 GB, free: 7.023 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.087e-05/0.0399, allocations: 3.938 kB / 0.8924 GB, free: 7.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003158/0.04022, allocations: 31.97 kB / 0.8925 GB, free: 6.988 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.04032, allocations: 19.95 kB / 0.8925 GB, free: 6.969 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.098e-05/0.04034, allocations: 4 kB / 0.8925 GB, free: 6.965 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004025/0.04075, allocations: 299.1 kB / 0.8928 GB, free: 6.672 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.04075, allocations: 0 / 0.8928 GB, free: 6.672 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005628/0.04131, allocations: 111.9 kB / 0.8929 GB, free: 6.562 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.0005269/0.04184, allocations: 182.4 kB / 0.8931 GB, free: 6.375 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00118/0.04302, allocations: 476.8 kB / 0.8935 GB, free: 5.891 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.04302, allocations: 0 / 0.8935 GB, free: 5.891 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004594/0.04348, allocations: 152.9 kB / 0.8937 GB, free: 5.742 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005531/0.04403, allocations: 81.03 kB / 0.8937 GB, free: 5.668 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.04538, allocations: 0.6355 MB / 0.8944 GB, free: 5.004 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002106/0.04559, allocations: 179.2 kB / 0.8945 GB, free: 4.809 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002706/0.04587, allocations: 53.92 kB / 0.8946 GB, free: 4.758 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.04598, allocations: 32.48 kB / 0.8946 GB, free: 4.727 MB / 0.8542 GB Notification: Performance of SimCode: time 5.71e-07/0.04598, allocations: 0 / 0.8946 GB, free: 4.727 MB / 0.8542 GB Notification: Performance of Templates: time 0.01251/0.0585, allocations: 5.231 MB / 0.8997 GB, free: 15.59 MB / 0.8698 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 800] 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.475901687052101]