Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.001734/0.001734, allocations: 111.6 kB / 18.14 MB, free: 3.668 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.002114/0.002114, allocations: 193.2 kB / 21.42 MB, free: 408 kB / 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.436/1.436, allocations: 225.6 MB / 250.2 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.791/2.791, allocations: 476.7 MB / 0.7637 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002159/0.002159, allocations: 67.89 kB / 1.108 GB, free: 7.016 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7762/0.7783, allocations: 168.7 MB / 1.273 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2184/0.9967, allocations: 195.1 MB / 1.463 GB, free: 472 kB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01221/1.009, allocations: 6.979 MB / 1.47 GB, free: 9.469 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001618/1.011, allocations: 47.69 kB / 1.47 GB, free: 9.422 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002075/1.013, allocations: 0.7025 MB / 1.471 GB, free: 8.715 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.006729/1.019, allocations: 2.458 MB / 1.473 GB, free: 6.246 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003779/1.023, allocations: 1.445 MB / 1.475 GB, free: 4.82 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.004711/1.028, allocations: 3.002 MB / 1.478 GB, free: 1.809 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001489/1.029, allocations: 0.7005 MB / 1.478 GB, free: 1.098 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003108/1.032, allocations: 1.17 MB / 1.479 GB, free: 15.93 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001981/1.034, allocations: 0.8533 MB / 1.48 GB, free: 15.08 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0004062/1.035, allocations: 103.9 kB / 1.48 GB, free: 14.98 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004525/1.039, allocations: 2.163 MB / 1.483 GB, free: 12.81 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0007581/1.04, allocations: 366.8 kB / 1.483 GB, free: 12.45 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001225/1.041, allocations: 0.5986 MB / 1.483 GB, free: 11.85 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.005153/1.046, allocations: 2.394 MB / 1.486 GB, free: 9.445 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/1.046, allocations: 0 / 1.486 GB, free: 9.445 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.114e-06/1.046, allocations: 0 / 1.486 GB, free: 9.445 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.055e-05/1.047, allocations: 0 / 1.486 GB, free: 9.445 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.004475/1.051, allocations: 1.673 MB / 1.487 GB, free: 7.711 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/1.051, allocations: 8.031 kB / 1.487 GB, free: 7.703 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002131/1.051, allocations: 114.5 kB / 1.488 GB, free: 7.582 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003206/1.054, allocations: 0.5377 MB / 1.488 GB, free: 7.043 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002896/1.057, allocations: 1.042 MB / 1.489 GB, free: 5.957 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.442e-05/1.057, allocations: 57.31 kB / 1.489 GB, free: 5.898 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002171/1.058, allocations: 75.92 kB / 1.489 GB, free: 5.824 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00284/1.061, allocations: 1.105 MB / 1.49 GB, free: 4.691 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/1.061, allocations: 7.984 kB / 1.49 GB, free: 4.684 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/1.061, allocations: 24 kB / 1.49 GB, free: 4.66 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.112e-05/1.061, allocations: 37.3 kB / 1.49 GB, free: 4.625 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003441/1.064, allocations: 1.157 MB / 1.492 GB, free: 3.469 MB / 1.186 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.007216/1.071, allocations: 3.187 MB / 1.495 GB, free: 204 kB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001864/1.073, allocations: 0.6552 MB / 1.495 GB, free: 15.54 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008666/1.074, allocations: 394.1 kB / 1.496 GB, free: 15.15 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001022/1.075, allocations: 1.025 MB / 1.497 GB, free: 13.91 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001174/1.076, allocations: 0.5104 MB / 1.497 GB, free: 13.36 MB / 1.201 GB Notification: Performance of pre-optimization done (n=57): time 3.387e-06/1.076, allocations: 4 kB / 1.497 GB, free: 13.36 MB / 1.201 GB Notification: Performance of matching and sorting (n=57): time 0.003436/1.08, allocations: 1.225 MB / 1.498 GB, free: 12.13 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/1.08, allocations: 148.8 kB / 1.498 GB, free: 11.95 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002428/1.082, allocations: 1.172 MB / 1.5 GB, free: 10.77 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.000183/1.082, allocations: 41.7 kB / 1.5 GB, free: 10.72 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005008/1.083, allocations: 445.7 kB / 1.5 GB, free: 10.28 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002907/1.083, allocations: 194.3 kB / 1.5 GB, free: 10.09 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004042/1.084, allocations: 142.2 kB / 1.5 GB, free: 9.941 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001852/1.084, allocations: 337.9 kB / 1.501 GB, free: 9.605 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001408/1.085, allocations: 436.9 kB / 1.501 GB, free: 9.18 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001592/1.087, allocations: 0.5938 MB / 1.502 GB, free: 8.535 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002356/1.089, allocations: 0.9227 MB / 1.503 GB, free: 7.555 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.218e-05/1.089, allocations: 4 kB / 1.503 GB, free: 7.551 MB / 1.201 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003655/1.093, allocations: 1.206 MB / 1.504 GB, free: 6.332 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 6.566e-05/1.093, allocations: 37.69 kB / 1.504 GB, free: 6.289 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/1.093, allocations: 4 kB / 1.504 GB, free: 6.285 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.698e-05/1.093, allocations: 4 kB / 1.504 GB, free: 6.281 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/1.094, allocations: 195.9 kB / 1.504 GB, free: 6.09 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.717e-05/1.094, allocations: 8 kB / 1.504 GB, free: 6.082 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/1.096, allocations: 248.7 kB / 1.504 GB, free: 5.84 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001588/1.096, allocations: 39.97 kB / 1.504 GB, free: 5.801 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * 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.0006863/1.097, allocations: 323.4 kB / 1.505 GB, free: 5.469 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003551/1.097, allocations: 119.2 kB / 1.505 GB, free: 5.352 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002444/1.099, allocations: 0.9982 MB / 1.506 GB, free: 4.348 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.368e-05/1.099, allocations: 19.86 kB / 1.506 GB, free: 4.328 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/1.099, allocations: 0 / 1.506 GB, free: 4.328 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/1.099, allocations: 4 kB / 1.506 GB, free: 4.324 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005809/1.105, allocations: 3.158 MB / 1.509 GB, free: 1.012 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.121e-05/1.105, allocations: 8 kB / 1.509 GB, free: 1.004 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006363/1.106, allocations: 119.8 kB / 1.509 GB, free: 0.8867 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.39e-05/1.106, allocations: 12.19 kB / 1.509 GB, free: 0.875 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.353e-05/1.106, allocations: 23.98 kB / 1.509 GB, free: 0.8516 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.594e-05/1.106, allocations: 15.94 kB / 1.509 GB, free: 0.8359 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.838e-06/1.106, allocations: 11.94 kB / 1.509 GB, free: 0.8242 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002483/1.108, allocations: 1.358 MB / 1.51 GB, free: 15.34 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007271/1.109, allocations: 336 kB / 1.511 GB, free: 14.99 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002543/1.109, allocations: 23.98 kB / 1.511 GB, free: 14.97 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00122/1.111, allocations: 99.91 kB / 1.511 GB, free: 14.87 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/1.111, allocations: 55.77 kB / 1.511 GB, free: 14.82 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.792e-05/1.111, allocations: 43.97 kB / 1.511 GB, free: 14.77 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001704/1.113, allocations: 0.8443 MB / 1.512 GB, free: 13.92 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.21e-07/1.113, allocations: 3.938 kB / 1.512 GB, free: 13.92 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001167/1.114, allocations: 303.6 kB / 1.512 GB, free: 13.62 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.003381/1.117, allocations: 2.163 MB / 1.514 GB, free: 11.36 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002508/1.12, allocations: 0.9665 MB / 1.515 GB, free: 10.38 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/1.12, allocations: 0 / 1.515 GB, free: 10.38 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0009945/1.121, allocations: 486.1 kB / 1.516 GB, free: 9.891 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002942/1.124, allocations: 0.5455 MB / 1.516 GB, free: 9.355 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01871/1.142, allocations: 9.419 MB / 1.525 GB, free: 15.53 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008866/1.143, allocations: 1.069 MB / 1.526 GB, free: 14.43 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.00126/1.144, allocations: 270.7 kB / 1.527 GB, free: 14.16 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006518/1.145, allocations: 363.3 kB / 1.527 GB, free: 13.81 MB / 1.232 GB Notification: Performance of SimCode: time 7.11e-07/1.145, allocations: 0 / 1.527 GB, free: 13.81 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07284/1.218, allocations: 31.96 MB / 1.558 GB, free: 14.2 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.16/11.38, allocations: 3.75 kB / 1.558 GB, free: 14.2 MB / 1.264 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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: 17.47089615976438]