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.001882/0.001882, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.003096/0.003096, allocations: 161.7 kB / 22.76 MB, free: 1.68 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 1.501/1.501, allocations: 177.1 MB / 203.1 MB, free: 5.258 MB / 186.7 MB " [Timeout remaining time 178] 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 3.211/3.211, allocations: 429.6 MB / 0.673 GB, free: 3.895 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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.733e-06/1.733e-06, allocations: 0 / 0.8776 GB, free: 6.484 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.896e-05/3.07e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.48 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003858/0.003888, allocations: 2.12 MB / 0.8797 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.006814/0.0107, allocations: 3.915 MB / 0.8835 GB, free: 464 kB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.01084, allocations: 7.938 kB / 0.8835 GB, free: 456 kB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0009092/0.01175, allocations: 169.1 kB / 0.8837 GB, free: 288 kB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002128/0.01196, allocations: 92.28 kB / 0.8838 GB, free: 196 kB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009054/0.01287, allocations: 343 kB / 0.8841 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0007722/0.01364, allocations: 458.5 kB / 0.8845 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.01379, allocations: 48.88 kB / 0.8846 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002861/0.01407, allocations: 179.6 kB / 0.8847 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002346/0.01431, allocations: 131.6 kB / 0.8849 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.766e-05/0.01435, allocations: 24 kB / 0.8849 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006291/0.01498, allocations: 331.4 kB / 0.8852 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001559/0.01514, allocations: 119.6 kB / 0.8853 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001538/0.01529, allocations: 103.7 kB / 0.8854 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0009306/0.01622, allocations: 0.6425 MB / 0.886 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.01623, allocations: 0 / 0.886 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.022e-06/0.01623, allocations: 0 / 0.886 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.01623, allocations: 0 / 0.886 GB, free: 13.84 MB / 0.8542 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.001681/0.01791, allocations: 0.7469 MB / 0.8868 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.01795, allocations: 12.03 kB / 0.8868 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002128/0.02008, allocations: 324.2 kB / 0.8871 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.02117, allocations: 348 kB / 0.8874 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.02119, allocations: 12.56 kB / 0.8874 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.099e-05/0.02123, allocations: 8.375 kB / 0.8874 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008288/0.02206, allocations: 277.7 kB / 0.8877 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.02207, allocations: 0 / 0.8877 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.659e-05/0.0221, allocations: 0 / 0.8877 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.0221, allocations: 4 kB / 0.8877 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001221/0.02332, allocations: 343.7 kB / 0.888 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001718/0.02504, allocations: 0.5977 MB / 0.8886 GB, free: 11.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006885/0.02573, allocations: 222.4 kB / 0.8888 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006008/0.02633, allocations: 184.7 kB / 0.889 GB, free: 10.69 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.683e-05/0.02639, allocations: 15.98 kB / 0.889 GB, free: 10.67 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/0.02643, allocations: 34.56 kB / 0.8891 GB, free: 10.63 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.02643, allocations: 0 / 0.8891 GB, free: 10.63 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.00234/0.02877, allocations: 0.5988 MB / 0.8896 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.02882, allocations: 55.41 kB / 0.8897 GB, free: 9.957 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006009/0.02942, allocations: 449.8 kB / 0.8901 GB, free: 9.516 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.563e-05/0.02947, allocations: 25.7 kB / 0.8902 GB, free: 9.484 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/0.02967, allocations: 200.5 kB / 0.8903 GB, free: 9.281 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.726e-05/0.02975, allocations: 47.59 kB / 0.8904 GB, free: 9.234 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.02988, allocations: 53.67 kB / 0.8904 GB, free: 9.176 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002443/0.03013, allocations: 350.8 kB / 0.8908 GB, free: 8.824 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008132/0.03094, allocations: 345.7 kB / 0.8911 GB, free: 8.48 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007894/0.03173, allocations: 343.1 kB / 0.8914 GB, free: 8.141 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001448/0.03318, allocations: 0.5432 MB / 0.892 GB, free: 7.59 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.03318, allocations: 0 / 0.892 GB, free: 7.59 MB / 0.8542 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001857/0.03504, allocations: 0.7868 MB / 0.8927 GB, free: 6.785 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.419e-05/0.0351, allocations: 41.69 kB / 0.8928 GB, free: 6.738 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.03511, allocations: 3.938 kB / 0.8928 GB, free: 6.734 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.03513, allocations: 4 kB / 0.8928 GB, free: 6.73 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005462/0.03567, allocations: 67.92 kB / 0.8928 GB, free: 6.664 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.03569, allocations: 3.984 kB / 0.8928 GB, free: 6.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004204/0.03611, allocations: 55.73 kB / 0.8929 GB, free: 6.605 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.819e-05/0.03614, allocations: 11.98 kB / 0.8929 GB, free: 6.594 MB / 0.8542 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.0002455/0.03639, allocations: 161.8 kB / 0.8931 GB, free: 6.426 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.0365, allocations: 43.72 kB / 0.8931 GB, free: 6.383 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00156/0.03806, allocations: 475.6 kB / 0.8936 GB, free: 5.914 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.03807, allocations: 0 / 0.8936 GB, free: 5.914 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.03807, allocations: 3.938 kB / 0.8936 GB, free: 5.91 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.03808, allocations: 3.984 kB / 0.8936 GB, free: 5.906 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004782/0.03855, allocations: 292.9 kB / 0.8938 GB, free: 5.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.03856, allocations: 0 / 0.8938 GB, free: 5.59 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004997/0.03906, allocations: 67.91 kB / 0.8939 GB, free: 5.523 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.03906, allocations: 0 / 0.8939 GB, free: 5.523 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.86e-05/0.03909, allocations: 8 kB / 0.8939 GB, free: 5.516 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.03909, allocations: 0 / 0.8939 GB, free: 5.516 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.03909, allocations: 3.984 kB / 0.8939 GB, free: 5.512 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001452/0.04054, allocations: 0.5184 MB / 0.8944 GB, free: 4.977 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001615/0.04071, allocations: 59.67 kB / 0.8945 GB, free: 4.918 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.891e-05/0.04077, allocations: 8 kB / 0.8945 GB, free: 4.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004168/0.04118, allocations: 31.95 kB / 0.8945 GB, free: 4.879 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.738e-05/0.04128, allocations: 23.97 kB / 0.8945 GB, free: 4.855 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.613e-05/0.04131, allocations: 7.984 kB / 0.8946 GB, free: 4.848 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004167/0.04172, allocations: 307.1 kB / 0.8948 GB, free: 4.547 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.1e-07/0.04172, allocations: 4 kB / 0.8948 GB, free: 4.543 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005404/0.04226, allocations: 131.8 kB / 0.895 GB, free: 4.414 MB / 0.8542 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.0004111/0.04267, allocations: 190.9 kB / 0.8952 GB, free: 4.215 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001709/0.04438, allocations: 0.6373 MB / 0.8958 GB, free: 3.559 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.04438, allocations: 0 / 0.8958 GB, free: 3.559 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000682/0.04507, allocations: 187.8 kB / 0.896 GB, free: 3.375 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005649/0.04563, allocations: 69.8 kB / 0.896 GB, free: 3.309 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001755/0.04739, allocations: 0.6999 MB / 0.8967 GB, free: 2.582 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.04763, allocations: 195.5 kB / 0.8969 GB, free: 2.367 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003183/0.04795, allocations: 73.91 kB / 0.897 GB, free: 2.297 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.0481, allocations: 36.47 kB / 0.897 GB, free: 2.262 MB / 0.8542 GB Notification: Performance of SimCode: time 5.71e-07/0.0481, allocations: 0 / 0.897 GB, free: 2.262 MB / 0.8542 GB Notification: Performance of Templates: time 0.01257/0.06067, allocations: 5.81 MB / 0.9027 GB, free: 12.54 MB / 0.8698 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: 8.345858874032274]