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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.438/2.438, allocations: 390.3 MB / 402.8 MB, free: 6.688 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 180 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.781/1.781, allocations: 221.3 MB / 0.7915 GB, free: 5.422 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009676/0.0009674, allocations: 102.5 kB / 0.9317 GB, free: 5.734 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.552e-05/4.556e-05, allocations: 6.578 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3479, allocations: 143 MB / 1.219 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.38/1.728, allocations: 376.1 MB / 1.586 GB, free: 9.711 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/1.728, allocations: 86.88 kB / 1.586 GB, free: 9.664 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 0.03142/1.76, allocations: 11.83 MB / 1.598 GB, free: 14.51 MB / 1.057 GB Notification: Performance of FrontEnd: time 1.553e-06/1.76, allocations: 0 / 1.598 GB, free: 14.51 MB / 1.057 GB Notification: Performance of Transformations before backend: time 1.756e-05/1.76, allocations: 4 kB / 1.598 GB, free: 14.51 MB / 1.057 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.00115/1.761, allocations: 0.6087 MB / 1.598 GB, free: 13.85 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/1.761, allocations: 16.02 kB / 1.598 GB, free: 13.84 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007739/1.762, allocations: 131.5 kB / 1.598 GB, free: 13.71 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008985/1.762, allocations: 332.1 kB / 1.599 GB, free: 13.34 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/1.763, allocations: 4.188 kB / 1.599 GB, free: 13.34 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.708e-05/1.763, allocations: 12 kB / 1.599 GB, free: 13.32 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003258/1.763, allocations: 159.8 kB / 1.599 GB, free: 13.16 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/1.763, allocations: 3.938 kB / 1.599 GB, free: 13.16 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.721e-05/1.763, allocations: 11.95 kB / 1.599 GB, free: 13.15 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/1.763, allocations: 4 kB / 1.599 GB, free: 13.14 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002885/1.763, allocations: 140.5 kB / 1.599 GB, free: 13.01 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/1.765, allocations: 0.5948 MB / 1.6 GB, free: 12.36 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/1.765, allocations: 98.56 kB / 1.6 GB, free: 12.26 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/1.765, allocations: 88.83 kB / 1.6 GB, free: 12.17 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006875/1.766, allocations: 0.5064 MB / 1.6 GB, free: 11.55 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/1.766, allocations: 42.55 kB / 1.6 GB, free: 11.5 MB / 1.057 GB Notification: Performance of pre-optimization done (n=13): time 1.492e-06/1.766, allocations: 0 / 1.6 GB, free: 11.5 MB / 1.057 GB Notification: Performance of matching and sorting (n=13): time 0.0004757/1.766, allocations: 209.2 kB / 1.601 GB, free: 11.29 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/1.766, allocations: 55.41 kB / 1.601 GB, free: 11.22 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002426/1.766, allocations: 222.8 kB / 1.601 GB, free: 11 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 3.888e-05/1.767, allocations: 29.7 kB / 1.601 GB, free: 10.96 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/1.767, allocations: 148 kB / 1.601 GB, free: 10.82 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 5.067e-05/1.767, allocations: 51.34 kB / 1.601 GB, free: 10.77 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.799e-05/1.767, allocations: 4 kB / 1.601 GB, free: 10.76 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001601/1.767, allocations: 342.7 kB / 1.601 GB, free: 10.42 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/1.767, allocations: 75.98 kB / 1.601 GB, free: 10.34 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/1.767, allocations: 79.97 kB / 1.602 GB, free: 10.27 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001907/1.767, allocations: 73.22 kB / 1.602 GB, free: 10.2 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/1.767, allocations: 0 / 1.602 GB, free: 10.2 MB / 1.057 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004323/1.768, allocations: 235.1 kB / 1.602 GB, free: 9.961 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/1.768, allocations: 4 kB / 1.602 GB, free: 9.957 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/1.768, allocations: 0 / 1.602 GB, free: 9.957 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/1.768, allocations: 4 kB / 1.602 GB, free: 9.953 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004715/1.768, allocations: 75.92 kB / 1.602 GB, free: 9.879 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/1.768, allocations: 4 kB / 1.602 GB, free: 9.875 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003321/1.769, allocations: 63.78 kB / 1.602 GB, free: 9.812 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.481e-05/1.769, allocations: 8 kB / 1.602 GB, free: 9.805 MB / 1.057 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001068/1.769, allocations: 120.9 kB / 1.602 GB, free: 9.68 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.164e-05/1.769, allocations: 23.72 kB / 1.602 GB, free: 9.656 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005021/1.769, allocations: 241 kB / 1.602 GB, free: 9.41 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/1.769, allocations: 4 kB / 1.602 GB, free: 9.406 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/1.769, allocations: 0 / 1.602 GB, free: 9.406 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/1.77, allocations: 4 kB / 1.602 GB, free: 9.402 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003437/1.77, allocations: 305.4 kB / 1.603 GB, free: 9.055 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/1.77, allocations: 0 / 1.603 GB, free: 9.055 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004132/1.77, allocations: 75.86 kB / 1.603 GB, free: 8.98 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/1.77, allocations: 7.984 kB / 1.603 GB, free: 8.973 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/1.77, allocations: 4 kB / 1.603 GB, free: 8.969 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/1.77, allocations: 4 kB / 1.603 GB, free: 8.965 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/1.77, allocations: 3.938 kB / 1.603 GB, free: 8.961 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004399/1.771, allocations: 314.4 kB / 1.603 GB, free: 8.641 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/1.771, allocations: 120.7 kB / 1.603 GB, free: 8.504 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.021e-05/1.771, allocations: 4 kB / 1.603 GB, free: 8.5 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000347/1.771, allocations: 51.95 kB / 1.603 GB, free: 8.449 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.316e-05/1.771, allocations: 15.97 kB / 1.603 GB, free: 8.434 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/1.771, allocations: 7.984 kB / 1.603 GB, free: 8.426 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0001732/1.772, allocations: 186.2 kB / 1.603 GB, free: 8.246 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.3e-07/1.772, allocations: 3.938 kB / 1.603 GB, free: 8.242 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0003789/1.772, allocations: 75.92 kB / 1.603 GB, free: 8.168 MB / 1.057 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004044/1.772, allocations: 185.7 kB / 1.604 GB, free: 7.98 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0004251/1.773, allocations: 191.9 kB / 1.604 GB, free: 7.793 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/1.773, allocations: 0 / 1.604 GB, free: 7.793 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0001796/1.773, allocations: 91.98 kB / 1.604 GB, free: 7.703 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/1.773, allocations: 45.48 kB / 1.604 GB, free: 7.656 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00073/1.774, allocations: 298.5 kB / 1.604 GB, free: 7.344 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004371/1.775, allocations: 0.7516 MB / 1.605 GB, free: 6.566 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0002553/1.775, allocations: 41.19 kB / 1.605 GB, free: 6.527 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/1.775, allocations: 23.41 kB / 1.605 GB, free: 6.504 MB / 1.057 GB Notification: Performance of SimCode: time 2.51e-07/1.775, allocations: 0 / 1.605 GB, free: 6.504 MB / 1.057 GB Notification: Performance of Templates: time 0.007929/1.783, allocations: 3.709 MB / 1.609 GB, free: 2.82 MB / 1.057 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","../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches