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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008629/0.0008629, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8842/0.8842, allocations: 177.1 MB / 203.5 MB, free: 5.398 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.762/1.762, allocations: 389.1 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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.ASHRAESolarGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.917e-05/4.092e-05, allocations: 2.281 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002768/0.002809, allocations: 2.105 MB / 1.003 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.004193/0.007002, allocations: 3.915 MB / 1.007 GB, free: 6.961 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.007148, allocations: 4 kB / 1.007 GB, free: 6.957 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0008476/0.007996, allocations: 179 kB / 1.007 GB, free: 6.781 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001501/0.008146, allocations: 87.16 kB / 1.007 GB, free: 6.695 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006393/0.008785, allocations: 345.7 kB / 1.007 GB, free: 6.359 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0005466/0.009332, allocations: 462.5 kB / 1.008 GB, free: 5.906 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.009443, allocations: 36.91 kB / 1.008 GB, free: 5.875 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002108/0.009654, allocations: 187.5 kB / 1.008 GB, free: 5.691 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.009789, allocations: 131.6 kB / 1.008 GB, free: 5.562 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.968e-05/0.009818, allocations: 20 kB / 1.008 GB, free: 5.543 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003973/0.01022, allocations: 323.4 kB / 1.008 GB, free: 5.227 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 9.684e-05/0.01031, allocations: 119.6 kB / 1.009 GB, free: 5.109 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 8.275e-05/0.0104, allocations: 107.7 kB / 1.009 GB, free: 5.004 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0005663/0.01096, allocations: 0.6425 MB / 1.009 GB, free: 4.359 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.01097, allocations: 3.938 kB / 1.009 GB, free: 4.355 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.292e-06/0.01097, allocations: 0 / 1.009 GB, free: 4.355 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.01097, allocations: 4 kB / 1.009 GB, free: 4.352 MB / 0.9636 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.0008701/0.01184, allocations: 0.7392 MB / 1.01 GB, free: 3.574 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.01188, allocations: 8.75 kB / 1.01 GB, free: 3.566 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009057/0.01279, allocations: 312.3 kB / 1.01 GB, free: 3.262 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005857/0.01337, allocations: 351.9 kB / 1.011 GB, free: 2.891 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.01339, allocations: 16.55 kB / 1.011 GB, free: 2.875 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.01341, allocations: 8.375 kB / 1.011 GB, free: 2.867 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000414/0.01383, allocations: 276.5 kB / 1.011 GB, free: 2.594 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.01384, allocations: 0 / 1.011 GB, free: 2.594 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.01386, allocations: 4 kB / 1.011 GB, free: 2.59 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.01386, allocations: 4 kB / 1.011 GB, free: 2.586 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005436/0.01441, allocations: 347.6 kB / 1.011 GB, free: 2.246 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008616/0.01527, allocations: 0.5976 MB / 1.012 GB, free: 1.617 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003262/0.01559, allocations: 218.4 kB / 1.012 GB, free: 1.395 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002745/0.01587, allocations: 184.7 kB / 1.012 GB, free: 1.211 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 5.228e-05/0.01592, allocations: 23.98 kB / 1.012 GB, free: 1.188 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.01594, allocations: 30.56 kB / 1.012 GB, free: 1.148 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/0.01594, allocations: 0 / 1.012 GB, free: 1.148 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13): time 0.001234/0.01718, allocations: 0.5949 MB / 1.013 GB, free: 0.5469 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.01721, allocations: 59.34 kB / 1.013 GB, free: 488 kB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003014/0.01751, allocations: 441.9 kB / 1.013 GB, free: 32 kB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.48e-05/0.01754, allocations: 29.75 kB / 1.013 GB, free: 15.99 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.01765, allocations: 200.4 kB / 1.014 GB, free: 15.8 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 3.846e-05/0.01769, allocations: 39.66 kB / 1.014 GB, free: 15.76 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.364e-05/0.01776, allocations: 53.67 kB / 1.014 GB, free: 15.7 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.457e-05/0.01786, allocations: 350.8 kB / 1.014 GB, free: 15.35 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003742/0.01823, allocations: 349.7 kB / 1.014 GB, free: 15 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003572/0.01859, allocations: 350 kB / 1.015 GB, free: 14.65 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006346/0.01922, allocations: 0.5343 MB / 1.015 GB, free: 14.11 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.01923, allocations: 0 / 1.015 GB, free: 14.11 MB / 0.9792 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008246/0.02005, allocations: 0.7793 MB / 1.016 GB, free: 13.31 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 3.332e-05/0.02008, allocations: 45.69 kB / 1.016 GB, free: 13.26 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.02009, allocations: 4 kB / 1.016 GB, free: 13.26 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.0201, allocations: 7.938 kB / 1.016 GB, free: 13.25 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002272/0.02033, allocations: 67.91 kB / 1.016 GB, free: 13.18 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.02033, allocations: 0 / 1.016 GB, free: 13.18 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001786/0.02051, allocations: 51.8 kB / 1.016 GB, free: 13.13 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.02053, allocations: 15.98 kB / 1.016 GB, free: 13.12 MB / 0.9792 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 (18): * Single equations (assignments): 17 * 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.000128/0.02066, allocations: 161.7 kB / 1.016 GB, free: 12.95 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.896e-05/0.0207, allocations: 39.72 kB / 1.016 GB, free: 12.91 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007088/0.02141, allocations: 468.1 kB / 1.017 GB, free: 12.45 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.02141, allocations: 4 kB / 1.017 GB, free: 12.45 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.02141, allocations: 4 kB / 1.017 GB, free: 12.45 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.02142, allocations: 3.984 kB / 1.017 GB, free: 12.44 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002535/0.02167, allocations: 289 kB / 1.017 GB, free: 12.13 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.02167, allocations: 0 / 1.017 GB, free: 12.13 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001786/0.02185, allocations: 67.84 kB / 1.017 GB, free: 12.06 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.02185, allocations: 0 / 1.017 GB, free: 12.06 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.02187, allocations: 11.98 kB / 1.017 GB, free: 12.05 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.02187, allocations: 0 / 1.017 GB, free: 12.05 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.02188, allocations: 4 kB / 1.017 GB, free: 12.05 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006302/0.02251, allocations: 0.5067 MB / 1.018 GB, free: 11.52 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 9.585e-05/0.0226, allocations: 67.67 kB / 1.018 GB, free: 11.46 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.115e-05/0.02263, allocations: 0 / 1.018 GB, free: 11.46 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.0228, allocations: 43.94 kB / 1.018 GB, free: 11.41 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.394e-05/0.02286, allocations: 15.97 kB / 1.018 GB, free: 11.4 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.02287, allocations: 4 kB / 1.018 GB, free: 11.39 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002081/0.02308, allocations: 315.1 kB / 1.018 GB, free: 11.09 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.02308, allocations: 0 / 1.018 GB, free: 11.09 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003701/0.02345, allocations: 123.8 kB / 1.018 GB, free: 10.97 MB / 0.9792 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.000284/0.02374, allocations: 198.8 kB / 1.018 GB, free: 10.77 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0008084/0.02454, allocations: 0.6413 MB / 1.019 GB, free: 10.11 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.02455, allocations: 4 kB / 1.019 GB, free: 10.11 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0002871/0.02483, allocations: 183.8 kB / 1.019 GB, free: 9.926 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.02517, allocations: 75.23 kB / 1.019 GB, free: 9.852 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.02621, allocations: 0.7195 MB / 1.02 GB, free: 9.098 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.02634, allocations: 191.5 kB / 1.02 GB, free: 8.891 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.02646, allocations: 36.45 kB / 1.02 GB, free: 8.855 MB / 0.9792 GB Notification: Performance of SimCode: time 7.61e-07/0.02646, allocations: 0 / 1.02 GB, free: 8.855 MB / 0.9792 GB Notification: Performance of Templates: time 0.005803/0.03226, allocations: 5.92 MB / 1.026 GB, free: 2.969 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.251943771727383]