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.008436/0.008437, allocations: 105.3 kB / 15.73 MB, free: 6.043 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.001958/0.001958, allocations: 191.1 kB / 16.67 MB, free: 5.977 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.444/1.444, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.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.312/2.312, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 66.89 kB / 0.9508 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.282, allocations: 140.4 MB / 1.088 GB, free: 1.477 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003402/0.2854, allocations: 2.012 MB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004697/0.2901, allocations: 3.685 MB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001493/0.2903, allocations: 0 / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003277/0.2907, allocations: 51.56 kB / 1.094 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003693/0.2911, allocations: 111.3 kB / 1.094 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003951/0.2915, allocations: 123.7 kB / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003753/0.2919, allocations: 263 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.292, allocations: 48.38 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002449/0.2923, allocations: 111.6 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001793/0.2925, allocations: 115.5 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.468e-05/0.2925, allocations: 19.94 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002531/0.2928, allocations: 119.8 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.663e-05/0.2928, allocations: 43.84 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.293, allocations: 99.39 kB / 1.095 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000397/0.2934, allocations: 279 kB / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.2934, allocations: 0 / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2934, allocations: 0 / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.29e-05/0.2934, allocations: 4 kB / 1.095 GB, free: 10.38 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.001148/0.2946, allocations: 0.5802 MB / 1.095 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.2946, allocations: 8.031 kB / 1.095 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.023e-05/0.2947, allocations: 24.66 kB / 1.095 GB, free: 9.715 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004424/0.2951, allocations: 275.5 kB / 1.096 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.2952, allocations: 8.375 kB / 1.096 GB, free: 9.398 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.2952, allocations: 12.38 kB / 1.096 GB, free: 9.387 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005136/0.2957, allocations: 173.5 kB / 1.096 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.2957, allocations: 0 / 1.096 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.2958, allocations: 4 kB / 1.096 GB, free: 9.207 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.2958, allocations: 4 kB / 1.096 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006565/0.2965, allocations: 191.8 kB / 1.096 GB, free: 9.016 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000951/0.2974, allocations: 0.4885 MB / 1.097 GB, free: 8.477 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000396/0.2978, allocations: 122.5 kB / 1.097 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003332/0.2982, allocations: 108.8 kB / 1.097 GB, free: 8.238 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009267/0.2991, allocations: 0.5532 MB / 1.097 GB, free: 7.574 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.2991, allocations: 30.56 kB / 1.097 GB, free: 7.535 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.302e-06/0.2992, allocations: 4 kB / 1.097 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.001164/0.3003, allocations: 353.6 kB / 1.098 GB, free: 7.18 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.3004, allocations: 51.41 kB / 1.098 GB, free: 7.117 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/0.3006, allocations: 242.7 kB / 1.098 GB, free: 6.863 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.3006, allocations: 25.7 kB / 1.098 GB, free: 6.832 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.243e-05/0.3007, allocations: 136.1 kB / 1.098 GB, free: 6.695 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.225e-05/0.3008, allocations: 43.38 kB / 1.098 GB, free: 6.652 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.034e-05/0.3009, allocations: 29.69 kB / 1.098 GB, free: 6.617 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.301, allocations: 330.8 kB / 1.098 GB, free: 6.285 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003179/0.3013, allocations: 95.91 kB / 1.099 GB, free: 6.191 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003126/0.3016, allocations: 99.95 kB / 1.099 GB, free: 6.094 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006016/0.3022, allocations: 196.7 kB / 1.099 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3023, allocations: 0 / 1.099 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007462/0.303, allocations: 261.1 kB / 1.099 GB, free: 5.637 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.303, allocations: 8 kB / 1.099 GB, free: 5.629 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.3031, allocations: 0 / 1.099 GB, free: 5.629 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.3031, allocations: 0 / 1.099 GB, free: 5.629 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003016/0.3034, allocations: 47.94 kB / 1.099 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.3034, allocations: 11.92 kB / 1.099 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001962/0.3036, allocations: 27.88 kB / 1.099 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/0.3036, allocations: 7.984 kB / 1.099 GB, free: 5.535 MB / 0.8575 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.0001239/0.3038, allocations: 125.8 kB / 1.099 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.754e-05/0.3038, allocations: 15.81 kB / 1.099 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008146/0.3046, allocations: 287.1 kB / 1.1 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.3047, allocations: 4 kB / 1.1 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3047, allocations: 3.938 kB / 1.1 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3047, allocations: 4 kB / 1.1 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003019/0.305, allocations: 273.4 kB / 1.1 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.305, allocations: 0 / 1.1 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000276/0.3053, allocations: 47.83 kB / 1.1 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.3053, allocations: 4 kB / 1.1 GB, free: 4.727 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.3053, allocations: 3.984 kB / 1.1 GB, free: 4.723 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.3053, allocations: 4 kB / 1.1 GB, free: 4.719 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3053, allocations: 3.938 kB / 1.1 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007646/0.3061, allocations: 359 kB / 1.1 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.3062, allocations: 120.7 kB / 1.1 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.852e-05/0.3063, allocations: 0 / 1.1 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.3065, allocations: 27.95 kB / 1.1 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.101e-05/0.3066, allocations: 19.92 kB / 1.1 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.3066, allocations: 4 kB / 1.1 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001503/0.3068, allocations: 170 kB / 1.101 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.61e-07/0.3068, allocations: 0 / 1.101 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003174/0.3071, allocations: 52 kB / 1.101 GB, free: 3.945 MB / 0.8575 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.0002152/0.3073, allocations: 135.2 kB / 1.101 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0007361/0.3081, allocations: 220.3 kB / 1.101 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3081, allocations: 0 / 1.101 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003569/0.3084, allocations: 120 kB / 1.101 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.3089, allocations: 28.7 kB / 1.101 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000848/0.3097, allocations: 426.3 kB / 1.102 GB, free: 3 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.31, allocations: 0.7392 MB / 1.102 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001482/0.3102, allocations: 32.84 kB / 1.102 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.417e-05/0.3103, allocations: 19.42 kB / 1.102 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of SimCode: time 6.31e-07/0.3103, allocations: 0 / 1.102 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of Templates: time 0.006079/0.3164, allocations: 2.709 MB / 1.105 GB, free: 15.5 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/jenkins/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