Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001758/0.001758, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.002203/0.002203, allocations: 195.4 kB / 16.25 MB, free: 6.641 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.572/1.572, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.824/2.824, allocations: 437 MB / 0.7101 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 75.88 kB / 0.8687 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6836/0.6856, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.00344/0.6891, allocations: 2.06 MB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.004631/0.6937, allocations: 3.656 MB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.078e-05/0.6938, allocations: 8 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002555/0.6941, allocations: 39.75 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003165/0.6945, allocations: 107.3 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003216/0.6948, allocations: 107.8 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003381/0.6951, allocations: 255.1 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.6953, allocations: 52.25 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002124/0.6955, allocations: 103.6 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.6957, allocations: 123.4 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.288e-05/0.6957, allocations: 19.94 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002241/0.6959, allocations: 115.8 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.674e-05/0.696, allocations: 39.84 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.6961, allocations: 95.45 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000366/0.6965, allocations: 275.1 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.6965, allocations: 4 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6965, allocations: 0 / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.6965, allocations: 0 / 1.024 GB, free: 11.67 MB / 0.7794 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.001182/0.6977, allocations: 0.5878 MB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.6977, allocations: 8.031 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.169e-05/0.6978, allocations: 24.66 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004585/0.6983, allocations: 271.6 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.6983, allocations: 4.375 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.597e-05/0.6983, allocations: 8.375 kB / 1.025 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005548/0.6989, allocations: 177.6 kB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.6989, allocations: 3.938 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.293e-05/0.6989, allocations: 4 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.6989, allocations: 3.984 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006884/0.6996, allocations: 193.9 kB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000925/0.7006, allocations: 488.4 kB / 1.025 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004133/0.701, allocations: 122.5 kB / 1.026 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003746/0.7014, allocations: 108.8 kB / 1.026 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009878/0.7024, allocations: 0.5493 MB / 1.026 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.7024, allocations: 38.55 kB / 1.026 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.342e-06/0.7024, allocations: 3.938 kB / 1.026 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.00124/0.7037, allocations: 357.2 kB / 1.027 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.7037, allocations: 55.41 kB / 1.027 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002425/0.704, allocations: 238.7 kB / 1.027 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.704, allocations: 29.7 kB / 1.027 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.785e-05/0.7041, allocations: 136 kB / 1.027 GB, free: 7.988 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.169e-05/0.7042, allocations: 43.44 kB / 1.027 GB, free: 7.945 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.56e-05/0.7043, allocations: 33.69 kB / 1.027 GB, free: 7.906 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.7044, allocations: 326.8 kB / 1.027 GB, free: 7.578 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003613/0.7048, allocations: 99.91 kB / 1.027 GB, free: 7.48 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003424/0.7051, allocations: 92.34 kB / 1.028 GB, free: 7.391 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006963/0.7058, allocations: 204.8 kB / 1.028 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.7058, allocations: 0 / 1.028 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0008334/0.7067, allocations: 261.2 kB / 1.028 GB, free: 6.926 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.7067, allocations: 4 kB / 1.028 GB, free: 6.922 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.7067, allocations: 0 / 1.028 GB, free: 6.922 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.7068, allocations: 4 kB / 1.028 GB, free: 6.918 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003308/0.7071, allocations: 43.94 kB / 1.028 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.7071, allocations: 3.938 kB / 1.028 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002324/0.7073, allocations: 27.97 kB / 1.028 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.7074, allocations: 11.98 kB / 1.028 GB, free: 6.832 MB / 0.7794 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.0001498/0.7075, allocations: 121.8 kB / 1.028 GB, free: 6.703 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.631e-05/0.7076, allocations: 23.66 kB / 1.028 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009321/0.7085, allocations: 287.1 kB / 1.028 GB, free: 6.387 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.7086, allocations: 4 kB / 1.028 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.7086, allocations: 3.938 kB / 1.028 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.7086, allocations: 0 / 1.028 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003594/0.7089, allocations: 281.4 kB / 1.029 GB, free: 6.055 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.709, allocations: 0 / 1.029 GB, free: 6.055 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003038/0.7093, allocations: 39.95 kB / 1.029 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.7093, allocations: 0 / 1.029 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.463e-05/0.7093, allocations: 11.98 kB / 1.029 GB, free: 6.004 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.7093, allocations: 0 / 1.029 GB, free: 6.004 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/0.7093, allocations: 7.875 kB / 1.029 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008918/0.7102, allocations: 347.1 kB / 1.029 GB, free: 5.641 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.7104, allocations: 116.8 kB / 1.029 GB, free: 5.508 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.178e-05/0.7104, allocations: 0 / 1.029 GB, free: 5.508 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002625/0.7107, allocations: 27.97 kB / 1.029 GB, free: 5.48 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.221e-05/0.7108, allocations: 23.91 kB / 1.029 GB, free: 5.457 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.7108, allocations: 4 kB / 1.029 GB, free: 5.453 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001884/0.711, allocations: 174 kB / 1.029 GB, free: 5.285 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.711, allocations: 0 / 1.029 GB, free: 5.285 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003679/0.7114, allocations: 63.78 kB / 1.03 GB, free: 5.223 MB / 0.7794 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.0003018/0.7117, allocations: 141.2 kB / 1.03 GB, free: 5.078 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008924/0.7126, allocations: 223.8 kB / 1.03 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.7126, allocations: 4 kB / 1.03 GB, free: 4.855 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004051/0.713, allocations: 119.8 kB / 1.03 GB, free: 4.738 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005908/0.7136, allocations: 25.31 kB / 1.03 GB, free: 4.715 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.7148, allocations: 478.3 kB / 1.03 GB, free: 4.219 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005029/0.7153, allocations: 0.7353 MB / 1.031 GB, free: 3.457 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001999/0.7155, allocations: 36.84 kB / 1.031 GB, free: 3.422 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.28e-05/0.7156, allocations: 23.42 kB / 1.031 GB, free: 3.402 MB / 0.7794 GB Notification: Performance of SimCode: time 1.433e-06/0.7156, allocations: 0 / 1.031 GB, free: 3.402 MB / 0.7794 GB Notification: Performance of Templates: time 0.006717/0.7223, allocations: 2.478 MB / 1.034 GB, free: 0.9453 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches