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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.005935/0.005934, allocations: 104.6 kB / 15.74 MB, free: 6.492 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.001313/0.001313, allocations: 190.1 kB / 16.67 MB, free: 6.379 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.688/2.688, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 63.91 kB / 1.054 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3034, allocations: 157.4 MB / 1.208 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003377/0.3068, allocations: 2.024 MB / 1.21 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004556/0.3114, allocations: 3.688 MB / 1.213 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001218/0.3116, allocations: 0 / 1.213 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002768/0.3119, allocations: 63.5 kB / 1.213 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003186/0.3122, allocations: 111.3 kB / 1.213 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003876/0.3126, allocations: 119.6 kB / 1.214 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003575/0.313, allocations: 259.1 kB / 1.214 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.3131, allocations: 52.36 kB / 1.214 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002404/0.3134, allocations: 111.6 kB / 1.214 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001763/0.3136, allocations: 119.4 kB / 1.214 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.575e-05/0.3136, allocations: 20 kB / 1.214 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002386/0.3139, allocations: 123.8 kB / 1.214 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.827e-05/0.3139, allocations: 43.83 kB / 1.214 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.364e-05/0.314, allocations: 91.47 kB / 1.214 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003534/0.3144, allocations: 282.9 kB / 1.215 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3144, allocations: 0 / 1.215 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3144, allocations: 0 / 1.215 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.3144, allocations: 0 / 1.215 GB, free: 2.539 MB / 0.9669 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.001197/0.3156, allocations: 0.5879 MB / 1.215 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.3157, allocations: 8.625 kB / 1.215 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.818e-05/0.3157, allocations: 24.66 kB / 1.215 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004315/0.3162, allocations: 271.6 kB / 1.216 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.3162, allocations: 4.375 kB / 1.216 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.591e-05/0.3162, allocations: 8.375 kB / 1.216 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000506/0.3167, allocations: 171.4 kB / 1.216 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.3168, allocations: 4 kB / 1.216 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.3168, allocations: 0 / 1.216 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.3168, allocations: 4 kB / 1.216 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007137/0.3175, allocations: 191.8 kB / 1.216 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009007/0.3184, allocations: 0.4884 MB / 1.216 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004169/0.3188, allocations: 122.5 kB / 1.216 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004007/0.3193, allocations: 108.8 kB / 1.217 GB, free: 420 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008974/0.3202, allocations: 0.5532 MB / 1.217 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.3202, allocations: 34.5 kB / 1.217 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.693e-06/0.3202, allocations: 4 kB / 1.217 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.001319/0.3215, allocations: 353.2 kB / 1.217 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.3216, allocations: 51.41 kB / 1.218 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000211/0.3218, allocations: 242.7 kB / 1.218 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.3218, allocations: 29.7 kB / 1.218 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.154e-05/0.3219, allocations: 140 kB / 1.218 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.071e-05/0.322, allocations: 35.45 kB / 1.218 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.546e-05/0.322, allocations: 29.69 kB / 1.218 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.3222, allocations: 338.8 kB / 1.218 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004184/0.3226, allocations: 91.92 kB / 1.218 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003513/0.3229, allocations: 95.91 kB / 1.218 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007239/0.3237, allocations: 200.6 kB / 1.219 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3237, allocations: 0 / 1.219 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0008041/0.3245, allocations: 257.2 kB / 1.219 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.3245, allocations: 9.406 kB / 1.219 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3245, allocations: 0 / 1.219 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.3246, allocations: 0 / 1.219 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003217/0.3249, allocations: 47.94 kB / 1.219 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.3249, allocations: 7.875 kB / 1.219 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002263/0.3251, allocations: 31.81 kB / 1.219 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/0.3252, allocations: 7.984 kB / 1.219 GB, free: 13.71 MB / 0.9825 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.0001301/0.3253, allocations: 129.8 kB / 1.219 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.959e-05/0.3254, allocations: 19.72 kB / 1.219 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009076/0.3263, allocations: 279.1 kB / 1.219 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.3263, allocations: 8 kB / 1.219 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.3263, allocations: 11.92 kB / 1.219 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3263, allocations: 0 / 1.219 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003378/0.3267, allocations: 269.5 kB / 1.22 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.3267, allocations: 0 / 1.22 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002959/0.327, allocations: 47.88 kB / 1.22 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.327, allocations: 4 kB / 1.22 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.327, allocations: 0 / 1.22 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.327, allocations: 0 / 1.22 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.327, allocations: 3.938 kB / 1.22 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008843/0.3279, allocations: 359.9 kB / 1.22 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.3281, allocations: 120.7 kB / 1.22 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.183e-05/0.3281, allocations: 0 / 1.22 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002549/0.3284, allocations: 31.95 kB / 1.22 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.208e-05/0.3285, allocations: 19.86 kB / 1.22 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.3285, allocations: 7.984 kB / 1.22 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001637/0.3287, allocations: 166 kB / 1.22 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3287, allocations: 0 / 1.22 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003409/0.329, allocations: 52 kB / 1.22 GB, free: 12.12 MB / 0.9825 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.0002605/0.3293, allocations: 139.2 kB / 1.221 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008112/0.3301, allocations: 219.8 kB / 1.221 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3301, allocations: 3.938 kB / 1.221 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004072/0.3305, allocations: 115.9 kB / 1.221 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004237/0.331, allocations: 28.48 kB / 1.221 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000895/0.3319, allocations: 422.3 kB / 1.221 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.3322, allocations: 0.739 MB / 1.222 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001718/0.3324, allocations: 36.83 kB / 1.222 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.831e-05/0.3325, allocations: 19.42 kB / 1.222 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.3325, allocations: 0 / 1.222 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of Templates: time 0.00682/0.3393, allocations: 2.766 MB / 1.225 GB, free: 7.602 MB / 0.9825 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