Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001348/0.001348, allocations: 116.1 kB / 16.42 MB, free: 6.496 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.001373/0.001373, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.287/1.287, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.14/2.14, allocations: 390.3 MB / 0.6655 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 63.91 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6812/0.6824, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002847/0.6853, allocations: 2.011 MB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00363/0.6889, allocations: 3.687 MB / 1.094 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.104e-05/0.6891, allocations: 5.656 kB / 1.094 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002608/0.6893, allocations: 58.97 kB / 1.094 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002872/0.6896, allocations: 109 kB / 1.094 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003145/0.69, allocations: 132.6 kB / 1.094 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003005/0.6903, allocations: 249.1 kB / 1.095 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.6904, allocations: 51.64 kB / 1.095 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001984/0.6906, allocations: 113.4 kB / 1.095 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/0.6908, allocations: 117.9 kB / 1.095 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.557e-05/0.6908, allocations: 19.53 kB / 1.095 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002315/0.6911, allocations: 118.7 kB / 1.095 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.008e-05/0.6911, allocations: 43.09 kB / 1.095 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.234e-05/0.6912, allocations: 98.83 kB / 1.095 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003537/0.6916, allocations: 279.4 kB / 1.096 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.6916, allocations: 0 / 1.096 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.293e-06/0.6916, allocations: 0.7812 kB / 1.096 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.6916, allocations: 0 / 1.096 GB, free: 0.7891 MB / 0.8575 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.001066/0.6927, allocations: 0.5888 MB / 1.096 GB, free: 316 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.6927, allocations: 9.125 kB / 1.096 GB, free: 316 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.647e-05/0.6928, allocations: 23.56 kB / 1.096 GB, free: 304 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.6932, allocations: 278.3 kB / 1.096 GB, free: 44 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.6932, allocations: 7.688 kB / 1.096 GB, free: 40 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.6932, allocations: 5.281 kB / 1.096 GB, free: 40 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005423/0.6938, allocations: 174.1 kB / 1.097 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.6938, allocations: 0 / 1.097 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.22e-05/0.6938, allocations: 12.75 kB / 1.097 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.6938, allocations: 2.031 kB / 1.097 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007475/0.6946, allocations: 186.3 kB / 1.097 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000909/0.6955, allocations: 496.3 kB / 1.097 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004205/0.6959, allocations: 125.8 kB / 1.097 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004031/0.6964, allocations: 108.8 kB / 1.097 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008946/0.6973, allocations: 0.55 MB / 1.098 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.6973, allocations: 32.14 kB / 1.098 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=11): time 1.362e-06/0.6973, allocations: 0 / 1.098 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of matching and sorting (n=11): time 0.001297/0.6986, allocations: 355.5 kB / 1.098 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.6986, allocations: 53.25 kB / 1.098 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002681/0.6989, allocations: 240.8 kB / 1.099 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.699, allocations: 25.7 kB / 1.099 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 8.736e-05/0.699, allocations: 141.4 kB / 1.099 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.383e-05/0.6991, allocations: 34.75 kB / 1.099 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.075e-05/0.6992, allocations: 31.7 kB / 1.099 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.6993, allocations: 331.6 kB / 1.099 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003692/0.6997, allocations: 99.5 kB / 1.099 GB, free: 14 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003615/0.7, allocations: 95.59 kB / 1.099 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007135/0.7008, allocations: 201.2 kB / 1.1 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.7008, allocations: 0 / 1.1 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0008082/0.7016, allocations: 254.9 kB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.7016, allocations: 5.875 kB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.7016, allocations: 0.9062 kB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.7016, allocations: 0 / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003191/0.702, allocations: 48.12 kB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.702, allocations: 9.141 kB / 1.1 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/0.7022, allocations: 36.7 kB / 1.1 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/0.7023, allocations: 4.344 kB / 1.1 GB, free: 13.82 MB / 0.8731 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.0001167/0.7024, allocations: 123.7 kB / 1.1 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.355e-05/0.7024, allocations: 18.86 kB / 1.1 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009267/0.7034, allocations: 286.2 kB / 1.1 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.7034, allocations: 1.984 kB / 1.1 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.7034, allocations: 3.938 kB / 1.1 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.7035, allocations: 125.5 kB / 1.1 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.803e-05/0.7036, allocations: 0.9375 kB / 1.1 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002619/0.7038, allocations: 24.02 kB / 1.1 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.812e-05/0.7039, allocations: 14.5 kB / 1.1 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001046/0.705, allocations: 352.9 kB / 1.101 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008842/0.7059, allocations: 437.4 kB / 1.101 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003887/0.7063, allocations: 115.3 kB / 1.101 GB, free: 13 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001581/0.7064, allocations: 169.1 kB / 1.101 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of Backend: time 1.803e-06/0.7064, allocations: 0 / 1.101 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008873/0.7073, allocations: 223.2 kB / 1.102 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0009618/0.7083, allocations: 0.84 MB / 1.103 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of Templates: time 0.008173/0.7165, allocations: 3.474 MB / 1.106 GB, free: 11.8 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches