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.0009662/0.0009662, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001062/0.001062, allocations: 177.3 kB / 23.5 MB, free: 1.055 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.9665/0.9665, allocations: 177.1 MB / 203.8 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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 2.091/2.091, allocations: 429.5 MB / 0.6736 GB, free: 4.02 MB / 0.6355 GB " [Timeout remaining time 177] 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.[0-9,]+.|solGai.QSol_flow.[0-9,]+.",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.[0-9,]+.|solGai.QSol_flow.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.8782 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.085e-05/2.253e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002553/0.002576, allocations: 2.112 MB / 0.8802 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003695/0.006271, allocations: 4.179 MB / 0.8843 GB, free: 364 kB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.006378, allocations: 9.469 kB / 0.8843 GB, free: 356 kB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0007307/0.007108, allocations: 194.9 kB / 0.8845 GB, free: 160 kB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.927e-05/0.007198, allocations: 67.38 kB / 0.8846 GB, free: 92 kB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005131/0.007711, allocations: 307.1 kB / 0.8849 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004649/0.008176, allocations: 414.5 kB / 0.8853 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.008285, allocations: 28.58 kB / 0.8853 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.008442, allocations: 147.7 kB / 0.8854 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.008558, allocations: 107.7 kB / 0.8855 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.008581, allocations: 16 kB / 0.8856 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004844/0.009066, allocations: 319.4 kB / 0.8859 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.296e-05/0.009159, allocations: 103.7 kB / 0.886 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 8.206e-05/0.009241, allocations: 91.75 kB / 0.8861 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004703/0.009711, allocations: 0.5023 MB / 0.8865 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.009714, allocations: 4 kB / 0.8865 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.62e-07/0.009715, allocations: 0 / 0.8865 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.00972, allocations: 0 / 0.8865 GB, free: 14.07 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.0008071/0.01053, allocations: 0.7686 MB / 0.8873 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.01056, allocations: 8.031 kB / 0.8873 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005518/0.01111, allocations: 156.6 kB / 0.8875 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003758/0.01149, allocations: 286.8 kB / 0.8877 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.0115, allocations: 4.375 kB / 0.8877 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.01152, allocations: 8.375 kB / 0.8877 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/0.01177, allocations: 143.3 kB / 0.8879 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.01178, allocations: 192 / 0.8879 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/0.0118, allocations: 8.125 kB / 0.8879 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.01181, allocations: 0 / 0.8879 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.01194, allocations: 57.91 kB / 0.8879 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006392/0.01258, allocations: 0.4994 MB / 0.8884 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.01268, allocations: 50.98 kB / 0.8885 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.225e-05/0.01275, allocations: 43.66 kB / 0.8885 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.46e-05/0.0128, allocations: 12 kB / 0.8885 GB, free: 11.92 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.01282, allocations: 41.38 kB / 0.8886 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.01282, allocations: 0 / 0.8886 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.0003626/0.01318, allocations: 165.7 kB / 0.8887 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.01322, allocations: 51.41 kB / 0.8888 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002896/0.01351, allocations: 442.7 kB / 0.8892 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.01353, allocations: 25.7 kB / 0.8892 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.01364, allocations: 234.7 kB / 0.8894 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.272e-05/0.01367, allocations: 39.67 kB / 0.8895 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.408e-05/0.01374, allocations: 51.34 kB / 0.8895 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.01388, allocations: 0.5313 MB / 0.8901 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.483e-05/0.01397, allocations: 61.69 kB / 0.8901 GB, free: 10.22 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.233e-05/0.01405, allocations: 73.67 kB / 0.8902 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.01422, allocations: 123.6 kB / 0.8903 GB, free: 10.01 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.01423, allocations: 0 / 0.8903 GB, free: 10.01 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002806/0.01451, allocations: 260.6 kB / 0.8905 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.338e-05/0.01454, allocations: 41.69 kB / 0.8906 GB, free: 9.691 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.01454, allocations: 0 / 0.8906 GB, free: 9.691 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.01456, allocations: 4 kB / 0.8906 GB, free: 9.688 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.01472, allocations: 35.95 kB / 0.8906 GB, free: 9.652 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.01472, allocations: 0 / 0.8906 GB, free: 9.652 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.01483, allocations: 27.88 kB / 0.8907 GB, free: 9.625 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.01484, allocations: 4 kB / 0.8907 GB, free: 9.621 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 9.657e-05/0.01494, allocations: 168.5 kB / 0.8908 GB, free: 9.445 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.75e-05/0.01499, allocations: 39.77 kB / 0.8909 GB, free: 9.406 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002863/0.01527, allocations: 160.9 kB / 0.891 GB, free: 9.242 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.01528, allocations: 0 / 0.891 GB, free: 9.242 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.01528, allocations: 7.984 kB / 0.891 GB, free: 9.234 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.01528, allocations: 0 / 0.891 GB, free: 9.234 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002227/0.01551, allocations: 264.2 kB / 0.8913 GB, free: 8.941 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.01551, allocations: 4 kB / 0.8913 GB, free: 8.938 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.01563, allocations: 35.95 kB / 0.8913 GB, free: 8.902 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.01563, allocations: 0 / 0.8913 GB, free: 8.902 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.01565, allocations: 7.984 kB / 0.8913 GB, free: 8.895 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.01565, allocations: 0 / 0.8913 GB, free: 8.895 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01565, allocations: 4 kB / 0.8913 GB, free: 8.891 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.01589, allocations: 287.5 kB / 0.8916 GB, free: 8.59 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.897e-05/0.01596, allocations: 51.73 kB / 0.8916 GB, free: 8.539 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.208e-05/0.01599, allocations: 11.97 kB / 0.8917 GB, free: 8.527 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.0161, allocations: 11.98 kB / 0.8917 GB, free: 8.516 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.67e-05/0.01616, allocations: 15.98 kB / 0.8917 GB, free: 8.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.01617, allocations: 11.92 kB / 0.8917 GB, free: 8.488 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001651/0.01634, allocations: 279.1 kB / 0.892 GB, free: 8.215 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01634, allocations: 0 / 0.892 GB, free: 8.215 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003022/0.01664, allocations: 123.8 kB / 0.8921 GB, free: 8.094 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.0002545/0.0169, allocations: 183.1 kB / 0.8922 GB, free: 7.906 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002891/0.01718, allocations: 218.9 kB / 0.8925 GB, free: 7.672 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01719, allocations: 0 / 0.8925 GB, free: 7.672 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.251e-05/0.01727, allocations: 52.69 kB / 0.8925 GB, free: 7.617 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004531/0.01772, allocations: 76.11 kB / 0.8926 GB, free: 7.547 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009427/0.01866, allocations: 0.5589 MB / 0.8931 GB, free: 6.957 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.791e-05/0.01872, allocations: 99.94 kB / 0.8932 GB, free: 6.84 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000145/0.01887, allocations: 57.91 kB / 0.8933 GB, free: 6.781 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.104e-05/0.01894, allocations: 24.48 kB / 0.8933 GB, free: 6.758 MB / 0.8542 GB Notification: Performance of SimCode: time 9.41e-07/0.01894, allocations: 0 / 0.8933 GB, free: 6.758 MB / 0.8542 GB Notification: Performance of Templates: time 0.006703/0.02564, allocations: 5.26 MB / 0.8984 GB, free: 1.59 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.329645149875432]