Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.0009513/0.0009513, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0007982/0.0007982, allocations: 173.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.8823/0.8823, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.756/1.756, allocations: 377.8 MB / 0.6228 GB, free: 8.676 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos_flow.1.|heaLos.QLos_flow.2.|heaLos.QLos_flow.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos_flow.1.|heaLos.QLos_flow.2.|heaLos.QLos_flow.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 0.9822 GB, free: 0.9453 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.476e-05/2.655e-05, allocations: 5.234 kB / 0.9822 GB, free: 0.9414 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002127/0.002153, allocations: 1.837 MB / 0.984 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.002967/0.00512, allocations: 3.397 MB / 0.9873 GB, free: 11.68 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.088e-05/0.005201, allocations: 7.938 kB / 0.9873 GB, free: 11.67 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0006285/0.005829, allocations: 163.2 kB / 0.9875 GB, free: 11.51 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001458/0.005975, allocations: 87.33 kB / 0.9876 GB, free: 11.43 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 7.982e-05/0.006055, allocations: 51.92 kB / 0.9876 GB, free: 11.38 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.000375/0.00643, allocations: 275 kB / 0.9879 GB, free: 11.11 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003896/0.006819, allocations: 21.8 kB / 0.9879 GB, free: 11.09 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.006923, allocations: 95.78 kB / 0.988 GB, free: 10.99 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.00703, allocations: 67.8 kB / 0.988 GB, free: 10.93 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.00705, allocations: 8 kB / 0.9881 GB, free: 10.92 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.566e-05/0.007115, allocations: 35.73 kB / 0.9881 GB, free: 10.88 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 6.175e-05/0.007177, allocations: 55.83 kB / 0.9881 GB, free: 10.83 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.757e-05/0.007225, allocations: 51.86 kB / 0.9882 GB, free: 10.78 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.007431, allocations: 195.3 kB / 0.9884 GB, free: 10.59 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.007433, allocations: 0 / 0.9884 GB, free: 10.59 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.382e-06/0.007434, allocations: 4 kB / 0.9884 GB, free: 10.58 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.007439, allocations: 0 / 0.9884 GB, free: 10.58 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005596/0.007999, allocations: 468.8 kB / 0.9888 GB, free: 10.09 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.008035, allocations: 8.031 kB / 0.9888 GB, free: 10.09 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002001/0.008236, allocations: 56.75 kB / 0.9889 GB, free: 10.03 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.008489, allocations: 204.8 kB / 0.9891 GB, free: 9.809 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.008499, allocations: 4.375 kB / 0.9891 GB, free: 9.805 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.008513, allocations: 4.375 kB / 0.9891 GB, free: 9.801 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002154/0.008728, allocations: 134.1 kB / 0.9892 GB, free: 9.664 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.008739, allocations: 4.188 kB / 0.9892 GB, free: 9.66 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.008759, allocations: 12.11 kB / 0.9892 GB, free: 9.648 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-05/0.008781, allocations: 11.98 kB / 0.9892 GB, free: 9.637 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002272/0.009008, allocations: 142 kB / 0.9894 GB, free: 9.5 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004471/0.009455, allocations: 368.3 kB / 0.9897 GB, free: 9.109 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002365/0.009692, allocations: 158.4 kB / 0.9899 GB, free: 8.945 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.009827, allocations: 96.78 kB / 0.99 GB, free: 8.848 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.009843, allocations: 0 / 0.99 GB, free: 8.848 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.009864, allocations: 38.5 kB / 0.99 GB, free: 8.801 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=13): time 1.032e-06/0.009865, allocations: 0 / 0.99 GB, free: 8.801 MB / 0.9011 GB Notification: Performance of matching and sorting (n=13): time 0.0004807/0.01035, allocations: 284.2 kB / 0.9903 GB, free: 8.52 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.01038, allocations: 55.41 kB / 0.9903 GB, free: 8.453 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.01054, allocations: 245.9 kB / 0.9906 GB, free: 8.199 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.01056, allocations: 29.7 kB / 0.9906 GB, free: 8.164 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 6.699e-05/0.01062, allocations: 132.1 kB / 0.9907 GB, free: 8.031 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 3.812e-05/0.01066, allocations: 51.62 kB / 0.9908 GB, free: 7.98 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.454e-05/0.01071, allocations: 33.7 kB / 0.9908 GB, free: 7.941 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.381e-05/0.0108, allocations: 330.8 kB / 0.9911 GB, free: 7.609 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.01092, allocations: 71.94 kB / 0.9912 GB, free: 7.539 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.01103, allocations: 67.88 kB / 0.9913 GB, free: 7.473 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002339/0.01126, allocations: 164.7 kB / 0.9914 GB, free: 7.309 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.01126, allocations: 0 / 0.9914 GB, free: 7.309 MB / 0.9011 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002835/0.01155, allocations: 218.1 kB / 0.9916 GB, free: 7.09 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.01156, allocations: 4 kB / 0.9916 GB, free: 7.086 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.01156, allocations: 0 / 0.9916 GB, free: 7.086 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.01157, allocations: 0 / 0.9916 GB, free: 7.086 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.0117, allocations: 43.89 kB / 0.9917 GB, free: 7.043 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.0117, allocations: 7.938 kB / 0.9917 GB, free: 7.035 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.351e-05/0.01176, allocations: 15.92 kB / 0.9917 GB, free: 7.02 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.01177, allocations: 0 / 0.9917 GB, free: 7.02 MB / 0.9011 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 (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 prepare postOptimizeDAE: time 8.852e-05/0.01186, allocations: 145.8 kB / 0.9918 GB, free: 6.867 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.657e-05/0.01189, allocations: 23.8 kB / 0.9919 GB, free: 6.844 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.584e-05/0.01192, allocations: 29.77 kB / 0.9919 GB, free: 6.816 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.01193, allocations: 4 kB / 0.9919 GB, free: 6.812 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.01193, allocations: 3.938 kB / 0.9919 GB, free: 6.809 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.01194, allocations: 0 / 0.9919 GB, free: 6.809 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001696/0.0121, allocations: 189.2 kB / 0.9921 GB, free: 6.594 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.01211, allocations: 0 / 0.9921 GB, free: 6.594 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.664e-05/0.01219, allocations: 47.83 kB / 0.9921 GB, free: 6.547 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.01219, allocations: 4 kB / 0.9921 GB, free: 6.543 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.01221, allocations: 8 kB / 0.9921 GB, free: 6.535 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.01221, allocations: 0 / 0.9921 GB, free: 6.535 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01221, allocations: 0 / 0.9921 GB, free: 6.535 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003131/0.01252, allocations: 306.8 kB / 0.9924 GB, free: 6.223 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 4.981e-05/0.01257, allocations: 43.7 kB / 0.9925 GB, free: 6.18 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.01259, allocations: 4 kB / 0.9925 GB, free: 6.176 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.781e-05/0.01267, allocations: 19.98 kB / 0.9925 GB, free: 6.156 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.587e-05/0.01271, allocations: 7.984 kB / 0.9925 GB, free: 6.148 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.01272, allocations: 3.984 kB / 0.9925 GB, free: 6.145 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001065/0.01283, allocations: 181.2 kB / 0.9927 GB, free: 5.969 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.01283, allocations: 0 / 0.9927 GB, free: 5.969 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001829/0.01301, allocations: 36 kB / 0.9927 GB, free: 5.934 MB / 0.9011 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.0001283/0.01314, allocations: 115.1 kB / 0.9928 GB, free: 5.812 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0002912/0.01343, allocations: 167.9 kB / 0.993 GB, free: 5.648 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.01343, allocations: 0 / 0.993 GB, free: 5.648 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.01355, allocations: 83.88 kB / 0.993 GB, free: 5.566 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.01383, allocations: 56.36 kB / 0.9931 GB, free: 5.512 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006132/0.01444, allocations: 460.8 kB / 0.9935 GB, free: 5.027 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.477e-05/0.01453, allocations: 132.1 kB / 0.9937 GB, free: 4.879 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.508e-05/0.01459, allocations: 24.48 kB / 0.9937 GB, free: 4.855 MB / 0.9011 GB Notification: Performance of SimCode: time 5.51e-07/0.01459, allocations: 0 / 0.9937 GB, free: 4.855 MB / 0.9011 GB Notification: Performance of Templates: time 0.003576/0.01817, allocations: 2.785 MB / 0.9964 GB, free: 2.102 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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: 6.671445406973362]