Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 193.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.505/2.505, allocations: 390.2 MB / 0.6647 GB, free: 268 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 63.91 kB / 0.8127 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7015/0.7031, allocations: 140.4 MB / 0.9497 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003014/0.7061, allocations: 1.63 MB / 0.9513 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001857/0.708, allocations: 1.488 MB / 0.9528 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.985e-05/0.7081, allocations: 0 / 0.9528 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004223/0.7085, allocations: 63.64 kB / 0.9528 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001674/0.7087, allocations: 49.17 kB / 0.9529 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002546/0.709, allocations: 113.8 kB / 0.953 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001895/0.7092, allocations: 162.4 kB / 0.9532 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.864e-05/0.7092, allocations: 13.27 kB / 0.9532 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.95e-05/0.7093, allocations: 65.58 kB / 0.9532 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000179/0.7095, allocations: 64.19 kB / 0.9533 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.755e-05/0.7095, allocations: 10.12 kB / 0.9533 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.7097, allocations: 73.8 kB / 0.9534 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.101e-05/0.7098, allocations: 37.91 kB / 0.9534 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.691e-05/0.7098, allocations: 66.44 kB / 0.9535 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002407/0.7101, allocations: 193.4 kB / 0.9537 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.7101, allocations: 0 / 0.9537 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7101, allocations: 0 / 0.9537 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.7101, allocations: 1.156 kB / 0.9537 GB, free: 6.105 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005454/0.7107, allocations: 467.4 kB / 0.9541 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.7107, allocations: 9.281 kB / 0.9541 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.938e-05/0.7107, allocations: 40.39 kB / 0.9541 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.444e-05/0.7108, allocations: 24.19 kB / 0.9542 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003058/0.7111, allocations: 263.1 kB / 0.9544 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.7111, allocations: 2.562 kB / 0.9544 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.7112, allocations: 7.094 kB / 0.9544 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.7114, allocations: 115.2 kB / 0.9545 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.7114, allocations: 4 kB / 0.9545 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.7114, allocations: 1.156 kB / 0.9545 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.802e-05/0.7114, allocations: 1.25 kB / 0.9545 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000269/0.7117, allocations: 145.1 kB / 0.9547 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001903/0.7119, allocations: 227.2 kB / 0.9549 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003422/0.7123, allocations: 179.3 kB / 0.9551 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.073e-05/0.7124, allocations: 61.02 kB / 0.9551 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.7124, allocations: 8.547 kB / 0.9551 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002281/0.7126, allocations: 109.3 kB / 0.9552 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.7126, allocations: 0 / 0.9552 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0004274/0.7131, allocations: 226.4 kB / 0.9555 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.7131, allocations: 78.58 kB / 0.9555 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.7133, allocations: 208.7 kB / 0.9557 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.7133, allocations: 29.7 kB / 0.9558 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.318e-05/0.7134, allocations: 116.4 kB / 0.9559 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.222e-05/0.7134, allocations: 42.53 kB / 0.9559 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.404e-05/0.7135, allocations: 30.5 kB / 0.9559 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.207e-05/0.7135, allocations: 330.3 kB / 0.9563 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.567e-05/0.7136, allocations: 44.73 kB / 0.9563 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.7137, allocations: 82.69 kB / 0.9564 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001874/0.7139, allocations: 120.4 kB / 0.9565 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.7139, allocations: 3.938 kB / 0.9565 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002847/0.7142, allocations: 195.2 kB / 0.9567 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.7142, allocations: 5.375 kB / 0.9567 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.7142, allocations: 0 / 0.9567 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.7143, allocations: 1.75 kB / 0.9567 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.7144, allocations: 25.48 kB / 0.9567 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.7144, allocations: 4.062 kB / 0.9567 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.472e-05/0.7144, allocations: 11.56 kB / 0.9567 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.7145, allocations: 6.125 kB / 0.9567 GB, free: 3.527 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001004/0.7146, allocations: 142.2 kB / 0.9569 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.861e-05/0.7146, allocations: 23.28 kB / 0.9569 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.152e-05/0.7147, allocations: 23.48 kB / 0.9569 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.7147, allocations: 1.375 kB / 0.9569 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.7147, allocations: 5.312 kB / 0.9569 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.7147, allocations: 0 / 0.9569 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.7149, allocations: 242.5 kB / 0.9572 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.7149, allocations: 0 / 0.9572 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.335e-05/0.715, allocations: 20.48 kB / 0.9572 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.715, allocations: 3.984 kB / 0.9572 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.715, allocations: 2.75 kB / 0.9572 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.715, allocations: 5.375 kB / 0.9572 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.715, allocations: 0 / 0.9572 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003197/0.7153, allocations: 219.6 kB / 0.9574 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.105e-05/0.7154, allocations: 99.77 kB / 0.9575 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.53e-05/0.7154, allocations: 11.3 kB / 0.9575 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.655e-05/0.7155, allocations: 2.062 kB / 0.9575 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.7155, allocations: 9.734 kB / 0.9575 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.7155, allocations: 8.469 kB / 0.9575 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001224/0.7157, allocations: 160.3 kB / 0.9577 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7157, allocations: 0 / 0.9577 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002579/0.7159, allocations: 31.47 kB / 0.9577 GB, free: 2.707 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001477/0.7174, allocations: 1.101 MB / 0.9588 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002924/0.7177, allocations: 136.8 kB / 0.9589 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.7177, allocations: 1.125 kB / 0.9589 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.7179, allocations: 62.66 kB / 0.959 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.7181, allocations: 39.42 kB / 0.959 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001994/0.7202, allocations: 1.932 MB / 0.9609 GB, free: 300 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.7204, allocations: 0.7218 MB / 0.9616 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001311/0.7206, allocations: 54.64 kB / 0.9616 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.782e-05/0.7207, allocations: 57 kB / 0.9617 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of SimCode: time 2.8e-07/0.7207, allocations: 3.938 kB / 0.9617 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02316/0.7438, allocations: 4.584 MB / 0.9662 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.725/8.469, allocations: 6.172 kB / 0.9662 GB, free: 13.17 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.csv --start-time 0 --stop-time 603900 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 900 Buildings_9_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches