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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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|solGai.TFlu.1.|solGai.TFlu.2.|solGai.TFlu.3.|solGai.QSol_flow.1.|solGai.QSol_flow.2.|solGai.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|solGai.TFlu.1.|solGai.TFlu.2.|solGai.TFlu.3.|solGai.QSol_flow.1.|solGai.QSol_flow.2.|solGai.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.001639/0.001639, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001673/0.001673, allocations: 192.4 kB / 16.25 MB, free: 6.637 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.423/1.423, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.89/2.89, allocations: 482.3 MB / 0.7543 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 70.02 kB / 0.9233 GB, free: 29.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3641, allocations: 162.2 MB / 1.082 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.00364/0.3678, allocations: 2.119 MB / 1.084 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.005227/0.373, allocations: 4.031 MB / 1.088 GB, free: 7.473 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.868e-05/0.3731, allocations: 3.938 kB / 1.088 GB, free: 7.469 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000789/0.374, allocations: 190.6 kB / 1.088 GB, free: 7.285 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.3741, allocations: 51.55 kB / 1.088 GB, free: 7.234 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006324/0.3747, allocations: 243.5 kB / 1.088 GB, free: 6.996 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0005872/0.3753, allocations: 378.8 kB / 1.089 GB, free: 6.625 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.3755, allocations: 52.36 kB / 1.089 GB, free: 6.574 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001562/0.3756, allocations: 111.6 kB / 1.089 GB, free: 6.465 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001799/0.3758, allocations: 135.4 kB / 1.089 GB, free: 6.332 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.662e-05/0.3759, allocations: 19.94 kB / 1.089 GB, free: 6.312 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004598/0.3763, allocations: 303.6 kB / 1.089 GB, free: 6.016 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001499/0.3765, allocations: 99.7 kB / 1.089 GB, free: 5.918 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001853/0.3767, allocations: 151.1 kB / 1.089 GB, free: 5.77 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000626/0.3773, allocations: 0.4985 MB / 1.09 GB, free: 5.27 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3773, allocations: 0 / 1.09 GB, free: 5.27 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3773, allocations: 4 kB / 1.09 GB, free: 5.266 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.3774, allocations: 4 kB / 1.09 GB, free: 5.262 MB / 0.8419 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.001408/0.3788, allocations: 0.7448 MB / 1.091 GB, free: 4.461 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.3788, allocations: 12.03 kB / 1.091 GB, free: 4.449 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.57e-05/0.3789, allocations: 36.47 kB / 1.091 GB, free: 4.414 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005147/0.3794, allocations: 326.4 kB / 1.091 GB, free: 4.059 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.3794, allocations: 4.375 kB / 1.091 GB, free: 4.055 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.923e-05/0.3795, allocations: 8.375 kB / 1.091 GB, free: 4.047 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005202/0.38, allocations: 215.2 kB / 1.091 GB, free: 3.832 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.38, allocations: 0 / 1.091 GB, free: 3.832 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.38, allocations: 0 / 1.091 GB, free: 3.832 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.3801, allocations: 0 / 1.091 GB, free: 3.832 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007007/0.3808, allocations: 247.8 kB / 1.091 GB, free: 3.59 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.3818, allocations: 0.5861 MB / 1.092 GB, free: 2.953 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004192/0.3823, allocations: 170.5 kB / 1.092 GB, free: 2.777 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003539/0.3826, allocations: 136.8 kB / 1.092 GB, free: 2.641 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.505e-05/0.3827, allocations: 23.92 kB / 1.092 GB, free: 2.617 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.3827, allocations: 30.56 kB / 1.092 GB, free: 2.578 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.3827, allocations: 4 kB / 1.092 GB, free: 2.574 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11): time 0.001256/0.384, allocations: 449 kB / 1.093 GB, free: 2.129 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.996e-05/0.384, allocations: 51.41 kB / 1.093 GB, free: 2.066 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004356/0.3845, allocations: 417.5 kB / 1.093 GB, free: 1.652 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.3845, allocations: 29.7 kB / 1.093 GB, free: 1.617 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.3847, allocations: 187.7 kB / 1.093 GB, free: 1.43 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/0.3847, allocations: 35.45 kB / 1.093 GB, free: 1.395 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.278e-05/0.3848, allocations: 41.69 kB / 1.094 GB, free: 1.348 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.385, allocations: 342.8 kB / 1.094 GB, free: 1.004 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004029/0.3854, allocations: 171.9 kB / 1.094 GB, free: 0.8359 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003945/0.3858, allocations: 167.9 kB / 1.094 GB, free: 0.6719 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007781/0.3866, allocations: 351.6 kB / 1.094 GB, free: 328 kB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.3866, allocations: 0 / 1.094 GB, free: 328 kB / 0.8419 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009849/0.3876, allocations: 472.1 kB / 1.095 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.041e-05/0.3876, allocations: 41.69 kB / 1.095 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3877, allocations: 0 / 1.095 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.3877, allocations: 0 / 1.095 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003185/0.388, allocations: 55.94 kB / 1.095 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.388, allocations: 4 kB / 1.095 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002444/0.3883, allocations: 43.64 kB / 1.095 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/0.3883, allocations: 4 kB / 1.095 GB, free: 15.7 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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.0001804/0.3885, allocations: 157.8 kB / 1.095 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.549e-05/0.3886, allocations: 31.62 kB / 1.095 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009355/0.3895, allocations: 348.5 kB / 1.096 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.3895, allocations: 0 / 1.096 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3895, allocations: 0 / 1.096 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.3895, allocations: 3.938 kB / 1.096 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004195/0.39, allocations: 349.3 kB / 1.096 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.39, allocations: 0 / 1.096 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000292/0.3903, allocations: 51.88 kB / 1.096 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3903, allocations: 0 / 1.096 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.3903, allocations: 7.984 kB / 1.096 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3903, allocations: 4 kB / 1.096 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3903, allocations: 0 / 1.096 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008696/0.3912, allocations: 418.8 kB / 1.096 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.3913, allocations: 124.6 kB / 1.097 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.695e-05/0.3914, allocations: 8 kB / 1.097 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002519/0.3917, allocations: 19.97 kB / 1.097 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.784e-05/0.3917, allocations: 23.91 kB / 1.097 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.3918, allocations: 0 / 1.097 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003122/0.3921, allocations: 295.1 kB / 1.097 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3921, allocations: 4 kB / 1.097 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004453/0.3925, allocations: 123.9 kB / 1.097 GB, free: 13.66 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.0003628/0.3929, allocations: 175.1 kB / 1.097 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001061/0.394, allocations: 0.4999 MB / 1.098 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.394, allocations: 0 / 1.098 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003973/0.3944, allocations: 139.9 kB / 1.098 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005553/0.395, allocations: 61.52 kB / 1.098 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.3962, allocations: 0.7074 MB / 1.099 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004419/0.3966, allocations: 0.7944 MB / 1.099 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001966/0.3968, allocations: 41.52 kB / 1.099 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.114e-05/0.3969, allocations: 27.42 kB / 1.099 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of SimCode: time 3.11e-07/0.3969, allocations: 0 / 1.099 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of Templates: time 0.009365/0.4063, allocations: 4.654 MB / 1.104 GB, free: 6.551 MB / 0.8575 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=400 -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