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.005487/0.005487, allocations: 107 kB / 15.74 MB, free: 6.051 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.001223/0.001223, allocations: 195 kB / 16.68 MB, free: 5.98 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.767/2.767, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001304, allocations: 68.14 kB / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3059, allocations: 157.4 MB / 1.208 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003231/0.3091, allocations: 2.024 MB / 1.21 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004406/0.3136, allocations: 3.684 MB / 1.213 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001861/0.3138, allocations: 0 / 1.213 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003196/0.3141, allocations: 63.5 kB / 1.213 GB, free: 3.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003507/0.3145, allocations: 115.2 kB / 1.213 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004041/0.3149, allocations: 115.7 kB / 1.214 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003473/0.3153, allocations: 259 kB / 1.214 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.3154, allocations: 56.36 kB / 1.214 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000224/0.3157, allocations: 111.6 kB / 1.214 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.3158, allocations: 115.5 kB / 1.214 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.369e-05/0.3159, allocations: 16 kB / 1.214 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002222/0.3161, allocations: 123.8 kB / 1.214 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.01e-05/0.3162, allocations: 47.77 kB / 1.214 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.3163, allocations: 91.47 kB / 1.214 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003474/0.3166, allocations: 283 kB / 1.215 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3166, allocations: 0 / 1.215 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3167, allocations: 7.938 kB / 1.215 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.3167, allocations: 0 / 1.215 GB, free: 2.523 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.001025/0.3177, allocations: 0.584 MB / 1.215 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.3177, allocations: 12.56 kB / 1.215 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.991e-05/0.3178, allocations: 28.66 kB / 1.215 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000392/0.3182, allocations: 263.7 kB / 1.216 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.3182, allocations: 4.375 kB / 1.216 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.3183, allocations: 8.375 kB / 1.216 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004511/0.3187, allocations: 173.6 kB / 1.216 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.3187, allocations: 7.984 kB / 1.216 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.3188, allocations: 8 kB / 1.216 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3188, allocations: 0 / 1.216 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006105/0.3194, allocations: 190.4 kB / 1.216 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008075/0.3202, allocations: 0.4923 MB / 1.216 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003625/0.3206, allocations: 122.5 kB / 1.216 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003224/0.3209, allocations: 112.8 kB / 1.217 GB, free: 392 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007964/0.3217, allocations: 0.5415 MB / 1.217 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.3217, allocations: 34.56 kB / 1.217 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.463e-06/0.3218, allocations: 0 / 1.217 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.001079/0.3228, allocations: 357.1 kB / 1.217 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.3229, allocations: 55.61 kB / 1.218 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.3231, allocations: 238.6 kB / 1.218 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.3231, allocations: 25.7 kB / 1.218 GB, free: 15 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.691e-05/0.3232, allocations: 140 kB / 1.218 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.404e-05/0.3232, allocations: 39.44 kB / 1.218 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.555e-05/0.3233, allocations: 29.7 kB / 1.218 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.3234, allocations: 334.8 kB / 1.218 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000306/0.3238, allocations: 95.91 kB / 1.218 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003006/0.3241, allocations: 91.91 kB / 1.218 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005913/0.3247, allocations: 196.7 kB / 1.219 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3247, allocations: 4 kB / 1.219 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006907/0.3254, allocations: 253.9 kB / 1.219 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.3254, allocations: 8 kB / 1.219 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3254, allocations: 0 / 1.219 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.3254, allocations: 4 kB / 1.219 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002859/0.3257, allocations: 43.94 kB / 1.219 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.3257, allocations: 3.938 kB / 1.219 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.3259, allocations: 35.81 kB / 1.219 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/0.326, 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.0001114/0.3261, allocations: 133.8 kB / 1.219 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.553e-05/0.3261, allocations: 19.72 kB / 1.219 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007669/0.3269, allocations: 291.2 kB / 1.219 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3269, allocations: 0 / 1.219 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.3269, allocations: 3.938 kB / 1.219 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.3269, allocations: 0 / 1.219 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002745/0.3272, allocations: 269.5 kB / 1.22 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3272, allocations: 0 / 1.22 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002762/0.3275, allocations: 51.94 kB / 1.22 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.3275, allocations: 0 / 1.22 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.3275, allocations: 4 kB / 1.22 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3276, allocations: 3.938 kB / 1.22 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.3276, allocations: 3.938 kB / 1.22 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000718/0.3283, allocations: 363.1 kB / 1.22 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.608e-05/0.3284, allocations: 116.7 kB / 1.22 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.106e-05/0.3284, allocations: 7.984 kB / 1.22 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002259/0.3287, allocations: 23.97 kB / 1.22 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.537e-05/0.3287, allocations: 15.92 kB / 1.22 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.3288, allocations: 7.984 kB / 1.22 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001309/0.3289, allocations: 170 kB / 1.22 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3289, allocations: 0 / 1.22 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003146/0.3292, allocations: 52 kB / 1.22 GB, free: 12.11 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.0002078/0.3294, allocations: 143.1 kB / 1.221 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007107/0.3302, allocations: 211.8 kB / 1.221 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3302, allocations: 0 / 1.221 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003354/0.3305, allocations: 123.8 kB / 1.221 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/0.3309, allocations: 30.61 kB / 1.221 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008036/0.3317, allocations: 414.3 kB / 1.221 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.332, allocations: 0.739 MB / 1.222 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001478/0.3322, allocations: 32.84 kB / 1.222 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.399e-05/0.3323, allocations: 23.42 kB / 1.222 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of SimCode: time 2.71e-07/0.3323, allocations: 4 kB / 1.222 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of Templates: time 0.005665/0.3379, allocations: 2.709 MB / 1.225 GB, free: 7.648 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