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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHeaGai.TFlu.1.|solHeaGai.TFlu.2.|solHeaGai.TFlu.3.|solHeaGai.QSol_flow.1.|solHeaGai.QSol_flow.2.|solHeaGai.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=5000,variableFilter="time|solHeaGai.TFlu.1.|solHeaGai.TFlu.2.|solHeaGai.TFlu.3.|solHeaGai.QSol_flow.1.|solHeaGai.QSol_flow.2.|solHeaGai.QSol_flow.3.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001923/0.001924, allocations: 107 kB / 16.36 MB, free: 6.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002201/0.002201, allocations: 195.3 kB / 17.29 MB, free: 5.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.622/2.622, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002603/0.002603, allocations: 62.88 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3867/0.3894, allocations: 153 MB / 1.027 GB, free: 2.086 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003298/0.3927, allocations: 2.042 MB / 1.029 GB, free: 36 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00438/0.3971, allocations: 3.685 MB / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.783e-05/0.3973, allocations: 0 / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002745/0.3976, allocations: 55.5 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002889/0.3979, allocations: 107.3 kB / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003312/0.3982, allocations: 131.6 kB / 1.033 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003276/0.3986, allocations: 259.1 kB / 1.033 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.3987, allocations: 44.39 kB / 1.033 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002001/0.3989, allocations: 111.6 kB / 1.033 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.3991, allocations: 119.4 kB / 1.033 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.2e-05/0.3991, allocations: 16 kB / 1.033 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002091/0.3994, allocations: 115.8 kB / 1.033 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.204e-05/0.3994, allocations: 43.83 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.3995, allocations: 103.4 kB / 1.033 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000349/0.3999, allocations: 279 kB / 1.034 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3999, allocations: 0 / 1.034 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.432e-06/0.3999, allocations: 0 / 1.034 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.172e-05/0.3999, allocations: 7.938 kB / 1.034 GB, free: 10.96 MB / 0.8106 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.001094/0.401, allocations: 0.5723 MB / 1.034 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.4011, allocations: 16.03 kB / 1.034 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.905e-05/0.4012, allocations: 28.66 kB / 1.034 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003953/0.4016, allocations: 263.6 kB / 1.034 GB, free: 10 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.4016, allocations: 8.375 kB / 1.034 GB, free: 9.996 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.4016, allocations: 8.312 kB / 1.034 GB, free: 9.988 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004703/0.4021, allocations: 179.5 kB / 1.035 GB, free: 9.809 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.4021, allocations: 3.984 kB / 1.035 GB, free: 9.805 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.4021, allocations: 4 kB / 1.035 GB, free: 9.801 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.4021, allocations: 4 kB / 1.035 GB, free: 9.797 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006126/0.4028, allocations: 191.8 kB / 1.035 GB, free: 9.609 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008483/0.4036, allocations: 0.4885 MB / 1.035 GB, free: 9.07 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003607/0.404, allocations: 122.5 kB / 1.035 GB, free: 8.941 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003187/0.4043, allocations: 108.8 kB / 1.036 GB, free: 8.832 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008372/0.4052, allocations: 0.5454 MB / 1.036 GB, free: 8.176 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.4052, allocations: 34.55 kB / 1.036 GB, free: 8.133 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=11): time 1.352e-06/0.4052, allocations: 4 kB / 1.036 GB, free: 8.129 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11): time 0.001134/0.4063, allocations: 357.3 kB / 1.036 GB, free: 7.773 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.4064, allocations: 55.41 kB / 1.037 GB, free: 7.707 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002346/0.4066, allocations: 238.7 kB / 1.037 GB, free: 7.469 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.4067, allocations: 25.7 kB / 1.037 GB, free: 7.438 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.4068, allocations: 136 kB / 1.037 GB, free: 7.301 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.502e-05/0.4068, allocations: 35.45 kB / 1.037 GB, free: 7.266 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.151e-05/0.4069, allocations: 33.69 kB / 1.037 GB, free: 7.227 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.407, allocations: 330.8 kB / 1.037 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003141/0.4073, allocations: 95.91 kB / 1.037 GB, free: 6.801 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002945/0.4077, allocations: 95.91 kB / 1.037 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000589/0.4082, allocations: 196.6 kB / 1.038 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.4083, allocations: 4 kB / 1.038 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006903/0.409, allocations: 257.2 kB / 1.038 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.409, allocations: 4 kB / 1.038 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.409, allocations: 4 kB / 1.038 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.409, allocations: 4 kB / 1.038 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002986/0.4093, allocations: 43.94 kB / 1.038 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.4093, allocations: 3.938 kB / 1.038 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002145/0.4096, allocations: 35.81 kB / 1.038 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.005e-05/0.4096, allocations: 7.984 kB / 1.038 GB, free: 6.148 MB / 0.8106 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 (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 prepare postOptimizeDAE: time 0.0001141/0.4097, allocations: 133.7 kB / 1.038 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.61e-05/0.4098, allocations: 15.81 kB / 1.038 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007998/0.4106, allocations: 283.1 kB / 1.038 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.4106, allocations: 4 kB / 1.038 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.4106, allocations: 11.88 kB / 1.038 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.4106, allocations: 0 / 1.038 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002858/0.4109, allocations: 273.4 kB / 1.039 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4109, allocations: 0 / 1.039 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002725/0.4112, allocations: 47.89 kB / 1.039 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.4112, allocations: 4 kB / 1.039 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.4112, allocations: 7.984 kB / 1.039 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.4112, allocations: 0 / 1.039 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4112, allocations: 3.938 kB / 1.039 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007448/0.412, allocations: 359.9 kB / 1.039 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.4121, allocations: 112.7 kB / 1.039 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.388e-05/0.4121, allocations: 4 kB / 1.039 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/0.4124, allocations: 27.95 kB / 1.039 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.483e-05/0.4125, allocations: 15.92 kB / 1.039 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.4125, allocations: 8 kB / 1.039 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001363/0.4126, allocations: 170 kB / 1.039 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4126, allocations: 0 / 1.039 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003299/0.413, allocations: 52 kB / 1.039 GB, free: 4.547 MB / 0.8106 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.0002062/0.4132, allocations: 135.2 kB / 1.04 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007055/0.4139, allocations: 223.8 kB / 1.04 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4139, allocations: 0 / 1.04 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003585/0.4143, allocations: 123.8 kB / 1.04 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.4146, allocations: 25.67 kB / 1.04 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008017/0.4154, allocations: 426.3 kB / 1.04 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.4157, allocations: 0.7353 MB / 1.041 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001429/0.4159, allocations: 36.83 kB / 1.041 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.431e-05/0.416, allocations: 27.42 kB / 1.041 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of SimCode: time 3.31e-07/0.416, allocations: 0 / 1.041 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of Templates: time 0.005701/0.4217, allocations: 2.701 MB / 1.044 GB, free: 100 kB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (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=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches