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.001245/0.001245, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.01113/0.01113, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.457/1.457, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.721/2.721, allocations: 462.6 MB / 0.7363 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003799/0.0003801, allocations: 8.438 kB / 0.9027 GB, free: 36.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.3753, allocations: 159.6 MB / 1.059 GB, free: 5 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002614/0.378, allocations: 1.724 MB / 1.06 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005044/0.383, allocations: 3.619 MB / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002063/0.3833, allocations: 0 / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003694/0.3837, allocations: 59.67 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004786/0.3842, allocations: 95.39 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005079/0.3847, allocations: 95.78 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004542/0.3852, allocations: 247 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/0.3853, allocations: 48.39 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003312/0.3857, allocations: 95.55 kB / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002027/0.3859, allocations: 103.5 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.159e-05/0.386, allocations: 8 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003063/0.3863, allocations: 115.8 kB / 1.065 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.643e-05/0.3863, allocations: 31.84 kB / 1.065 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001455/0.3865, allocations: 121 kB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000452/0.387, allocations: 263.1 kB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.387, allocations: 4 kB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.414e-06/0.387, allocations: 0 / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.162e-05/0.387, allocations: 0 / 1.065 GB, free: 14.36 MB / 0.8262 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.001262/0.3883, allocations: 0.5764 MB / 1.066 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.3883, allocations: 19.97 kB / 1.066 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.628e-05/0.3884, allocations: 24.66 kB / 1.066 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004711/0.3889, allocations: 263.6 kB / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.3889, allocations: 12.31 kB / 1.066 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.085e-05/0.3889, allocations: 4.375 kB / 1.066 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005594/0.3895, allocations: 202.6 kB / 1.066 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.3895, allocations: 0 / 1.066 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.058e-05/0.3896, allocations: 8 kB / 1.066 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.3896, allocations: 4 kB / 1.066 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000739/0.3903, allocations: 231.8 kB / 1.066 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009517/0.3913, allocations: 0.4886 MB / 1.067 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004319/0.3917, allocations: 142.5 kB / 1.067 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003828/0.3921, allocations: 132.8 kB / 1.067 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008943/0.393, allocations: 0.5689 MB / 1.068 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.3931, allocations: 42.77 kB / 1.068 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 4.518e-06/0.3931, allocations: 0 / 1.068 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.001279/0.3944, allocations: 417 kB / 1.068 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.3944, allocations: 51.41 kB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002375/0.3946, allocations: 242.7 kB / 1.068 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/0.3947, allocations: 25.7 kB / 1.068 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.936e-05/0.3948, allocations: 136 kB / 1.069 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.104e-05/0.3949, allocations: 43.45 kB / 1.069 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.498e-05/0.3949, allocations: 13.72 kB / 1.069 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.395, allocations: 334.8 kB / 1.069 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003766/0.3954, allocations: 115.9 kB / 1.069 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003664/0.3958, allocations: 123.8 kB / 1.069 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007284/0.3965, allocations: 241.3 kB / 1.069 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3965, allocations: 0 / 1.069 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0008226/0.3974, allocations: 301.2 kB / 1.07 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.3974, allocations: 7.938 kB / 1.07 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.3974, allocations: 0 / 1.07 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.3974, allocations: 8 kB / 1.07 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003354/0.3978, allocations: 59.88 kB / 1.07 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.3978, allocations: 7.938 kB / 1.07 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00024/0.398, allocations: 43.91 kB / 1.07 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.3981, allocations: 3.984 kB / 1.07 GB, free: 9.191 MB / 0.8262 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.0001206/0.3982, allocations: 125.8 kB / 1.07 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.837e-05/0.3982, allocations: 23.72 kB / 1.07 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009699/0.3992, allocations: 327.2 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.3992, allocations: 0 / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.3992, allocations: 3.938 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.3992, allocations: 0 / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003087/0.3996, allocations: 269.5 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3996, allocations: 0 / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003046/0.3999, allocations: 63.88 kB / 1.071 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.3999, allocations: 3.938 kB / 1.071 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.732e-05/0.3999, allocations: 7.984 kB / 1.071 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3999, allocations: 0 / 1.071 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3999, allocations: 3.938 kB / 1.071 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008956/0.4008, allocations: 395.1 kB / 1.071 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.401, allocations: 116.7 kB / 1.071 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.349e-05/0.401, allocations: 0 / 1.071 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/0.4013, allocations: 35.97 kB / 1.071 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.414e-05/0.4014, allocations: 19.91 kB / 1.071 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.4014, allocations: 4 kB / 1.071 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001581/0.4015, allocations: 174 kB / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.61e-07/0.4015, allocations: 3.938 kB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003302/0.4019, allocations: 56 kB / 1.071 GB, free: 7.5 MB / 0.8262 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.0002331/0.4021, allocations: 135.2 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008645/0.403, allocations: 259.8 kB / 1.072 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.403, allocations: 0 / 1.072 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000414/0.4034, allocations: 139.8 kB / 1.072 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004396/0.4039, allocations: 28.53 kB / 1.072 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000869/0.4048, allocations: 0.5087 MB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.4051, allocations: 0.7394 MB / 1.073 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001801/0.4053, allocations: 32.84 kB / 1.073 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.767e-05/0.4053, allocations: 19.42 kB / 1.073 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.4054, allocations: 0 / 1.073 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of Templates: time 0.005876/0.4112, allocations: 2.374 MB / 1.075 GB, free: 3.234 MB / 0.8262 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 -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/jenkins/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