Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.LosslessPipe,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",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.004436/0.004436, allocations: 98.25 kB / 15.73 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.001331, allocations: 196.1 kB / 16.68 MB, free: 6.352 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.952/2.952, allocations: 482.4 MB / 0.7548 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 71.89 kB / 1.083 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2849, allocations: 162.2 MB / 1.241 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.6996/0.9845, allocations: 173.4 MB / 1.411 GB, free: 3.715 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.003105/0.9876, allocations: 1.836 MB / 1.413 GB, free: 2.219 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000212/0.9878, allocations: 20.31 kB / 1.413 GB, free: 2.207 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0006333/0.9885, allocations: 217.7 kB / 1.413 GB, free: 2.023 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001631/0.9901, allocations: 0.7478 MB / 1.414 GB, free: 1.449 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001678/0.9918, allocations: 0.8341 MB / 1.414 GB, free: 0.8398 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.000904/0.9928, allocations: 0.8423 MB / 1.415 GB, free: 364 kB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004417/0.9932, allocations: 293.7 kB / 1.415 GB, free: 180 kB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009943/0.9942, allocations: 0.5671 MB / 1.416 GB, free: 15.84 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003425/0.9946, allocations: 265.9 kB / 1.416 GB, free: 15.68 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 5.024e-05/0.9946, allocations: 26.88 kB / 1.416 GB, free: 15.68 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001656/0.9963, allocations: 1.092 MB / 1.417 GB, free: 15.06 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001393/0.9964, allocations: 119.5 kB / 1.417 GB, free: 14.98 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0002136/0.9967, allocations: 201 kB / 1.418 GB, free: 14.86 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001307/0.998, allocations: 0.9254 MB / 1.419 GB, free: 14.31 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.998, allocations: 3.938 kB / 1.419 GB, free: 14.31 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.383e-06/0.998, allocations: 0 / 1.419 GB, free: 14.31 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.998, allocations: 0 / 1.419 GB, free: 14.31 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001654/0.9997, allocations: 0.7783 MB / 1.419 GB, free: 13.64 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.9997, allocations: 9.875 kB / 1.419 GB, free: 13.64 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.128e-05/0.9998, allocations: 67.25 kB / 1.419 GB, free: 13.58 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/1.001, allocations: 169.5 kB / 1.42 GB, free: 13.5 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005921/1.001, allocations: 368.1 kB / 1.42 GB, free: 13.17 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/1.001, allocations: 19.47 kB / 1.42 GB, free: 13.16 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.978e-05/1.002, allocations: 30.42 kB / 1.42 GB, free: 13.14 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007237/1.002, allocations: 396.5 kB / 1.42 GB, free: 12.88 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/1.002, allocations: 1.188 kB / 1.42 GB, free: 12.88 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.714e-05/1.002, allocations: 10.22 kB / 1.42 GB, free: 12.88 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.493e-05/1.002, allocations: 16.97 kB / 1.42 GB, free: 12.87 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007321/1.003, allocations: 342.8 kB / 1.421 GB, free: 12.71 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002049/1.005, allocations: 1.784 MB / 1.422 GB, free: 11.09 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005652/1.006, allocations: 383.7 kB / 1.423 GB, free: 10.78 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002737/1.006, allocations: 145.6 kB / 1.423 GB, free: 10.7 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005834/1.007, allocations: 302.3 kB / 1.423 GB, free: 10.39 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/1.007, allocations: 40.53 kB / 1.423 GB, free: 10.35 MB / 1.123 GB Notification: Performance of pre-optimization done (n=20): time 1.272e-06/1.007, allocations: 0 / 1.423 GB, free: 10.35 MB / 1.123 GB Notification: Performance of matching and sorting (n=20): time 0.0009704/1.008, allocations: 394 kB / 1.424 GB, free: 10.14 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/1.008, allocations: 54.22 kB / 1.424 GB, free: 10.08 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004144/1.008, allocations: 358 kB / 1.424 GB, free: 9.855 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3e-05/1.008, allocations: 30.73 kB / 1.424 GB, free: 9.82 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/1.008, allocations: 199.4 kB / 1.424 GB, free: 9.641 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 6.604e-05/1.008, allocations: 68.31 kB / 1.424 GB, free: 9.582 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.17e-05/1.008, allocations: 48.75 kB / 1.424 GB, free: 9.547 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001592/1.009, allocations: 346.6 kB / 1.425 GB, free: 9.207 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002282/1.009, allocations: 95.48 kB / 1.425 GB, free: 9.16 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002866/1.009, allocations: 161.2 kB / 1.425 GB, free: 9.043 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004894/1.01, allocations: 253.9 kB / 1.425 GB, free: 8.879 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.01, allocations: 1.188 kB / 1.425 GB, free: 8.879 MB / 1.123 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006069/1.01, allocations: 299.5 kB / 1.425 GB, free: 8.723 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/1.01, allocations: 7.188 kB / 1.425 GB, free: 8.723 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/1.01, allocations: 5.156 kB / 1.425 GB, free: 8.719 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/1.01, allocations: 7.547 kB / 1.425 GB, free: 8.715 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002621/1.011, allocations: 51.78 kB / 1.426 GB, free: 8.699 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/1.011, allocations: 2.562 kB / 1.426 GB, free: 8.699 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002403/1.011, allocations: 40.72 kB / 1.426 GB, free: 8.672 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/1.011, allocations: 7.344 kB / 1.426 GB, free: 8.672 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (25): * Single equations (assignments): 25 * 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.0001692/1.011, allocations: 163 kB / 1.426 GB, free: 8.523 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.73e-05/1.011, allocations: 40.86 kB / 1.426 GB, free: 8.5 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006423/1.012, allocations: 299.3 kB / 1.426 GB, free: 8.324 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/1.012, allocations: 2.469 kB / 1.426 GB, free: 8.324 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/1.012, allocations: 1.125 kB / 1.426 GB, free: 8.324 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/1.012, allocations: 0 / 1.426 GB, free: 8.324 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/1.013, allocations: 0.904 MB / 1.427 GB, free: 7.594 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/1.013, allocations: 3.125 kB / 1.427 GB, free: 7.594 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002055/1.013, allocations: 48.09 kB / 1.427 GB, free: 7.578 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/1.013, allocations: 4.281 kB / 1.427 GB, free: 7.578 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/1.013, allocations: 2.75 kB / 1.427 GB, free: 7.578 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/1.013, allocations: 6.594 kB / 1.427 GB, free: 7.578 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/1.013, allocations: 2.25 kB / 1.427 GB, free: 7.578 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006509/1.014, allocations: 469.2 kB / 1.427 GB, free: 7.203 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/1.014, allocations: 126.9 kB / 1.428 GB, free: 7.078 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.171e-05/1.014, allocations: 10.25 kB / 1.428 GB, free: 7.074 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000241/1.015, allocations: 10.97 kB / 1.428 GB, free: 7.07 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.02e-05/1.015, allocations: 35.58 kB / 1.428 GB, free: 7.043 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/1.015, allocations: 8.438 kB / 1.428 GB, free: 7.043 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002717/1.015, allocations: 258.7 kB / 1.428 GB, free: 6.883 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.8e-07/1.015, allocations: 3.938 kB / 1.428 GB, free: 6.879 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0004035/1.015, allocations: 101 kB / 1.428 GB, free: 6.859 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (20): * Single equations (assignments): 20 * 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.001181/1.017, allocations: 1.052 MB / 1.429 GB, free: 5.934 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0005426/1.017, allocations: 237.5 kB / 1.429 GB, free: 5.828 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/1.017, allocations: 0 / 1.429 GB, free: 5.828 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0002676/1.017, allocations: 123.8 kB / 1.429 GB, free: 5.773 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/1.019, allocations: 229.3 kB / 1.43 GB, free: 5.656 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004273/1.023, allocations: 3.301 MB / 1.433 GB, free: 3.004 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004174/1.023, allocations: 0.7957 MB / 1.434 GB, free: 2.18 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0002831/1.024, allocations: 83.23 kB / 1.434 GB, free: 2.098 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001865/1.024, allocations: 123.4 kB / 1.434 GB, free: 1.977 MB / 1.123 GB Notification: Performance of SimCode: time 2.51e-07/1.024, allocations: 0 / 1.434 GB, free: 1.977 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03345/1.057, allocations: 10.81 MB / 1.444 GB, free: 7.402 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.124/9.181, allocations: 6.625 kB / 1.444 GB, free: 7.398 MB / 1.139 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches