Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.0013/0.0013, allocations: 110.5 kB / 17.6 MB, free: 4.684 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.001391/0.001391, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.461/1.461, allocations: 225.6 MB / 249.4 MB, free: 3.305 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.562/2.562, allocations: 443.4 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.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 71.89 kB / 1.059 GB, free: 396 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3603, allocations: 160.7 MB / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003872/0.3642, allocations: 1.947 MB / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005128/0.3693, allocations: 3.498 MB / 1.221 GB, free: 9.875 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.3695, allocations: 0 / 1.221 GB, free: 9.875 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000329/0.3698, allocations: 55.62 kB / 1.221 GB, free: 9.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0006168/0.3704, allocations: 131.3 kB / 1.222 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001026/0.3705, allocations: 23.97 kB / 1.222 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003081/0.3708, allocations: 179.2 kB / 1.222 GB, free: 9.492 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.371, allocations: 21.67 kB / 1.222 GB, free: 9.469 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002061/0.3712, allocations: 79.69 kB / 1.222 GB, free: 9.391 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001986/0.3714, allocations: 87.5 kB / 1.222 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.242e-05/0.3714, allocations: 8 kB / 1.222 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.82e-05/0.3715, allocations: 39.97 kB / 1.222 GB, free: 9.258 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.376e-05/0.3716, allocations: 43.77 kB / 1.222 GB, free: 9.215 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.3717, allocations: 75.55 kB / 1.222 GB, free: 9.141 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002838/0.372, allocations: 171.1 kB / 1.222 GB, free: 8.973 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.372, allocations: 0 / 1.222 GB, free: 8.973 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.323e-06/0.372, allocations: 0 / 1.222 GB, free: 8.973 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.372, allocations: 0 / 1.222 GB, free: 8.973 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001181/0.3732, allocations: 0.5177 MB / 1.223 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.3732, allocations: 8.031 kB / 1.223 GB, free: 8.398 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.942e-05/0.3733, allocations: 16.84 kB / 1.223 GB, free: 8.383 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004152/0.3737, allocations: 247 kB / 1.223 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.3737, allocations: 4.375 kB / 1.223 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.3737, allocations: 4.375 kB / 1.223 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000392/0.3741, allocations: 155.5 kB / 1.223 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.3741, allocations: 3.938 kB / 1.223 GB, free: 7.934 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.3742, allocations: 0 / 1.223 GB, free: 7.934 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.005e-05/0.3742, allocations: 11.98 kB / 1.223 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000607/0.3748, allocations: 147.8 kB / 1.223 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008925/0.3757, allocations: 452.5 kB / 1.224 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000454/0.3761, allocations: 166.4 kB / 1.224 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000269/0.3764, allocations: 104.8 kB / 1.224 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.3764, allocations: 0 / 1.224 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.3765, allocations: 34.56 kB / 1.224 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.3765, allocations: 0 / 1.224 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0008535/0.3773, allocations: 293.5 kB / 1.224 GB, free: 6.676 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.3774, allocations: 59.41 kB / 1.224 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000233/0.3776, allocations: 209 kB / 1.225 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.3776, allocations: 29.64 kB / 1.225 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.3777, allocations: 128.1 kB / 1.225 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.249e-05/0.3778, allocations: 47.64 kB / 1.225 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.614e-05/0.3778, allocations: 29.7 kB / 1.225 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002121/0.378, allocations: 330.8 kB / 1.225 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004168/0.3785, allocations: 71.94 kB / 1.225 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002247/0.3787, allocations: 83.92 kB / 1.225 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005254/0.3792, allocations: 156.8 kB / 1.225 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3792, allocations: 0 / 1.225 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005535/0.3798, allocations: 217.4 kB / 1.226 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.3798, allocations: 8 kB / 1.226 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.3798, allocations: 0 / 1.226 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.3798, allocations: 3.938 kB / 1.226 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000284/0.3801, allocations: 43.89 kB / 1.226 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.3801, allocations: 0 / 1.226 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.3803, allocations: 19.92 kB / 1.226 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.3803, allocations: 8 kB / 1.226 GB, free: 5.207 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 (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 0.0002183/0.3805, allocations: 133.7 kB / 1.226 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.714e-05/0.3806, allocations: 19.86 kB / 1.226 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.742e-05/0.3806, allocations: 33.83 kB / 1.226 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.3806, allocations: 0 / 1.226 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3806, allocations: 0 / 1.226 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.3806, allocations: 0 / 1.226 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003315/0.381, allocations: 265.4 kB / 1.226 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.381, allocations: 4 kB / 1.226 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002265/0.3812, allocations: 39.89 kB / 1.226 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.3812, allocations: 0 / 1.226 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/0.3812, allocations: 8 kB / 1.226 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3812, allocations: 0 / 1.226 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3812, allocations: 0 / 1.226 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006097/0.3818, allocations: 319 kB / 1.227 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.3819, allocations: 116.9 kB / 1.227 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.084e-05/0.382, allocations: 0 / 1.227 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/0.3822, allocations: 19.97 kB / 1.227 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.59e-05/0.3822, allocations: 15.92 kB / 1.227 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.3822, allocations: 4 kB / 1.227 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001571/0.3824, allocations: 164.5 kB / 1.227 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3824, allocations: 0 / 1.227 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002813/0.3827, allocations: 39.94 kB / 1.227 GB, free: 3.957 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 (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.0001921/0.3829, allocations: 99.25 kB / 1.227 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005429/0.3834, allocations: 175.8 kB / 1.227 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3834, allocations: 0 / 1.227 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002537/0.3837, allocations: 87.92 kB / 1.227 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004649/0.3841, allocations: 24.36 kB / 1.227 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.3852, allocations: 446.4 kB / 1.228 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005091/0.3857, allocations: 0.7275 MB / 1.228 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001675/0.3859, allocations: 52.56 kB / 1.228 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.934e-05/0.386, allocations: 27.36 kB / 1.228 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of SimCode: time 5.21e-07/0.386, allocations: 0 / 1.228 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of Templates: time 0.006118/0.3921, allocations: 1.893 MB / 1.23 GB, free: 408 kB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.133331849239767]