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.006104/0.006104, allocations: 97.16 kB / 15.73 MB, free: 6.055 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.001306/0.001306, allocations: 192.1 kB / 16.67 MB, free: 5.969 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.168 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.707/2.707, allocations: 437 MB / 0.7105 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002327/0.002327, allocations: 63.91 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2947, allocations: 151.6 MB / 1.167 GB, free: 6.797 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003334/0.2981, allocations: 2.014 MB / 1.169 GB, free: 4.766 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004949/0.303, allocations: 3.7 MB / 1.172 GB, free: 1.047 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001563/0.3032, allocations: 4 kB / 1.172 GB, free: 1.043 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003394/0.3036, allocations: 55.56 kB / 1.172 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003637/0.304, allocations: 107.3 kB / 1.172 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004106/0.3044, allocations: 123.7 kB / 1.172 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003941/0.3048, allocations: 259 kB / 1.173 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000167/0.305, allocations: 56.36 kB / 1.173 GB, free: 460 kB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002349/0.3052, allocations: 103.6 kB / 1.173 GB, free: 356 kB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001772/0.3054, allocations: 119.5 kB / 1.173 GB, free: 236 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.633e-05/0.3055, allocations: 16 kB / 1.173 GB, free: 220 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002513/0.3057, allocations: 115.8 kB / 1.173 GB, free: 104 kB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.921e-05/0.3058, allocations: 47.77 kB / 1.173 GB, free: 56 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001344/0.3059, allocations: 103.4 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004114/0.3064, allocations: 278.8 kB / 1.174 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.3064, allocations: 0 / 1.174 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3064, allocations: 3.938 kB / 1.174 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.3064, allocations: 0 / 1.174 GB, free: 15.68 MB / 0.9356 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.001233/0.3076, allocations: 0.5954 MB / 1.174 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.3077, allocations: 12.03 kB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.113e-05/0.3077, allocations: 20.8 kB / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004263/0.3082, allocations: 275.8 kB / 1.174 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.3082, allocations: 12.33 kB / 1.174 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.3082, allocations: 4.375 kB / 1.174 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004929/0.3087, allocations: 175.7 kB / 1.175 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.3087, allocations: 7.984 kB / 1.175 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/0.3088, allocations: 4 kB / 1.175 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.3088, allocations: 4 kB / 1.175 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006438/0.3094, allocations: 191.8 kB / 1.175 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008712/0.3103, allocations: 484.4 kB / 1.175 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003979/0.3107, allocations: 126.5 kB / 1.175 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003386/0.3111, allocations: 108.8 kB / 1.175 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009025/0.312, allocations: 0.5493 MB / 1.176 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.312, allocations: 34.56 kB / 1.176 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.312, allocations: 224 / 1.176 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.001171/0.3132, allocations: 357.3 kB / 1.176 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.3133, allocations: 59.41 kB / 1.176 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.3135, allocations: 238.7 kB / 1.177 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.3135, allocations: 25.7 kB / 1.177 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.32e-05/0.3136, allocations: 136 kB / 1.177 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.397e-05/0.3137, allocations: 43.69 kB / 1.177 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.486e-05/0.3138, allocations: 25.7 kB / 1.177 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.3139, allocations: 330.8 kB / 1.177 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003362/0.3142, allocations: 99.91 kB / 1.177 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00031/0.3146, allocations: 95.84 kB / 1.177 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006302/0.3152, allocations: 196.7 kB / 1.178 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3152, allocations: 0 / 1.178 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007323/0.3159, allocations: 262 kB / 1.178 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.316, allocations: 6.656 kB / 1.178 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.316, allocations: 0 / 1.178 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.316, allocations: 4 kB / 1.178 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003121/0.3163, allocations: 51.88 kB / 1.178 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.3163, allocations: 3.938 kB / 1.178 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002364/0.3166, allocations: 35.86 kB / 1.178 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.3166, allocations: 7.984 kB / 1.178 GB, free: 10.83 MB / 0.9356 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.0001183/0.3167, allocations: 125.8 kB / 1.178 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.145e-05/0.3168, allocations: 19.86 kB / 1.178 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008386/0.3176, allocations: 279.3 kB / 1.178 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.3177, allocations: 4 kB / 1.178 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.577e-05/0.3177, allocations: 11.94 kB / 1.178 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.3177, allocations: 0 / 1.178 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002887/0.318, allocations: 269.4 kB / 1.179 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.318, allocations: 0 / 1.179 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002941/0.3183, allocations: 47.94 kB / 1.179 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3183, allocations: 3.938 kB / 1.179 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.3183, allocations: 7.984 kB / 1.179 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3183, allocations: 3.938 kB / 1.179 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.3183, allocations: 7.922 kB / 1.179 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007896/0.3191, allocations: 359.3 kB / 1.179 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.3192, allocations: 112.9 kB / 1.179 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.67e-05/0.3193, allocations: 7.938 kB / 1.179 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/0.3195, allocations: 19.97 kB / 1.179 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.661e-05/0.3196, allocations: 23.91 kB / 1.179 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.3197, allocations: 0 / 1.179 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001377/0.3198, allocations: 174 kB / 1.179 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3198, allocations: 0 / 1.179 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003287/0.3201, allocations: 63.83 kB / 1.179 GB, free: 9.227 MB / 0.9356 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.0002686/0.3204, allocations: 143 kB / 1.18 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007739/0.3212, allocations: 215.8 kB / 1.18 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3212, allocations: 0 / 1.18 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003678/0.3216, allocations: 115.8 kB / 1.18 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004343/0.322, allocations: 28.53 kB / 1.18 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008569/0.3229, allocations: 414 kB / 1.18 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.3232, allocations: 0.7353 MB / 1.181 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001433/0.3234, allocations: 36.84 kB / 1.181 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.634e-05/0.3235, allocations: 27.36 kB / 1.181 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of SimCode: time 3.31e-07/0.3235, allocations: 0 / 1.181 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of Templates: time 0.006014/0.3295, allocations: 2.714 MB / 1.184 GB, free: 4.77 MB / 0.9356 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=480 -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