Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0016/0.0016, allocations: 114.2 kB / 18.94 MB, free: 2.93 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.001602/0.001602, allocations: 188.3 kB / 22.23 MB, free: 5.098 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.325/1.325, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.883/2.883, allocations: 496 MB / 0.7835 GB, free: 33.69 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_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.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,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.EN12975HeatLoss") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 71.06 kB / 1.138 GB, free: 33.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.2874, allocations: 173.6 MB / 1.307 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003094/0.2905, allocations: 1.904 MB / 1.309 GB, free: 15.91 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004385/0.2949, allocations: 3.649 MB / 1.313 GB, free: 12.24 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.531e-05/0.295, allocations: 0 / 1.313 GB, free: 12.24 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0007392/0.2957, allocations: 198.2 kB / 1.313 GB, free: 12.05 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001911/0.2959, allocations: 83.39 kB / 1.313 GB, free: 11.97 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 6.052e-05/0.296, allocations: 19.97 kB / 1.313 GB, free: 11.95 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004382/0.2964, allocations: 271.1 kB / 1.313 GB, free: 11.68 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.637e-05/0.2965, allocations: 25.66 kB / 1.313 GB, free: 11.66 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.2966, allocations: 75.75 kB / 1.313 GB, free: 11.59 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.2968, allocations: 87.55 kB / 1.313 GB, free: 11.5 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.2968, allocations: 8 kB / 1.313 GB, free: 11.49 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.847e-05/0.2969, allocations: 23.98 kB / 1.313 GB, free: 11.47 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.125e-05/0.297, allocations: 63.75 kB / 1.314 GB, free: 11.41 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 9.167e-05/0.2971, allocations: 83.48 kB / 1.314 GB, free: 11.32 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002556/0.2973, allocations: 195 kB / 1.314 GB, free: 11.13 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.2973, allocations: 4 kB / 1.314 GB, free: 11.13 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2973, allocations: 0 / 1.314 GB, free: 11.13 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.2973, allocations: 0 / 1.314 GB, free: 11.13 MB / 1.014 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.0008449/0.2982, allocations: 472.8 kB / 1.314 GB, free: 10.64 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.2982, allocations: 8.922 kB / 1.314 GB, free: 10.63 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.117e-05/0.2983, allocations: 24.8 kB / 1.314 GB, free: 10.61 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003225/0.2986, allocations: 193.5 kB / 1.314 GB, free: 10.39 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.2986, allocations: 384 / 1.314 GB, free: 10.39 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.2986, allocations: 4.375 kB / 1.314 GB, free: 10.39 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003441/0.299, allocations: 145.7 kB / 1.315 GB, free: 10.24 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.299, allocations: 4 kB / 1.315 GB, free: 10.23 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.299, allocations: 4 kB / 1.315 GB, free: 10.23 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.339e-05/0.299, allocations: 8 kB / 1.315 GB, free: 10.22 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004157/0.2994, allocations: 139.8 kB / 1.315 GB, free: 10.09 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007083/0.3001, allocations: 439.5 kB / 1.315 GB, free: 9.613 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004228/0.3006, allocations: 166.5 kB / 1.315 GB, free: 9.441 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002384/0.3008, allocations: 96.78 kB / 1.315 GB, free: 9.344 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.3008, allocations: 0 / 1.315 GB, free: 9.344 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.3008, allocations: 42.5 kB / 1.315 GB, free: 9.293 MB / 1.014 GB Notification: Performance of pre-optimization done (n=13): time 7.81e-07/0.3008, allocations: 0 / 1.315 GB, free: 9.293 MB / 1.014 GB Notification: Performance of matching and sorting (n=13): time 0.0007956/0.3016, allocations: 293.6 kB / 1.316 GB, free: 9 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.3017, allocations: 55.41 kB / 1.316 GB, free: 8.934 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002374/0.3019, allocations: 241.9 kB / 1.316 GB, free: 8.688 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.3019, allocations: 25.7 kB / 1.316 GB, free: 8.656 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.302, allocations: 140.1 kB / 1.316 GB, free: 8.516 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.852e-05/0.3021, allocations: 47.58 kB / 1.316 GB, free: 8.469 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.298e-05/0.3022, allocations: 37.7 kB / 1.316 GB, free: 8.426 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.3023, allocations: 330.8 kB / 1.317 GB, free: 8.094 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002241/0.3025, allocations: 75.92 kB / 1.317 GB, free: 8.02 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002015/0.3027, allocations: 71.94 kB / 1.317 GB, free: 7.949 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004299/0.3032, allocations: 183.8 kB / 1.317 GB, free: 7.77 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3032, allocations: 0 / 1.317 GB, free: 7.77 MB / 1.014 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000498/0.3037, allocations: 217.4 kB / 1.317 GB, free: 7.551 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.3037, allocations: 14.02 kB / 1.317 GB, free: 7.539 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.3037, allocations: 0 / 1.317 GB, free: 7.539 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.3037, allocations: 0 / 1.317 GB, free: 7.539 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002366/0.3039, allocations: 31.97 kB / 1.317 GB, free: 7.508 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.3039, allocations: 3.938 kB / 1.317 GB, free: 7.504 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.3041, allocations: 15.94 kB / 1.317 GB, free: 7.488 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/0.3041, allocations: 7.984 kB / 1.317 GB, free: 7.48 MB / 1.014 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.0001409/0.3042, allocations: 145.7 kB / 1.317 GB, free: 7.328 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.092e-05/0.3043, allocations: 23.86 kB / 1.317 GB, free: 7.305 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.24e-05/0.3044, allocations: 33.77 kB / 1.317 GB, free: 7.27 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3044, allocations: 0 / 1.317 GB, free: 7.27 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.3044, allocations: 0 / 1.317 GB, free: 7.27 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.3044, allocations: 3.984 kB / 1.317 GB, free: 7.266 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002953/0.3047, allocations: 248.5 kB / 1.318 GB, free: 6.98 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3047, allocations: 0 / 1.318 GB, free: 6.98 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002237/0.3049, allocations: 39.95 kB / 1.318 GB, free: 6.941 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.3049, allocations: 0 / 1.318 GB, free: 6.941 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.3049, allocations: 3.938 kB / 1.318 GB, free: 6.938 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.3049, allocations: 4 kB / 1.318 GB, free: 6.934 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3049, allocations: 0 / 1.318 GB, free: 6.934 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005678/0.3055, allocations: 327.2 kB / 1.318 GB, free: 6.598 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.415e-05/0.3056, allocations: 39.78 kB / 1.318 GB, free: 6.559 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.109e-05/0.3056, allocations: 4 kB / 1.318 GB, free: 6.555 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.3058, allocations: 11.98 kB / 1.318 GB, free: 6.543 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.227e-05/0.3058, allocations: 19.97 kB / 1.318 GB, free: 6.523 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.3058, allocations: 4 kB / 1.318 GB, free: 6.52 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001605/0.306, allocations: 177.2 kB / 1.318 GB, free: 6.348 MB / 1.014 GB Notification: Performance of sort global known variables: time 8.1e-08/0.306, allocations: 4 kB / 1.318 GB, free: 6.344 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002594/0.3063, allocations: 39.94 kB / 1.318 GB, free: 6.305 MB / 1.014 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.0001565/0.3064, allocations: 111.9 kB / 1.318 GB, free: 6.188 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004881/0.3069, allocations: 167.9 kB / 1.319 GB, free: 6.023 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.3069, allocations: 4 kB / 1.319 GB, free: 6.02 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002372/0.3071, allocations: 95.69 kB / 1.319 GB, free: 5.93 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00044/0.3076, allocations: 56.38 kB / 1.319 GB, free: 5.875 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008387/0.3084, allocations: 467.4 kB / 1.319 GB, free: 5.391 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003658/0.3088, allocations: 0.7474 MB / 1.32 GB, free: 4.617 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001638/0.3089, allocations: 53.36 kB / 1.32 GB, free: 4.562 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.859e-05/0.309, allocations: 15.44 kB / 1.32 GB, free: 4.547 MB / 1.014 GB Notification: Performance of SimCode: time 3.7e-07/0.309, allocations: 0 / 1.32 GB, free: 4.547 MB / 1.014 GB Notification: Performance of Templates: time 0.005831/0.3148, allocations: 2.583 MB / 1.322 GB, free: 2.008 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.96944382507354]