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.001365/0.001365, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001421/0.001421, allocations: 186 kB / 20.78 MB, free: 1.547 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.519/1.519, allocations: 225.6 MB / 249.4 MB, free: 3.176 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.674/2.674, allocations: 443.5 MB / 0.7304 GB, free: 13.9 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.002004/0.002004, allocations: 72.12 kB / 1.059 GB, free: 396 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3423, allocations: 160.7 MB / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.004263/0.3465, allocations: 2.046 MB / 1.218 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005674/0.3522, allocations: 3.743 MB / 1.222 GB, free: 9.527 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001745/0.3524, allocations: 0 / 1.222 GB, free: 9.527 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003456/0.3527, allocations: 51.56 kB / 1.222 GB, free: 9.477 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004267/0.3532, allocations: 111.3 kB / 1.222 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005052/0.3537, allocations: 127.6 kB / 1.222 GB, free: 9.242 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004984/0.3542, allocations: 255 kB / 1.222 GB, free: 8.992 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.3543, allocations: 36.39 kB / 1.222 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002998/0.3546, allocations: 111.6 kB / 1.222 GB, free: 8.844 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002142/0.3548, allocations: 119.5 kB / 1.223 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.723e-05/0.3549, allocations: 16 kB / 1.223 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002798/0.3552, allocations: 115.8 kB / 1.223 GB, free: 8.598 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.636e-05/0.3552, allocations: 43.84 kB / 1.223 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.3554, allocations: 99.38 kB / 1.223 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004735/0.3559, allocations: 286.8 kB / 1.223 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.3559, allocations: 3.984 kB / 1.223 GB, free: 8.172 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3559, allocations: 0 / 1.223 GB, free: 8.172 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.3559, allocations: 0 / 1.223 GB, free: 8.172 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.001409/0.3573, allocations: 0.5915 MB / 1.224 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.3573, allocations: 8.031 kB / 1.224 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.374e-05/0.3574, allocations: 32.73 kB / 1.224 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00049/0.3579, allocations: 271.8 kB / 1.224 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.3579, allocations: 8.328 kB / 1.224 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.3579, allocations: 8.375 kB / 1.224 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005476/0.3585, allocations: 169.7 kB / 1.224 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.3585, allocations: 0 / 1.224 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.328e-05/0.3585, allocations: 8 kB / 1.224 GB, free: 6.996 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.3585, allocations: 0 / 1.224 GB, free: 6.996 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006938/0.3592, allocations: 195.8 kB / 1.224 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009958/0.3602, allocations: 488.4 kB / 1.225 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004003/0.3606, allocations: 122.5 kB / 1.225 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003392/0.361, allocations: 100.8 kB / 1.225 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001065/0.362, allocations: 0.5573 MB / 1.226 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/0.3621, allocations: 38.44 kB / 1.226 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.273e-06/0.3621, allocations: 0 / 1.226 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.001195/0.3633, allocations: 353.5 kB / 1.226 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.701e-05/0.3633, allocations: 55.41 kB / 1.226 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002613/0.3636, allocations: 234.7 kB / 1.226 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.3636, allocations: 29.7 kB / 1.226 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.3637, allocations: 140.1 kB / 1.226 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.705e-05/0.3638, allocations: 31.7 kB / 1.226 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.073e-05/0.3638, allocations: 33.69 kB / 1.226 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.364, allocations: 326.8 kB / 1.227 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003368/0.3644, allocations: 99.84 kB / 1.227 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003196/0.3647, allocations: 95.91 kB / 1.227 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006434/0.3653, allocations: 205.2 kB / 1.227 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3653, allocations: 0 / 1.227 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007512/0.3661, allocations: 257.4 kB / 1.227 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.3661, allocations: 11.94 kB / 1.227 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.3661, allocations: 0 / 1.227 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.3661, allocations: 0 / 1.227 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003058/0.3664, allocations: 47.94 kB / 1.227 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.3664, allocations: 7.875 kB / 1.227 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/0.3666, allocations: 31.86 kB / 1.227 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.3667, allocations: 7.984 kB / 1.227 GB, free: 3.336 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.0001333/0.3668, allocations: 125.8 kB / 1.228 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.935e-05/0.3669, allocations: 23.86 kB / 1.228 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008564/0.3677, allocations: 279.1 kB / 1.228 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.3677, allocations: 4 kB / 1.228 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.3677, allocations: 3.938 kB / 1.228 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.3677, allocations: 4 kB / 1.228 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003839/0.3681, allocations: 281.3 kB / 1.228 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.3681, allocations: 3.938 kB / 1.228 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002862/0.3684, allocations: 43.89 kB / 1.228 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/0.3684, allocations: 4 kB / 1.228 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.3684, allocations: 3.984 kB / 1.228 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.3684, allocations: 4 kB / 1.228 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.3684, allocations: 3.938 kB / 1.228 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000828/0.3693, allocations: 355.2 kB / 1.229 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.3694, allocations: 116.9 kB / 1.229 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.551e-05/0.3694, allocations: 0 / 1.229 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/0.3697, allocations: 31.95 kB / 1.229 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.539e-05/0.3698, allocations: 19.86 kB / 1.229 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.3698, allocations: 7.984 kB / 1.229 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001708/0.37, allocations: 170 kB / 1.229 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.37, allocations: 3.938 kB / 1.229 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000351/0.3703, allocations: 59.83 kB / 1.229 GB, free: 1.727 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.000272/0.3706, allocations: 127.2 kB / 1.229 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0007819/0.3714, allocations: 207.8 kB / 1.229 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3714, allocations: 3.938 kB / 1.229 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000373/0.3717, allocations: 107.9 kB / 1.229 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000439/0.3722, allocations: 34.44 kB / 1.229 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009811/0.3732, allocations: 436.5 kB / 1.23 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003983/0.3736, allocations: 0.7353 MB / 1.231 GB, free: 32 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001849/0.3737, allocations: 36.89 kB / 1.231 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.95e-05/0.3738, allocations: 23.38 kB / 1.231 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.3738, allocations: 4 kB / 1.231 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of Templates: time 0.007294/0.3811, allocations: 2.753 MB / 1.233 GB, free: 13.23 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.372801548801363]