Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.ASHRAESolarGain,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.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,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.ASHRAESolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001846/0.001846, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002934/0.002934, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.429/1.429, allocations: 222.9 MB / 239.8 MB, free: 4.648 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.728/2.728, allocations: 461.9 MB / 0.7342 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 67.98 kB / 0.8984 GB, free: 37.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3466, allocations: 157.4 MB / 1.052 GB, free: 8.891 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003237/0.3498, allocations: 2.2 MB / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004237/0.3541, allocations: 3.774 MB / 1.058 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.41e-05/0.3542, allocations: 7.938 kB / 1.058 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002574/0.3545, allocations: 51.62 kB / 1.058 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003084/0.3548, allocations: 111.2 kB / 1.058 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002881/0.3551, allocations: 127.8 kB / 1.058 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002997/0.3554, allocations: 298.8 kB / 1.058 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.3555, allocations: 60.69 kB / 1.059 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001938/0.3557, allocations: 119.5 kB / 1.059 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001643/0.3559, allocations: 139.4 kB / 1.059 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.394e-05/0.3559, allocations: 12 kB / 1.059 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000224/0.3562, allocations: 127.8 kB / 1.059 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.005e-05/0.3563, allocations: 43.77 kB / 1.059 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.3564, allocations: 119.3 kB / 1.059 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003393/0.3567, allocations: 322.9 kB / 1.059 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.3567, allocations: 4 kB / 1.059 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.01e-07/0.3567, allocations: 0 / 1.059 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.3568, allocations: 0 / 1.059 GB, free: 1.363 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001298/0.3581, allocations: 0.6308 MB / 1.06 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.3581, allocations: 12.03 kB / 1.06 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009281/0.359, allocations: 168.5 kB / 1.06 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007446/0.3598, allocations: 320.2 kB / 1.06 GB, free: 156 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.3598, allocations: 12.5 kB / 1.061 GB, free: 144 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.3598, allocations: 11.94 kB / 1.061 GB, free: 132 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007225/0.3606, allocations: 225.5 kB / 1.061 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.3606, allocations: 0 / 1.061 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.689e-05/0.3606, allocations: 4 kB / 1.061 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.3606, allocations: 4 kB / 1.061 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009799/0.3616, allocations: 283.7 kB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001265/0.3629, allocations: 0.5784 MB / 1.062 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005431/0.3635, allocations: 162.5 kB / 1.062 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005004/0.364, allocations: 163.7 kB / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008409/0.3648, allocations: 0.5454 MB / 1.062 GB, free: 14 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.3649, allocations: 42.5 kB / 1.062 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.3649, allocations: 0 / 1.062 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.001666/0.3665, allocations: 489.2 kB / 1.063 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.3666, allocations: 51.41 kB / 1.063 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002387/0.3668, allocations: 264.5 kB / 1.063 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.3669, allocations: 29.7 kB / 1.063 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.584e-05/0.367, allocations: 151.9 kB / 1.063 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.931e-05/0.367, allocations: 43.39 kB / 1.063 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.093e-05/0.3671, allocations: 37.69 kB / 1.063 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.3672, allocations: 338.8 kB / 1.064 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000516/0.3678, allocations: 147.8 kB / 1.064 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005055/0.3683, allocations: 152.7 kB / 1.064 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009795/0.3693, allocations: 294.9 kB / 1.064 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.3693, allocations: 8 kB / 1.064 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001121/0.3704, allocations: 365 kB / 1.065 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.3704, allocations: 8 kB / 1.065 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.3704, allocations: 0 / 1.065 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.3705, allocations: 4 kB / 1.065 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004909/0.371, allocations: 67.84 kB / 1.065 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.371, allocations: 4 kB / 1.065 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003434/0.3713, allocations: 47.8 kB / 1.065 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-05/0.3714, allocations: 7.984 kB / 1.065 GB, free: 11.44 MB / 0.8262 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 (17): * Single equations (assignments): 17 * 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.0001434/0.3715, allocations: 125.8 kB / 1.065 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.823e-05/0.3716, allocations: 23.72 kB / 1.065 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001192/0.3728, allocations: 391.2 kB / 1.065 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.3728, allocations: 0 / 1.065 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.3728, allocations: 0 / 1.065 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.3728, allocations: 7.875 kB / 1.065 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003642/0.3732, allocations: 305.3 kB / 1.066 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3732, allocations: 0 / 1.066 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004041/0.3736, allocations: 59.92 kB / 1.066 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.3736, allocations: 7.984 kB / 1.066 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/0.3736, allocations: 0 / 1.066 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.3737, allocations: 0 / 1.066 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3737, allocations: 4 kB / 1.066 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.3748, allocations: 450.9 kB / 1.066 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001851/0.375, allocations: 120.7 kB / 1.066 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.371e-05/0.375, allocations: 4 kB / 1.066 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003414/0.3754, allocations: 39.94 kB / 1.066 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.72e-05/0.3755, allocations: 15.98 kB / 1.066 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.273e-05/0.3755, allocations: 11.92 kB / 1.066 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001588/0.3756, allocations: 183.1 kB / 1.067 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3756, allocations: 0 / 1.067 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003535/0.376, allocations: 71.92 kB / 1.067 GB, free: 9.555 MB / 0.8262 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 (13): * Single equations (assignments): 13 * 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.0002232/0.3762, allocations: 131.2 kB / 1.067 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001124/0.3774, allocations: 328.3 kB / 1.067 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.3774, allocations: 0 / 1.067 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005217/0.3779, allocations: 171.8 kB / 1.067 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004943/0.3784, allocations: 30.45 kB / 1.067 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.3795, allocations: 0.5542 MB / 1.068 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.3798, allocations: 0.7477 MB / 1.069 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002534/0.3801, allocations: 53.38 kB / 1.069 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.3802, allocations: 27.41 kB / 1.069 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of SimCode: time 3.71e-07/0.3802, allocations: 0 / 1.069 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of Templates: time 0.006253/0.3865, allocations: 2.934 MB / 1.071 GB, free: 4.562 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches