Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.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.001313/0.001313, allocations: 110 kB / 18.93 MB, free: 2.945 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.001463/0.001463, allocations: 191.9 kB / 22.23 MB, free: 5.16 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.485/1.485, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.614/2.614, allocations: 443.4 MB / 0.7321 GB, free: 12.29 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.Sources.Examples.PropertySource_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTemT.T|senTemXi.T|senTemC.T|proSouXi.port_b.Xi_outflow.1.|proSouT.port_b.Xi_outflow.1.|proSouC.port_b.Xi_outflow.1.|proSouXi.port_a.Xi_outflow.1.|proSouT.port_a.Xi_outflow.1.|proSouC.port_a.Xi_outflow.1.|proSouT.port_a.C_outflow.1.|proSouT.port_b.C_outflow.1.|proSouC.port_a.C_outflow.1.|proSouC.port_b.C_outflow.1.|proSouXi.port_a.C_outflow.1.|proSouXi.port_b.C_outflow.1.|proSouXi.port_a.h_outflow|proSouXi.port_b.h_outflow|proSouT.port_a.h_outflow|proSouT.port_b.h_outflow|proSouC.port_a.h_outflow|proSouC.port_b.h_outflow",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T") translateModel(Buildings.Fluid.Sources.Examples.PropertySource_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTemT.T|senTemXi.T|senTemC.T|proSouXi.port_b.Xi_outflow.1.|proSouT.port_b.Xi_outflow.1.|proSouC.port_b.Xi_outflow.1.|proSouXi.port_a.Xi_outflow.1.|proSouT.port_a.Xi_outflow.1.|proSouC.port_a.Xi_outflow.1.|proSouT.port_a.C_outflow.1.|proSouT.port_b.C_outflow.1.|proSouC.port_a.C_outflow.1.|proSouC.port_b.C_outflow.1.|proSouXi.port_a.C_outflow.1.|proSouXi.port_b.C_outflow.1.|proSouXi.port_a.h_outflow|proSouXi.port_b.h_outflow|proSouT.port_a.h_outflow|proSouT.port_b.h_outflow|proSouC.port_a.h_outflow|proSouC.port_b.h_outflow",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 67.88 kB / 1.061 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.857/0.8591, allocations: 160.8 MB / 1.218 GB, free: 3.711 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.2516/1.111, allocations: 195.2 MB / 1.409 GB, free: 3.355 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01354/1.124, allocations: 10.16 MB / 1.419 GB, free: 9.172 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008427/1.125, allocations: 43.62 kB / 1.419 GB, free: 9.129 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0009592/1.126, allocations: 401 kB / 1.419 GB, free: 8.734 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002707/1.129, allocations: 1.085 MB / 1.42 GB, free: 7.645 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003273/1.132, allocations: 1.378 MB / 1.422 GB, free: 6.266 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.00228/1.134, allocations: 1.737 MB / 1.424 GB, free: 4.527 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001082/1.135, allocations: 0.6136 MB / 1.424 GB, free: 3.891 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003133/1.139, allocations: 1.483 MB / 1.426 GB, free: 2.402 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007716/1.139, allocations: 0.5679 MB / 1.426 GB, free: 1.832 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001041/1.139, allocations: 64 kB / 1.426 GB, free: 1.77 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003076/1.142, allocations: 1.531 MB / 1.428 GB, free: 240 kB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004328/1.143, allocations: 359 kB / 1.428 GB, free: 15.88 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0005438/1.143, allocations: 441.7 kB / 1.428 GB, free: 15.45 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002508/1.146, allocations: 1.514 MB / 1.43 GB, free: 13.93 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/1.146, allocations: 0 / 1.43 GB, free: 13.93 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.423e-06/1.146, allocations: 0 / 1.43 GB, free: 13.93 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.274e-05/1.146, allocations: 0 / 1.43 GB, free: 13.93 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.001764/1.148, allocations: 1.171 MB / 1.431 GB, free: 12.71 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/1.148, allocations: 16.03 kB / 1.431 GB, free: 12.7 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001765/1.15, allocations: 291.1 kB / 1.431 GB, free: 12.41 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/1.151, allocations: 0.5783 MB / 1.432 GB, free: 11.79 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.695e-05/1.151, allocations: 61.98 kB / 1.432 GB, free: 11.73 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/1.151, allocations: 71.98 kB / 1.432 GB, free: 11.66 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/1.152, allocations: 0.8986 MB / 1.433 GB, free: 10.7 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/1.152, allocations: 4 kB / 1.433 GB, free: 10.7 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.706e-05/1.152, allocations: 31.98 kB / 1.433 GB, free: 10.67 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.746e-05/1.152, allocations: 37.3 kB / 1.433 GB, free: 10.63 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/1.154, allocations: 0.5826 MB / 1.434 GB, free: 10.05 MB / 1.139 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004429/1.158, allocations: 3.491 MB / 1.437 GB, free: 6.367 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004137/1.158, allocations: 219.7 kB / 1.437 GB, free: 6.125 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002488/1.159, allocations: 142.5 kB / 1.437 GB, free: 5.977 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008468/1.16, allocations: 485.4 kB / 1.438 GB, free: 5.41 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/1.16, allocations: 42.5 kB / 1.438 GB, free: 5.359 MB / 1.139 GB Notification: Performance of pre-optimization done (n=21): time 1.753e-06/1.16, allocations: 0 / 1.438 GB, free: 5.359 MB / 1.139 GB Notification: Performance of matching and sorting (n=21): time 0.001282/1.161, allocations: 455.2 kB / 1.438 GB, free: 4.91 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.105e-05/1.161, allocations: 110.8 kB / 1.438 GB, free: 4.777 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/1.162, allocations: 0.8686 MB / 1.439 GB, free: 3.895 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.501e-05/1.162, allocations: 33.7 kB / 1.439 GB, free: 3.855 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003458/1.162, allocations: 388.2 kB / 1.44 GB, free: 3.473 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 7.238e-05/1.163, allocations: 79.31 kB / 1.44 GB, free: 3.395 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/1.163, allocations: 57.64 kB / 1.44 GB, free: 3.332 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001465/1.163, allocations: 318 kB / 1.44 GB, free: 3.016 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002488/1.163, allocations: 111.8 kB / 1.44 GB, free: 2.906 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003328/1.163, allocations: 203.1 kB / 1.44 GB, free: 2.668 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005374/1.164, allocations: 321.1 kB / 1.441 GB, free: 2.316 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/1.164, allocations: 3.984 kB / 1.441 GB, free: 2.312 MB / 1.139 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007343/1.165, allocations: 396.9 kB / 1.441 GB, free: 1.918 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/1.165, allocations: 6.5 kB / 1.441 GB, free: 1.914 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/1.165, allocations: 4 kB / 1.441 GB, free: 1.91 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.855e-05/1.165, allocations: 4 kB / 1.441 GB, free: 1.906 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000323/1.165, allocations: 67.84 kB / 1.441 GB, free: 1.84 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/1.165, allocations: 11.92 kB / 1.441 GB, free: 1.828 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004353/1.165, allocations: 79.34 kB / 1.441 GB, free: 1.75 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/1.166, allocations: 12 kB / 1.441 GB, free: 1.738 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (32): * Single equations (assignments): 32 * 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.0002998/1.166, allocations: 245.7 kB / 1.441 GB, free: 1.488 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/1.166, allocations: 79.48 kB / 1.442 GB, free: 1.41 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000654/1.167, allocations: 323.3 kB / 1.442 GB, free: 1.09 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/1.167, allocations: 3.938 kB / 1.442 GB, free: 1.086 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/1.167, allocations: 4 kB / 1.442 GB, free: 1.082 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/1.167, allocations: 0 / 1.442 GB, free: 1.082 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002362/1.169, allocations: 1.37 MB / 1.443 GB, free: 15.6 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/1.169, allocations: 4.062 kB / 1.443 GB, free: 15.6 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002214/1.169, allocations: 55.97 kB / 1.443 GB, free: 15.54 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/1.169, allocations: 4 kB / 1.443 GB, free: 15.54 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/1.169, allocations: 15.94 kB / 1.443 GB, free: 15.52 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/1.169, allocations: 4 kB / 1.443 GB, free: 15.52 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-06/1.169, allocations: 7.938 kB / 1.443 GB, free: 15.51 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007465/1.17, allocations: 0.5112 MB / 1.444 GB, free: 14.93 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003036/1.17, allocations: 192.5 kB / 1.444 GB, free: 14.73 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.004e-05/1.17, allocations: 11.98 kB / 1.444 GB, free: 14.71 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003517/1.171, allocations: 19.92 kB / 1.444 GB, free: 14.7 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.534e-05/1.171, allocations: 23.92 kB / 1.444 GB, free: 14.67 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.186e-05/1.171, allocations: 15.92 kB / 1.444 GB, free: 14.66 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0008406/1.172, allocations: 0.6161 MB / 1.445 GB, free: 14.05 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.31e-07/1.172, allocations: 3.938 kB / 1.445 GB, free: 14.04 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0006029/1.172, allocations: 163.8 kB / 1.445 GB, free: 13.88 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (21): * Single equations (assignments): 21 * 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.0004225/1.173, allocations: 183 kB / 1.445 GB, free: 13.7 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0006048/1.173, allocations: 263.8 kB / 1.445 GB, free: 13.45 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/1.173, allocations: 0 / 1.445 GB, free: 13.45 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002708/1.174, allocations: 125.2 kB / 1.445 GB, free: 13.32 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001754/1.175, allocations: 430.6 kB / 1.446 GB, free: 12.91 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/1.177, allocations: 1.275 MB / 1.447 GB, free: 11.55 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006715/1.178, allocations: 0.9917 MB / 1.448 GB, free: 10.53 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0004726/1.178, allocations: 158.2 kB / 1.448 GB, free: 10.38 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/1.179, allocations: 51.44 kB / 1.448 GB, free: 10.32 MB / 1.154 GB Notification: Performance of SimCode: time 5.11e-07/1.179, allocations: 0 / 1.448 GB, free: 10.32 MB / 1.154 GB Notification: Performance of Templates: time 0.02576/1.204, allocations: 14 MB / 1.462 GB, free: 12.54 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_PropertySource_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.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: 9.323608906939626]