Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00173/0.00173, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001914/0.001914, allocations: 193.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 225.6 MB / 248.5 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.626/2.626, allocations: 443.5 MB / 0.7293 GB, free: 14.53 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,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_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,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_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 71.88 kB / 1.057 GB, free: 2.012 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3578, allocations: 160.7 MB / 1.214 GB, free: 0.9805 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003493/0.3613, allocations: 2.026 MB / 1.216 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004834/0.3662, allocations: 3.716 MB / 1.22 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.3663, allocations: 0 / 1.22 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003056/0.3666, allocations: 59.5 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003379/0.3669, allocations: 107.3 kB / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000379/0.3673, allocations: 123.7 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003458/0.3677, allocations: 259 kB / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.3678, allocations: 40.39 kB / 1.22 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002184/0.368, allocations: 115.5 kB / 1.22 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.3682, allocations: 111.5 kB / 1.22 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.639e-05/0.3682, allocations: 19.94 kB / 1.22 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002357/0.3685, allocations: 115.8 kB / 1.221 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.666e-05/0.3685, allocations: 47.83 kB / 1.221 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.3686, allocations: 99.39 kB / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004022/0.369, allocations: 286.8 kB / 1.221 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.369, allocations: 0 / 1.221 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.133e-06/0.369, allocations: 0 / 1.221 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.3691, allocations: 0 / 1.221 GB, free: 9.836 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001291/0.3703, allocations: 0.5954 MB / 1.222 GB, free: 9.191 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.3704, allocations: 8.031 kB / 1.222 GB, free: 9.184 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.339e-05/0.3705, allocations: 24.8 kB / 1.222 GB, free: 9.16 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004888/0.371, allocations: 267.8 kB / 1.222 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.371, allocations: 8.375 kB / 1.222 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.873e-05/0.371, allocations: 12.36 kB / 1.222 GB, free: 8.844 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005299/0.3715, allocations: 175.7 kB / 1.222 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.3715, allocations: 0 / 1.222 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.091e-05/0.3716, allocations: 4 kB / 1.222 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/0.3716, allocations: 7.984 kB / 1.222 GB, free: 8.656 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000706/0.3723, allocations: 191.8 kB / 1.222 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009386/0.3732, allocations: 492.4 kB / 1.223 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004168/0.3736, allocations: 118.5 kB / 1.223 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003635/0.374, allocations: 104.8 kB / 1.223 GB, free: 7.707 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009448/0.3749, allocations: 0.5532 MB / 1.223 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.375, allocations: 30.56 kB / 1.223 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.302e-06/0.375, allocations: 0 / 1.223 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.001264/0.3763, allocations: 353.5 kB / 1.224 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.3763, allocations: 55.41 kB / 1.224 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002622/0.3766, allocations: 238.7 kB / 1.224 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.3766, allocations: 29.7 kB / 1.224 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.3767, allocations: 140.1 kB / 1.224 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.998e-05/0.3768, allocations: 31.7 kB / 1.224 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.364e-05/0.3768, allocations: 33.69 kB / 1.224 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.377, allocations: 334.8 kB / 1.225 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003556/0.3773, allocations: 91.91 kB / 1.225 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003491/0.3777, allocations: 104.2 kB / 1.225 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006784/0.3784, allocations: 200.8 kB / 1.225 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3784, allocations: 0 / 1.225 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007986/0.3792, allocations: 261.3 kB / 1.225 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.3792, allocations: 5.875 kB / 1.225 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.3792, allocations: 0 / 1.225 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.3792, allocations: 0 / 1.225 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003237/0.3795, allocations: 47.94 kB / 1.225 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.3796, allocations: 7.875 kB / 1.225 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002214/0.3798, allocations: 35.86 kB / 1.225 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.3798, allocations: 3.984 kB / 1.225 GB, free: 5.008 MB / 0.9669 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 (11): * Single equations (assignments): 11 * 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.0001556/0.3799, allocations: 129.8 kB / 1.225 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.728e-05/0.38, allocations: 23.86 kB / 1.226 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009275/0.3809, allocations: 275.2 kB / 1.226 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.3809, allocations: 0 / 1.226 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.3809, allocations: 7.938 kB / 1.226 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.381, allocations: 4 kB / 1.226 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003566/0.3813, allocations: 277.4 kB / 1.226 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3813, allocations: 0 / 1.226 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002898/0.3816, allocations: 51.88 kB / 1.226 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.3816, allocations: 0 / 1.226 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.3816, allocations: 7.938 kB / 1.226 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3816, allocations: 0 / 1.226 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.3816, allocations: 3.938 kB / 1.226 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008561/0.3825, allocations: 351.2 kB / 1.226 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.3826, allocations: 116.9 kB / 1.227 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.569e-05/0.3826, allocations: 4 kB / 1.227 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002476/0.3829, allocations: 31.95 kB / 1.227 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.491e-05/0.383, allocations: 19.92 kB / 1.227 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.383, allocations: 3.984 kB / 1.227 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001677/0.3832, allocations: 170 kB / 1.227 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3832, allocations: 0 / 1.227 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003319/0.3835, allocations: 59.83 kB / 1.227 GB, free: 3.406 MB / 0.9669 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 (11): * Single equations (assignments): 11 * 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.0002614/0.3838, allocations: 139 kB / 1.227 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0008303/0.3846, allocations: 207.8 kB / 1.227 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3846, allocations: 0 / 1.227 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003863/0.385, allocations: 112.4 kB / 1.227 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004551/0.3854, allocations: 40.67 kB / 1.227 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009463/0.3864, allocations: 459.7 kB / 1.228 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.3867, allocations: 0.7314 MB / 1.228 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.3868, allocations: 27.41 kB / 1.228 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of SimCode: time 5.51e-07/0.3868, allocations: 4 kB / 1.229 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of Templates: time 0.005631/0.3925, allocations: 3.001 MB / 1.231 GB, free: 14.65 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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: 10.799209455028176]