Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001813/0.001813, allocations: 83.69 kB / 20.24 MB, free: 4.184 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.002277/0.002277, allocations: 161.3 kB / 23.55 MB, free: 0.8672 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.65/1.65, allocations: 177.1 MB / 203.9 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.889/2.889, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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|solHeaGai.TFlu.1.|solHeaGai.TFlu.2.|solHeaGai.TFlu.3.|solHeaGai.QSol_flow.1.|solHeaGai.QSol_flow.2.|solHeaGai.QSol_flow.3.",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.7864 GB, free: 11.66 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.783e-05/3.922e-05, allocations: 2.312 kB / 0.7864 GB, free: 11.66 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003798/0.003837, allocations: 2.134 MB / 0.7885 GB, free: 9.535 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.005904/0.009741, allocations: 3.922 MB / 0.7923 GB, free: 5.609 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/0.009878, allocations: 5.531 kB / 0.7923 GB, free: 5.605 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.000316/0.01019, allocations: 63.44 kB / 0.7924 GB, free: 5.543 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003968/0.01059, allocations: 118.6 kB / 0.7925 GB, free: 5.43 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004899/0.01108, allocations: 203.4 kB / 0.7927 GB, free: 5.23 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004621/0.01154, allocations: 331.2 kB / 0.793 GB, free: 4.906 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.01168, allocations: 41.45 kB / 0.793 GB, free: 4.863 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003579/0.01204, allocations: 188.1 kB / 0.7932 GB, free: 4.68 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002058/0.01224, allocations: 116.4 kB / 0.7933 GB, free: 4.566 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.137e-05/0.01229, allocations: 20.97 kB / 0.7933 GB, free: 4.547 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002846/0.01258, allocations: 131.6 kB / 0.7935 GB, free: 4.418 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.915e-05/0.01267, allocations: 60.28 kB / 0.7935 GB, free: 4.359 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.01279, allocations: 83.75 kB / 0.7936 GB, free: 4.277 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005689/0.01336, allocations: 376.2 kB / 0.794 GB, free: 3.91 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.01337, allocations: 0 / 0.794 GB, free: 3.91 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.433e-06/0.01337, allocations: 0 / 0.794 GB, free: 3.91 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.71e-06/0.01337, allocations: 1.219 kB / 0.794 GB, free: 3.91 MB / 0.698 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.001381/0.01475, allocations: 0.6637 MB / 0.7946 GB, free: 3.211 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.01479, allocations: 8.969 kB / 0.7946 GB, free: 3.203 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001232/0.01602, allocations: 184.2 kB / 0.7948 GB, free: 3.031 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007349/0.01676, allocations: 278.7 kB / 0.7951 GB, free: 2.738 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.01678, allocations: 13.62 kB / 0.7951 GB, free: 2.727 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.425e-05/0.01682, allocations: 8.375 kB / 0.7951 GB, free: 2.719 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000547/0.01736, allocations: 188.4 kB / 0.7953 GB, free: 2.531 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.01737, allocations: 0 / 0.7953 GB, free: 2.531 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.424e-05/0.0174, allocations: 4 kB / 0.7953 GB, free: 2.527 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.0174, allocations: 4 kB / 0.7953 GB, free: 2.523 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007201/0.01812, allocations: 210.8 kB / 0.7955 GB, free: 2.32 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/0.01945, allocations: 0.5481 MB / 0.796 GB, free: 1.742 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004241/0.01987, allocations: 137.6 kB / 0.7961 GB, free: 1.598 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003615/0.02024, allocations: 115.6 kB / 0.7962 GB, free: 1.48 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006127/0.02085, allocations: 81.89 kB / 0.7963 GB, free: 1.402 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.184e-05/0.02089, allocations: 41.39 kB / 0.7964 GB, free: 1.352 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.02089, allocations: 1.062 kB / 0.7964 GB, free: 1.352 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.001297/0.02219, allocations: 380.7 kB / 0.7967 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/0.02225, allocations: 56.78 kB / 0.7968 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004235/0.02267, allocations: 374.2 kB / 0.7971 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.375e-05/0.0227, allocations: 29.7 kB / 0.7972 GB, free: 500 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.02289, allocations: 202.8 kB / 0.7974 GB, free: 292 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.5e-05/0.02295, allocations: 52.83 kB / 0.7974 GB, free: 240 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.02306, allocations: 43.34 kB / 0.7975 GB, free: 188 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0003256/0.02339, allocations: 0.5235 MB / 0.798 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000383/0.02377, allocations: 101.7 kB / 0.7981 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003633/0.02413, allocations: 115.9 kB / 0.7982 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007095/0.02484, allocations: 221.2 kB / 0.7984 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.02485, allocations: 0 / 0.7984 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008898/0.02574, allocations: 307.2 kB / 0.7987 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.02576, allocations: 8 kB / 0.7987 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.02576, allocations: 0 / 0.7987 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.02578, allocations: 0 / 0.7987 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003869/0.02617, allocations: 51.95 kB / 0.7987 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.02617, allocations: 0 / 0.7987 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002531/0.02643, allocations: 31.92 kB / 0.7988 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.747e-05/0.02645, allocations: 7.984 kB / 0.7988 GB, free: 14.82 MB / 0.7136 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.0001915/0.02665, allocations: 180.5 kB / 0.7989 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.598e-05/0.02672, allocations: 27.81 kB / 0.799 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009696/0.02769, allocations: 304.2 kB / 0.7993 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.0277, allocations: 4 kB / 0.7993 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.0277, allocations: 0 / 0.7993 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.0277, allocations: 0 / 0.7993 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003622/0.02807, allocations: 260.3 kB / 0.7995 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.02807, allocations: 0 / 0.7995 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003225/0.02839, allocations: 47.89 kB / 0.7996 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.02839, allocations: 0 / 0.7996 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.698e-05/0.02842, allocations: 7.984 kB / 0.7996 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.112e-06/0.02843, allocations: 7.984 kB / 0.7996 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.02843, allocations: 0 / 0.7996 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009393/0.02937, allocations: 435.2 kB / 0.8 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.02949, allocations: 47.78 kB / 0.8 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.616e-05/0.02954, allocations: 3.984 kB / 0.8 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002621/0.0298, allocations: 19.98 kB / 0.8001 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.064e-05/0.02989, allocations: 15.97 kB / 0.8001 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/0.02991, allocations: 7.984 kB / 0.8001 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002484/0.03016, allocations: 255 kB / 0.8003 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.1e-08/0.03016, allocations: 3.938 kB / 0.8003 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000371/0.03053, allocations: 75.8 kB / 0.8004 GB, free: 13.08 MB / 0.7136 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.0002636/0.0308, allocations: 131.2 kB / 0.8005 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008393/0.03164, allocations: 251.5 kB / 0.8008 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.03164, allocations: 4 kB / 0.8008 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004039/0.03204, allocations: 131.6 kB / 0.8009 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004112/0.03245, allocations: 50.69 kB / 0.8009 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.0336, allocations: 0.4918 MB / 0.8014 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001774/0.03378, allocations: 142.4 kB / 0.8016 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.000218/0.034, allocations: 41.44 kB / 0.8016 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.03411, allocations: 36.42 kB / 0.8016 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of SimCode: time 7.52e-07/0.03411, allocations: 0 / 0.8016 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of Templates: time 0.008602/0.04271, allocations: 3.492 MB / 0.805 GB, free: 8.316 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.052543880068697]