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.001352/0.001352, allocations: 93.06 kB / 19.65 MB, free: 280 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.001337/0.001337, allocations: 169 kB / 23.02 MB, free: 1.551 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.8995/0.8995, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.246/2.246, allocations: 429.5 MB / 0.6733 GB, free: 4.055 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 2.474e-06/2.474e-06, allocations: 0.6562 kB / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.651e-05/2.898e-05, allocations: 6.203 kB / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003946/0.003975, allocations: 2.107 MB / 0.8802 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.006261/0.01024, allocations: 4.194 MB / 0.8843 GB, free: 16 kB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.01036, allocations: 7.938 kB / 0.8843 GB, free: 8 kB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0008715/0.01123, allocations: 186.9 kB / 0.8845 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.01134, allocations: 70.09 kB / 0.8846 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005797/0.01192, allocations: 309.6 kB / 0.8849 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0005529/0.01247, allocations: 406.6 kB / 0.8853 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.01259, allocations: 36.56 kB / 0.8853 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.01275, allocations: 151.6 kB / 0.8854 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.01288, allocations: 103.7 kB / 0.8855 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.91e-05/0.01291, allocations: 12 kB / 0.8856 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004113/0.01332, allocations: 315.5 kB / 0.8859 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.01343, allocations: 111.7 kB / 0.886 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 8.746e-05/0.01352, allocations: 87.72 kB / 0.886 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0005142/0.01403, allocations: 0.5022 MB / 0.8865 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.01403, allocations: 0 / 0.8865 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.61e-07/0.01403, allocations: 0 / 0.8865 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.01404, allocations: 0 / 0.8865 GB, free: 13.75 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.0009516/0.01499, allocations: 0.7725 MB / 0.8873 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.01504, allocations: 8.031 kB / 0.8873 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005567/0.0156, allocations: 136.6 kB / 0.8874 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003526/0.01595, allocations: 262.8 kB / 0.8877 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.01597, allocations: 4.375 kB / 0.8877 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.01599, allocations: 8.375 kB / 0.8877 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002872/0.01628, allocations: 139.3 kB / 0.8878 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.01629, allocations: 4.172 kB / 0.8878 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.01631, allocations: 8.125 kB / 0.8878 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.01632, allocations: 4 kB / 0.8878 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.01644, allocations: 41.86 kB / 0.8879 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007087/0.01715, allocations: 0.5109 MB / 0.8884 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.01727, allocations: 51.05 kB / 0.8884 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.199e-05/0.01734, allocations: 35.67 kB / 0.8885 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.586e-05/0.01739, allocations: 19.98 kB / 0.8885 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.01742, allocations: 37.39 kB / 0.8885 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 1.793e-06/0.01742, allocations: 3.938 kB / 0.8885 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.0003683/0.01779, allocations: 161.7 kB / 0.8887 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.01782, allocations: 51.41 kB / 0.8887 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003094/0.01813, allocations: 434.7 kB / 0.8891 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.01816, allocations: 29.7 kB / 0.8892 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.01828, allocations: 242.7 kB / 0.8894 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.01831, allocations: 31.7 kB / 0.8894 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-05/0.01838, allocations: 51.34 kB / 0.8895 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.01854, allocations: 0.5274 MB / 0.89 GB, free: 10.01 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.67e-05/0.01864, allocations: 73.67 kB / 0.8901 GB, free: 9.934 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.12e-05/0.01872, allocations: 69.69 kB / 0.8901 GB, free: 9.859 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.01889, allocations: 122.8 kB / 0.8902 GB, free: 9.73 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.0189, allocations: 0 / 0.8902 GB, free: 9.73 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000296/0.01919, allocations: 244.8 kB / 0.8905 GB, free: 9.473 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.157e-05/0.01924, allocations: 41.69 kB / 0.8905 GB, free: 9.426 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.01924, allocations: 0 / 0.8905 GB, free: 9.426 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.01926, allocations: 0 / 0.8905 GB, free: 9.426 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/0.01943, allocations: 35.95 kB / 0.8906 GB, free: 9.391 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.01944, allocations: 4 kB / 0.8906 GB, free: 9.387 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.01955, allocations: 39.77 kB / 0.8906 GB, free: 9.348 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.01957, allocations: 11.98 kB / 0.8906 GB, free: 9.336 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.0001115/0.01968, allocations: 164.5 kB / 0.8908 GB, free: 9.164 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.418e-05/0.01972, allocations: 39.77 kB / 0.8908 GB, free: 9.125 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002915/0.02001, allocations: 161.6 kB / 0.891 GB, free: 8.961 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.02001, allocations: 0 / 0.891 GB, free: 8.961 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.02002, allocations: 4 kB / 0.891 GB, free: 8.957 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.02003, allocations: 4 kB / 0.891 GB, free: 8.953 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/0.02027, allocations: 272.2 kB / 0.8912 GB, free: 8.652 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.02027, allocations: 0 / 0.8912 GB, free: 8.652 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.02039, allocations: 35.91 kB / 0.8913 GB, free: 8.617 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.02039, allocations: 0 / 0.8913 GB, free: 8.617 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.02041, allocations: 7.984 kB / 0.8913 GB, free: 8.609 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.02041, allocations: 0 / 0.8913 GB, free: 8.609 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.02041, allocations: 0 / 0.8913 GB, free: 8.609 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.02068, allocations: 295.6 kB / 0.8915 GB, free: 8.301 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.059e-05/0.02075, allocations: 55.73 kB / 0.8916 GB, free: 8.246 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.896e-05/0.02078, allocations: 4 kB / 0.8916 GB, free: 8.242 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.02088, allocations: 11.98 kB / 0.8916 GB, free: 8.23 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.539e-05/0.02094, allocations: 15.97 kB / 0.8916 GB, free: 8.215 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.02095, allocations: 11.94 kB / 0.8916 GB, free: 8.203 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001738/0.02113, allocations: 287 kB / 0.8919 GB, free: 7.922 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.1e-08/0.02113, allocations: 0 / 0.8919 GB, free: 7.922 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002902/0.02142, allocations: 111.8 kB / 0.892 GB, free: 7.812 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.0002549/0.02167, allocations: 187 kB / 0.8922 GB, free: 7.621 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003075/0.02198, allocations: 209.8 kB / 0.8924 GB, free: 7.395 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.02198, allocations: 3.938 kB / 0.8924 GB, free: 7.391 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.239e-05/0.02206, allocations: 47.66 kB / 0.8925 GB, free: 7.34 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.02238, allocations: 81.47 kB / 0.8925 GB, free: 7.262 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009562/0.02334, allocations: 0.5511 MB / 0.8931 GB, free: 6.68 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.207e-05/0.02341, allocations: 103.9 kB / 0.8932 GB, free: 6.559 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001406/0.02355, allocations: 49.92 kB / 0.8932 GB, free: 6.508 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.5e-05/0.02364, allocations: 32.48 kB / 0.8932 GB, free: 6.477 MB / 0.8542 GB Notification: Performance of SimCode: time 5.71e-07/0.02364, allocations: 0 / 0.8932 GB, free: 6.477 MB / 0.8542 GB Notification: Performance of Templates: time 0.007903/0.03154, allocations: 5.693 MB / 0.8988 GB, free: 0.875 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.72292616777122]