Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 213.1 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.388/1.388, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.028/3.028, allocations: 0.4892 GB / 0.7943 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 62.91 kB / 1.153 GB, free: 25.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3207, allocations: 176.1 MB / 1.325 GB, free: 2.402 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2066/0.5273, allocations: 171.9 MB / 1.493 GB, free: 5.832 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01101/0.5383, allocations: 6.556 MB / 1.499 GB, free: 15.27 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009361/0.5393, allocations: 63.38 kB / 1.499 GB, free: 15.2 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001572/0.5409, allocations: 0.6987 MB / 1.5 GB, free: 14.5 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.005219/0.5461, allocations: 2.408 MB / 1.502 GB, free: 12.08 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003095/0.5492, allocations: 1.46 MB / 1.504 GB, free: 10.64 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003812/0.553, allocations: 3.015 MB / 1.507 GB, free: 7.617 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001037/0.554, allocations: 0.6971 MB / 1.508 GB, free: 6.906 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003405/0.5574, allocations: 1.64 MB / 1.509 GB, free: 5.266 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001241/0.5587, allocations: 0.7867 MB / 1.51 GB, free: 4.48 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001725/0.5588, allocations: 100 kB / 1.51 GB, free: 4.383 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003089/0.5619, allocations: 1.66 MB / 1.512 GB, free: 2.719 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.000369/0.5623, allocations: 386.6 kB / 1.512 GB, free: 2.34 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0004971/0.5628, allocations: 469.8 kB / 1.512 GB, free: 1.879 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.00291/0.5657, allocations: 2.348 MB / 1.515 GB, free: 15.52 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.5657, allocations: 7.938 kB / 1.515 GB, free: 15.51 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.233e-06/0.5657, allocations: 4 kB / 1.515 GB, free: 15.51 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.379e-05/0.5657, allocations: 0 / 1.515 GB, free: 15.51 MB / 1.217 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.003138/0.5689, allocations: 1.588 MB / 1.516 GB, free: 13.88 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.5689, allocations: 12.03 kB / 1.516 GB, free: 13.87 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001509/0.5691, allocations: 118.4 kB / 1.516 GB, free: 13.74 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00283/0.5719, allocations: 0.5377 MB / 1.517 GB, free: 13.2 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002263/0.5741, allocations: 0.9686 MB / 1.518 GB, free: 12.2 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.096e-05/0.5742, allocations: 53.31 kB / 1.518 GB, free: 12.15 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.5743, allocations: 75.98 kB / 1.518 GB, free: 12.08 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002486/0.5768, allocations: 1.238 MB / 1.519 GB, free: 10.78 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.5768, allocations: 0 / 1.519 GB, free: 10.78 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.84e-05/0.5769, allocations: 24 kB / 1.519 GB, free: 10.76 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.905e-05/0.577, allocations: 37.31 kB / 1.519 GB, free: 10.72 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003037/0.58, allocations: 1.189 MB / 1.52 GB, free: 9.527 MB / 1.217 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.005538/0.5855, allocations: 2.883 MB / 1.523 GB, free: 6.578 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001694/0.5872, allocations: 0.6779 MB / 1.524 GB, free: 5.883 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008167/0.588, allocations: 425 kB / 1.524 GB, free: 5.461 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004732/0.5885, allocations: 132.3 kB / 1.524 GB, free: 5.332 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00108/0.5896, allocations: 0.6472 MB / 1.525 GB, free: 4.629 MB / 1.217 GB Notification: Performance of pre-optimization done (n=57): time 2.154e-06/0.5896, allocations: 0 / 1.525 GB, free: 4.629 MB / 1.217 GB Notification: Performance of matching and sorting (n=57): time 0.002984/0.5926, allocations: 1.283 MB / 1.526 GB, free: 3.324 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.548e-05/0.5927, allocations: 148.8 kB / 1.526 GB, free: 3.148 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001878/0.5946, allocations: 1.184 MB / 1.528 GB, free: 1.949 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 6.512e-05/0.5946, allocations: 37.7 kB / 1.528 GB, free: 1.906 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004079/0.595, allocations: 441.8 kB / 1.528 GB, free: 1.469 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001719/0.5952, allocations: 198.3 kB / 1.528 GB, free: 1.273 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002617/0.5955, allocations: 142.2 kB / 1.528 GB, free: 1.125 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.5956, allocations: 330 kB / 1.529 GB, free: 0.7969 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001242/0.5969, allocations: 478.7 kB / 1.529 GB, free: 332 kB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001639/0.5985, allocations: 0.9861 MB / 1.53 GB, free: 15.2 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002089/0.6006, allocations: 0.9296 MB / 1.531 GB, free: 14.2 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.6006, allocations: 0 / 1.531 GB, free: 14.2 MB / 1.232 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003034/0.6036, allocations: 1.249 MB / 1.532 GB, free: 12.94 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 4.825e-05/0.6037, allocations: 39.56 kB / 1.532 GB, free: 12.89 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.6037, allocations: 4 kB / 1.532 GB, free: 12.89 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.6037, allocations: 8 kB / 1.532 GB, free: 12.88 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008969/0.6046, allocations: 184 kB / 1.532 GB, free: 12.7 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.6046, allocations: 15.94 kB / 1.533 GB, free: 12.69 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/0.606, allocations: 251.1 kB / 1.533 GB, free: 12.44 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.113e-05/0.606, allocations: 35.97 kB / 1.533 GB, free: 12.41 MB / 1.232 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.0004343/0.6065, allocations: 323.4 kB / 1.533 GB, free: 12.07 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002101/0.6067, allocations: 119.2 kB / 1.533 GB, free: 11.96 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002152/0.6088, allocations: 1.038 MB / 1.534 GB, free: 10.91 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/0.6088, allocations: 8 kB / 1.534 GB, free: 10.9 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.6089, allocations: 3.938 kB / 1.534 GB, free: 10.89 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.6089, allocations: 7.984 kB / 1.534 GB, free: 10.89 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004957/0.6138, allocations: 2.995 MB / 1.537 GB, free: 7.738 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/0.6138, allocations: 8 kB / 1.537 GB, free: 7.73 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005806/0.6144, allocations: 120 kB / 1.537 GB, free: 7.613 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.375e-05/0.6144, allocations: 12 kB / 1.537 GB, free: 7.602 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.156e-05/0.6145, allocations: 23.98 kB / 1.537 GB, free: 7.578 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.565e-05/0.6145, allocations: 19.92 kB / 1.537 GB, free: 7.559 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.243e-06/0.6145, allocations: 8 kB / 1.537 GB, free: 7.551 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002328/0.6168, allocations: 1.392 MB / 1.539 GB, free: 6.031 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005712/0.6174, allocations: 255 kB / 1.539 GB, free: 5.781 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001483/0.6176, allocations: 27.98 kB / 1.539 GB, free: 5.754 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/0.6186, allocations: 99.91 kB / 1.539 GB, free: 5.656 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.6187, allocations: 71.53 kB / 1.539 GB, free: 5.586 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.575e-05/0.6188, allocations: 39.97 kB / 1.539 GB, free: 5.547 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001442/0.6202, allocations: 0.8443 MB / 1.54 GB, free: 4.695 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6202, allocations: 4 kB / 1.54 GB, free: 4.691 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0009294/0.6212, allocations: 303.6 kB / 1.54 GB, free: 4.395 MB / 1.232 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.002958/0.6241, allocations: 2.162 MB / 1.542 GB, free: 2.113 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002401/0.6265, allocations: 1.052 MB / 1.543 GB, free: 1.031 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.6265, allocations: 0 / 1.543 GB, free: 1.031 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0009596/0.6275, allocations: 0.512 MB / 1.544 GB, free: 0.5039 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002579/0.6301, allocations: 0.547 MB / 1.544 GB, free: 15.96 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01647/0.6465, allocations: 9.584 MB / 1.554 GB, free: 5.949 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005418/0.6471, allocations: 486.6 kB / 1.554 GB, free: 5.438 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0009582/0.648, allocations: 279 kB / 1.555 GB, free: 5.164 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005554/0.6486, allocations: 355.3 kB / 1.555 GB, free: 4.816 MB / 1.248 GB Notification: Performance of SimCode: time 6.41e-07/0.6486, allocations: 0 / 1.555 GB, free: 4.816 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06973/0.7183, allocations: 34.54 MB / 1.589 GB, free: 2.863 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/12.18, allocations: 3.938 kB / 1.589 GB, free: 2.859 MB / 1.279 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.517412774730474]