Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_10_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_10_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.006862/0.006862, allocations: 97.5 kB / 15.73 MB, free: 6.016 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.001648/0.001649, allocations: 192.8 kB / 16.67 MB, free: 5.93 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.459/2.459, allocations: 437 MB / 0.7105 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 63.91 kB / 1.018 GB, free: 9.938 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8266/0.828, allocations: 151.6 MB / 1.166 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1684/0.9964, allocations: 161.3 MB / 1.324 GB, free: 1.836 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001962/0.9984, allocations: 0.9703 MB / 1.325 GB, free: 0.8633 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002137/0.9986, allocations: 7.938 kB / 1.325 GB, free: 0.8555 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0005953/0.9992, allocations: 159 kB / 1.325 GB, free: 0.6992 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001446/1.001, allocations: 0.6575 MB / 1.325 GB, free: 40 kB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005734/1.001, allocations: 222.3 kB / 1.326 GB, free: 15.82 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005732/1.002, allocations: 0.5226 MB / 1.326 GB, free: 15.3 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000321/1.002, allocations: 183.5 kB / 1.326 GB, free: 15.12 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004076/1.003, allocations: 239.1 kB / 1.327 GB, free: 14.89 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002066/1.003, allocations: 159.3 kB / 1.327 GB, free: 14.73 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.551e-05/1.003, allocations: 12 kB / 1.327 GB, free: 14.72 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000886/1.004, allocations: 0.5494 MB / 1.327 GB, free: 14.17 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001114/1.004, allocations: 83.77 kB / 1.327 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001247/1.004, allocations: 111.4 kB / 1.327 GB, free: 13.98 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007422/1.005, allocations: 491.4 kB / 1.328 GB, free: 13.5 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.005, allocations: 0 / 1.328 GB, free: 13.5 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.904e-06/1.005, allocations: 4 kB / 1.328 GB, free: 13.49 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.362e-06/1.005, allocations: 0 / 1.328 GB, free: 13.49 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001438/1.006, allocations: 0.5996 MB / 1.329 GB, free: 12.84 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/1.006, allocations: 12.92 kB / 1.329 GB, free: 12.83 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.826e-05/1.006, allocations: 58.48 kB / 1.329 GB, free: 12.77 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002496/1.007, allocations: 55.7 kB / 1.329 GB, free: 12.71 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005032/1.007, allocations: 288.1 kB / 1.329 GB, free: 12.39 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/1.007, allocations: 12.33 kB / 1.329 GB, free: 12.38 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.389e-05/1.007, allocations: 16 kB / 1.329 GB, free: 12.36 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000498/1.008, allocations: 242.9 kB / 1.329 GB, free: 12.12 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/1.008, allocations: 0 / 1.329 GB, free: 12.12 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.607e-05/1.008, allocations: 8 kB / 1.329 GB, free: 12.11 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.456e-05/1.008, allocations: 12 kB / 1.329 GB, free: 12.1 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005394/1.008, allocations: 247.8 kB / 1.329 GB, free: 11.86 MB / 1.061 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.001228/1.01, allocations: 0.8357 MB / 1.33 GB, free: 10.95 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003139/1.01, allocations: 146.5 kB / 1.33 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002138/1.01, allocations: 112.9 kB / 1.33 GB, free: 10.68 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002689/1.01, allocations: 190.2 kB / 1.331 GB, free: 10.46 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/1.01, allocations: 38.48 kB / 1.331 GB, free: 10.41 MB / 1.061 GB Notification: Performance of pre-optimization done (n=14): time 1.522e-06/1.011, allocations: 0 / 1.331 GB, free: 10.41 MB / 1.061 GB Notification: Performance of matching and sorting (n=14): time 0.0008354/1.011, allocations: 306.4 kB / 1.331 GB, free: 10.11 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/1.011, allocations: 55.41 kB / 1.331 GB, free: 10.04 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/1.012, allocations: 241 kB / 1.331 GB, free: 9.801 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/1.012, allocations: 29.7 kB / 1.331 GB, free: 9.766 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.96e-05/1.012, allocations: 136.3 kB / 1.331 GB, free: 9.629 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.96e-05/1.012, allocations: 47.58 kB / 1.331 GB, free: 9.582 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-05/1.012, allocations: 41.7 kB / 1.332 GB, free: 9.535 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000134/1.012, allocations: 326.8 kB / 1.332 GB, free: 9.207 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/1.012, allocations: 67.94 kB / 1.332 GB, free: 9.141 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/1.012, allocations: 108 kB / 1.332 GB, free: 9.027 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003317/1.013, allocations: 175.8 kB / 1.332 GB, free: 8.848 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.013, allocations: 0 / 1.332 GB, free: 8.848 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004119/1.013, allocations: 209.9 kB / 1.332 GB, free: 8.637 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/1.013, allocations: 11.88 kB / 1.332 GB, free: 8.625 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/1.013, allocations: 3.984 kB / 1.332 GB, free: 8.621 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/1.013, allocations: 4 kB / 1.332 GB, free: 8.617 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/1.013, allocations: 32.05 kB / 1.332 GB, free: 8.586 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/1.013, allocations: 7.938 kB / 1.332 GB, free: 8.578 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/1.014, allocations: 23.83 kB / 1.332 GB, free: 8.555 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/1.014, allocations: 8 kB / 1.332 GB, free: 8.547 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (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.000121/1.014, allocations: 141.8 kB / 1.333 GB, free: 8.398 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.738e-05/1.014, allocations: 19.84 kB / 1.333 GB, free: 8.379 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.462e-05/1.014, allocations: 33.83 kB / 1.333 GB, free: 8.344 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/1.014, allocations: 0 / 1.333 GB, free: 8.344 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/1.014, allocations: 8 kB / 1.333 GB, free: 8.336 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/1.014, allocations: 0 / 1.333 GB, free: 8.336 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/1.015, allocations: 0.6796 MB / 1.333 GB, free: 7.578 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/1.015, allocations: 4 kB / 1.333 GB, free: 7.574 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001485/1.015, allocations: 27.92 kB / 1.333 GB, free: 7.547 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/1.015, allocations: 4 kB / 1.333 GB, free: 7.543 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/1.015, allocations: 7.984 kB / 1.333 GB, free: 7.535 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.083e-06/1.015, allocations: 0 / 1.333 GB, free: 7.535 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/1.015, allocations: 4 kB / 1.333 GB, free: 7.531 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004669/1.016, allocations: 358.8 kB / 1.334 GB, free: 7.145 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/1.016, allocations: 113 kB / 1.334 GB, free: 7.016 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/1.016, allocations: 11.98 kB / 1.334 GB, free: 7.004 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/1.016, allocations: 4 kB / 1.334 GB, free: 7 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.85e-05/1.016, allocations: 23.86 kB / 1.334 GB, free: 6.977 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/1.016, allocations: 4 kB / 1.334 GB, free: 6.973 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001463/1.016, allocations: 180.5 kB / 1.334 GB, free: 6.797 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.4e-07/1.016, allocations: 4 kB / 1.334 GB, free: 6.793 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003464/1.017, allocations: 55.94 kB / 1.334 GB, free: 6.738 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 14 * 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.0009633/1.017, allocations: 0.9581 MB / 1.335 GB, free: 5.738 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004289/1.018, allocations: 171.8 kB / 1.335 GB, free: 5.57 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/1.018, allocations: 8.062 kB / 1.335 GB, free: 5.562 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002021/1.018, allocations: 87.88 kB / 1.335 GB, free: 5.477 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007233/1.019, allocations: 123 kB / 1.335 GB, free: 5.359 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002931/1.022, allocations: 2.473 MB / 1.338 GB, free: 2.762 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/1.022, allocations: 0.7519 MB / 1.339 GB, free: 1.984 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000198/1.022, allocations: 65.89 kB / 1.339 GB, free: 1.922 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/1.022, allocations: 67.41 kB / 1.339 GB, free: 1.855 MB / 1.061 GB Notification: Performance of SimCode: time 5.71e-07/1.022, allocations: 0 / 1.339 GB, free: 1.855 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02484/1.047, allocations: 6.928 MB / 1.345 GB, free: 11.09 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.712/8.759, allocations: 13.12 kB / 1.345 GB, free: 11.08 MB / 1.076 GB (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu > Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches