Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001638/0.001638, allocations: 79.28 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002181/0.002181, allocations: 163.2 kB / 22.46 MB, free: 5.375 MB / 14.72 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.595/1.595, allocations: 177.1 MB / 202.8 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] 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 2.854/2.854, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] 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.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_12_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_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.641e-05/2.861e-05, allocations: 6.281 kB / 0.9814 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003712/0.00374, allocations: 2.109 MB / 0.9835 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006598/0.01034, allocations: 3.923 MB / 0.9873 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001917/0.01053, allocations: 4 kB / 0.9873 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.01153, allocations: 187 kB / 0.9875 GB, free: 5.727 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002966/0.01183, allocations: 91.16 kB / 0.9876 GB, free: 5.637 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009738/0.0128, allocations: 335 kB / 0.9879 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001072/0.01387, allocations: 462.5 kB / 0.9884 GB, free: 4.855 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.01405, allocations: 32.92 kB / 0.9884 GB, free: 4.824 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005287/0.01458, allocations: 191.5 kB / 0.9886 GB, free: 4.637 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00032/0.0149, allocations: 127.6 kB / 0.9887 GB, free: 4.512 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.212e-05/0.01499, allocations: 20 kB / 0.9887 GB, free: 4.492 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000979/0.01597, allocations: 331.4 kB / 0.989 GB, free: 4.168 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001897/0.01616, allocations: 119.6 kB / 0.9891 GB, free: 4.051 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002246/0.01638, allocations: 107.7 kB / 0.9892 GB, free: 3.945 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001241/0.01762, allocations: 0.6387 MB / 0.9899 GB, free: 3.305 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.01763, allocations: 0 / 0.9899 GB, free: 3.305 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.094e-06/0.01763, allocations: 0 / 0.9899 GB, free: 3.305 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.01764, allocations: 0 / 0.9899 GB, free: 3.305 MB / 0.9356 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.002196/0.01984, allocations: 0.7431 MB / 0.9906 GB, free: 2.523 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.01988, allocations: 12.03 kB / 0.9906 GB, free: 2.512 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002179/0.02206, allocations: 240.4 kB / 0.9908 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/0.02346, allocations: 347.9 kB / 0.9912 GB, free: 1.914 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.669e-05/0.02348, allocations: 8.562 kB / 0.9912 GB, free: 1.906 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.336e-05/0.02354, allocations: 12.38 kB / 0.9912 GB, free: 1.895 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.02466, allocations: 249.8 kB / 0.9914 GB, free: 1.645 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.02467, allocations: 0 / 0.9914 GB, free: 1.645 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.557e-05/0.02471, allocations: 7.938 kB / 0.9914 GB, free: 1.637 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-06/0.02471, allocations: 0 / 0.9914 GB, free: 1.637 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001728/0.02644, allocations: 335.6 kB / 0.9917 GB, free: 1.309 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002164/0.02861, allocations: 0.582 MB / 0.9923 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.02966, allocations: 218.4 kB / 0.9925 GB, free: 484 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008857/0.03055, allocations: 168.7 kB / 0.9927 GB, free: 312 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.865e-05/0.03063, allocations: 15.98 kB / 0.9927 GB, free: 296 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.548e-05/0.03067, allocations: 38.56 kB / 0.9927 GB, free: 248 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 2.345e-06/0.03068, allocations: 4 kB / 0.9927 GB, free: 244 kB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.00296/0.03364, allocations: 0.5595 MB / 0.9933 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/0.03369, allocations: 59.34 kB / 0.9933 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000778/0.03447, allocations: 453.8 kB / 0.9938 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.55e-05/0.03453, allocations: 29.7 kB / 0.9938 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002456/0.03477, allocations: 196.4 kB / 0.994 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.341e-05/0.03486, allocations: 47.62 kB / 0.994 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/0.03504, allocations: 49.69 kB / 0.9941 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002576/0.0353, allocations: 350.8 kB / 0.9944 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/0.03644, allocations: 337.7 kB / 0.9947 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001147/0.03758, allocations: 342 kB / 0.9951 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002094/0.03968, allocations: 0.5225 MB / 0.9956 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.03968, allocations: 0 / 0.9956 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.002641/0.04232, allocations: 0.7623 MB / 0.9963 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 7.161e-05/0.0424, allocations: 45.69 kB / 0.9964 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.0424, allocations: 0 / 0.9964 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.04242, allocations: 0 / 0.9964 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007202/0.04314, allocations: 71.91 kB / 0.9964 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.04315, allocations: 0 / 0.9964 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000594/0.04374, allocations: 47.8 kB / 0.9965 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.068e-05/0.04379, allocations: 15.98 kB / 0.9965 GB, free: 12.29 MB / 0.9512 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.0003032/0.0441, allocations: 161.7 kB / 0.9967 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.04422, allocations: 43.7 kB / 0.9967 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002121/0.04634, allocations: 444.8 kB / 0.9971 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.04635, allocations: 0 / 0.9971 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.445e-06/0.04635, allocations: 3.984 kB / 0.9971 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.04636, allocations: 4 kB / 0.9971 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006044/0.04697, allocations: 281.1 kB / 0.9974 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.04697, allocations: 4 kB / 0.9974 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006367/0.0476, allocations: 59.86 kB / 0.9975 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.04761, allocations: 4 kB / 0.9975 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.883e-05/0.04765, allocations: 3.984 kB / 0.9975 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.04765, allocations: 0 / 0.9975 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.04765, allocations: 0 / 0.9975 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002007/0.04966, allocations: 0.5028 MB / 0.998 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002141/0.04987, allocations: 63.67 kB / 0.998 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.497e-05/0.04996, allocations: 4 kB / 0.998 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005867/0.05055, allocations: 35.95 kB / 0.9981 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.05068, allocations: 15.97 kB / 0.9981 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.856e-05/0.05072, allocations: 7.984 kB / 0.9981 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005485/0.05127, allocations: 311.1 kB / 0.9984 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.05127, allocations: 4 kB / 0.9984 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0008284/0.0521, allocations: 131.8 kB / 0.9985 GB, free: 10.18 MB / 0.9512 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.0005524/0.05265, allocations: 186.9 kB / 0.9987 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002289/0.05494, allocations: 0.6218 MB / 0.9993 GB, free: 9.344 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.05494, allocations: 0 / 0.9993 GB, free: 9.344 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009163/0.05586, allocations: 183.8 kB / 0.9995 GB, free: 9.164 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007162/0.05657, allocations: 67.44 kB / 0.9995 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001965/0.05854, allocations: 0.6865 MB / 1 GB, free: 8.387 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.05882, allocations: 191.5 kB / 1 GB, free: 8.18 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000341/0.05916, allocations: 61.89 kB / 1 GB, free: 8.121 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001796/0.05934, allocations: 28.48 kB / 1 GB, free: 8.09 MB / 0.9512 GB Notification: Performance of SimCode: time 6.92e-07/0.05934, allocations: 0 / 1 GB, free: 8.09 MB / 0.9512 GB Notification: Performance of Templates: time 0.0168/0.07614, allocations: 5.68 MB / 1.006 GB, free: 2.496 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.585162337869406]