Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.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_10_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_10_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.001069/0.001069, allocations: 92.23 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 177.7 kB / 16.92 MB, free: 6.648 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.47/1.47, allocations: 223.3 MB / 241 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.722/2.722, allocations: 437.8 MB / 0.7128 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004162/0.0004165, allocations: 8 kB / 0.8735 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7327/0.7332, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002699/0.7359, allocations: 1.843 MB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00547/0.7414, allocations: 3.73 MB / 1.029 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002369/0.7417, allocations: 4 kB / 1.029 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000349/0.7421, allocations: 47.73 kB / 1.029 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005233/0.7426, allocations: 111.2 kB / 1.029 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004507/0.7431, allocations: 131.7 kB / 1.029 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004861/0.7436, allocations: 294.8 kB / 1.03 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.7438, allocations: 60.64 kB / 1.03 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003341/0.7441, allocations: 115.5 kB / 1.03 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002473/0.7444, allocations: 131.4 kB / 1.03 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.65e-05/0.7444, allocations: 12 kB / 1.03 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003054/0.7447, allocations: 119.8 kB / 1.03 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.742e-05/0.7448, allocations: 51.7 kB / 1.03 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001503/0.745, allocations: 137 kB / 1.03 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000309/0.7453, allocations: 223.5 kB / 1.031 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.7453, allocations: 0 / 1.031 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.382e-06/0.7453, allocations: 0 / 1.031 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.717e-06/0.7453, allocations: 0 / 1.031 GB, free: 8.832 MB / 0.7794 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.001278/0.7466, allocations: 0.6194 MB / 1.031 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.7467, allocations: 12.03 kB / 1.031 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/0.7477, allocations: 156.4 kB / 1.031 GB, free: 8 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007569/0.7484, allocations: 336.3 kB / 1.032 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.7485, allocations: 8.562 kB / 1.032 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.213e-05/0.7485, allocations: 15.94 kB / 1.032 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007414/0.7493, allocations: 250.6 kB / 1.032 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.7493, allocations: 0 / 1.032 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.7493, allocations: 4 kB / 1.032 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.7493, allocations: 4 kB / 1.032 GB, free: 7.348 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/0.7504, allocations: 339.7 kB / 1.032 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001352/0.7518, allocations: 0.5979 MB / 1.033 GB, free: 6.367 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006041/0.7524, allocations: 194.5 kB / 1.033 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005541/0.753, allocations: 188.7 kB / 1.033 GB, free: 5.98 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008981/0.7539, allocations: 0.5728 MB / 1.034 GB, free: 5.297 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.7539, allocations: 38.5 kB / 1.034 GB, free: 5.25 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.754, allocations: 3.938 kB / 1.034 GB, free: 5.246 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.001805/0.7558, allocations: 0.5676 MB / 1.034 GB, free: 4.672 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.7558, allocations: 51.41 kB / 1.034 GB, free: 4.609 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002611/0.7561, allocations: 268.5 kB / 1.035 GB, free: 4.34 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.247e-05/0.7561, allocations: 29.7 kB / 1.035 GB, free: 4.305 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.7562, allocations: 152 kB / 1.035 GB, free: 4.152 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.127e-05/0.7563, allocations: 47.36 kB / 1.035 GB, free: 4.105 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.912e-05/0.7563, allocations: 21.72 kB / 1.035 GB, free: 4.078 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.7565, allocations: 338.8 kB / 1.035 GB, free: 3.738 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005584/0.757, allocations: 175.9 kB / 1.035 GB, free: 3.566 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005636/0.7576, allocations: 185.8 kB / 1.036 GB, free: 3.387 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.7587, allocations: 348.6 kB / 1.036 GB, free: 3.043 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.7588, allocations: 0 / 1.036 GB, free: 3.043 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001267/0.76, allocations: 426.8 kB / 1.036 GB, free: 2.621 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.7601, allocations: 8 kB / 1.036 GB, free: 2.613 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.7601, allocations: 0 / 1.036 GB, free: 2.613 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.7601, allocations: 0 / 1.036 GB, free: 2.613 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004854/0.7606, allocations: 87.86 kB / 1.036 GB, free: 2.527 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.7606, allocations: 0 / 1.036 GB, free: 2.527 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003714/0.761, allocations: 67.72 kB / 1.036 GB, free: 2.461 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.928e-05/0.761, allocations: 4 kB / 1.036 GB, free: 2.457 MB / 0.7794 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.0001462/0.7612, allocations: 131.9 kB / 1.037 GB, free: 2.32 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.083e-05/0.7612, allocations: 27.72 kB / 1.037 GB, free: 2.293 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/0.7626, allocations: 439 kB / 1.037 GB, free: 1.863 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.7626, allocations: 4 kB / 1.037 GB, free: 1.859 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.7626, allocations: 0 / 1.037 GB, free: 1.859 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.7626, allocations: 7.922 kB / 1.037 GB, free: 1.852 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003589/0.763, allocations: 313.2 kB / 1.037 GB, free: 1.496 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.763, allocations: 3.984 kB / 1.037 GB, free: 1.492 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004083/0.7634, allocations: 79.92 kB / 1.037 GB, free: 1.414 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.7634, allocations: 0 / 1.037 GB, free: 1.414 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/0.7635, allocations: 7.984 kB / 1.037 GB, free: 1.406 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.7635, allocations: 0 / 1.037 GB, free: 1.406 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.7635, allocations: 4 kB / 1.037 GB, free: 1.402 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.7647, allocations: 0.495 MB / 1.038 GB, free: 0.8906 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.7648, allocations: 124.7 kB / 1.038 GB, free: 0.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.157e-05/0.7649, allocations: 4 kB / 1.038 GB, free: 0.7461 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000356/0.7653, allocations: 47.95 kB / 1.038 GB, free: 0.6992 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.736e-05/0.7653, allocations: 15.97 kB / 1.038 GB, free: 0.6836 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/0.7654, allocations: 15.92 kB / 1.038 GB, free: 0.668 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002189/0.7656, allocations: 187.1 kB / 1.038 GB, free: 496 kB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7656, allocations: 0 / 1.038 GB, free: 496 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003591/0.766, allocations: 71.94 kB / 1.038 GB, free: 424 kB / 0.7794 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.0002457/0.7662, allocations: 135.1 kB / 1.038 GB, free: 276 kB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001242/0.7675, allocations: 379.7 kB / 1.039 GB, free: 15.9 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.7675, allocations: 0 / 1.039 GB, free: 15.9 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0005841/0.7681, allocations: 195.8 kB / 1.039 GB, free: 15.71 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000461/0.7685, allocations: 42.06 kB / 1.039 GB, free: 15.67 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.7697, allocations: 0.6284 MB / 1.04 GB, free: 15.02 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.77, allocations: 0.7477 MB / 1.04 GB, free: 14.24 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.7701, allocations: 27.41 kB / 1.04 GB, free: 14.21 MB / 0.795 GB Notification: Performance of SimCode: time 3.11e-07/0.7702, allocations: 4 kB / 1.04 GB, free: 14.21 MB / 0.795 GB Notification: Performance of Templates: time 0.006651/0.7768, allocations: 3.683 MB / 1.044 GB, free: 10.55 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches