Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.LosslessPipe,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_9_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.001122/0.001122, allocations: 108 kB / 15.61 MB, free: 152 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.001151/0.001151, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.315/2.315, allocations: 390.2 MB / 0.6647 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 55.91 kB / 0.8126 GB, free: 14.41 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6089/0.6103, allocations: 140.4 MB / 0.9497 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1655/0.7759, allocations: 161.3 MB / 1.107 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.00202/0.7779, allocations: 0.9678 MB / 1.108 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003588/0.7783, allocations: 7.938 kB / 1.108 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.000613/0.779, allocations: 155 kB / 1.108 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001609/0.7806, allocations: 0.6341 MB / 1.109 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006387/0.7813, allocations: 220.4 kB / 1.109 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0007398/0.782, allocations: 0.5226 MB / 1.11 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000393/0.7824, allocations: 177 kB / 1.11 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005336/0.783, allocations: 239.1 kB / 1.11 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002821/0.7833, allocations: 151.4 kB / 1.11 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 4.517e-05/0.7833, allocations: 16 kB / 1.11 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000953/0.7843, allocations: 0.5455 MB / 1.111 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.7844, allocations: 83.72 kB / 1.111 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001395/0.7846, allocations: 111.5 kB / 1.111 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0008304/0.7854, allocations: 478.7 kB / 1.111 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.7854, allocations: 4 kB / 1.111 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.012e-06/0.7854, allocations: 0 / 1.111 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.363e-06/0.7854, allocations: 0 / 1.111 GB, free: 11.66 MB / 0.8731 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.001389/0.7868, allocations: 0.6077 MB / 1.112 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.7869, allocations: 12.03 kB / 1.112 GB, free: 11 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.968e-05/0.787, allocations: 50.55 kB / 1.112 GB, free: 10.94 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002569/0.7872, allocations: 47.69 kB / 1.112 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/0.7876, allocations: 274.3 kB / 1.112 GB, free: 10.58 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.7876, allocations: 16.33 kB / 1.112 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.108e-05/0.7876, allocations: 12 kB / 1.112 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004823/0.7881, allocations: 243.1 kB / 1.113 GB, free: 10.31 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.7881, allocations: 3.938 kB / 1.113 GB, free: 10.31 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.177e-05/0.7882, allocations: 4 kB / 1.113 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.156e-05/0.7882, allocations: 12 kB / 1.113 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006116/0.7888, allocations: 251.8 kB / 1.113 GB, free: 10.05 MB / 0.8731 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.0012/0.79, allocations: 0.8392 MB / 1.114 GB, free: 9.129 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003068/0.7903, allocations: 138.6 kB / 1.114 GB, free: 8.984 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002193/0.7906, allocations: 116.8 kB / 1.114 GB, free: 8.867 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002557/0.7908, allocations: 194.1 kB / 1.114 GB, free: 8.641 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.7909, allocations: 34.5 kB / 1.114 GB, free: 8.598 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/0.7909, allocations: 0 / 1.114 GB, free: 8.598 MB / 0.8731 GB Notification: Performance of matching and sorting (n=14): time 0.0008204/0.7917, allocations: 304 kB / 1.114 GB, free: 8.297 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.7917, allocations: 55.41 kB / 1.115 GB, free: 8.23 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/0.792, allocations: 241 kB / 1.115 GB, free: 7.992 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.792, allocations: 29.7 kB / 1.115 GB, free: 7.957 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 7.726e-05/0.7921, allocations: 132.2 kB / 1.115 GB, free: 7.824 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.047e-05/0.7921, allocations: 55.28 kB / 1.115 GB, free: 7.77 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.797e-05/0.7922, allocations: 37.7 kB / 1.115 GB, free: 7.727 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.58e-05/0.7923, allocations: 334.8 kB / 1.115 GB, free: 7.391 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.7925, allocations: 63.95 kB / 1.115 GB, free: 7.328 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002118/0.7927, allocations: 104.5 kB / 1.115 GB, free: 7.219 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003577/0.7931, allocations: 170.4 kB / 1.116 GB, free: 7.043 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7931, allocations: 0 / 1.116 GB, free: 7.043 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004724/0.7936, allocations: 217.2 kB / 1.116 GB, free: 6.824 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.7936, allocations: 7.938 kB / 1.116 GB, free: 6.816 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.7936, allocations: 4 kB / 1.116 GB, free: 6.812 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.7936, allocations: 4.062 kB / 1.116 GB, free: 6.809 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.7938, allocations: 35.91 kB / 1.116 GB, free: 6.773 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.7938, allocations: 3.984 kB / 1.116 GB, free: 6.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/0.794, allocations: 23.83 kB / 1.116 GB, free: 6.746 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.794, allocations: 4 kB / 1.116 GB, free: 6.742 MB / 0.8731 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.0001147/0.7942, allocations: 137.8 kB / 1.116 GB, free: 6.598 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.409e-05/0.7942, allocations: 31.66 kB / 1.116 GB, free: 6.566 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.247e-05/0.7943, allocations: 29.83 kB / 1.116 GB, free: 6.539 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.7943, allocations: 8 kB / 1.116 GB, free: 6.531 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.7943, allocations: 0 / 1.116 GB, free: 6.531 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.7943, allocations: 0 / 1.116 GB, free: 6.531 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.7954, allocations: 0.6756 MB / 1.117 GB, free: 5.777 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.7954, allocations: 4 kB / 1.117 GB, free: 5.773 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.7956, allocations: 35.91 kB / 1.117 GB, free: 5.738 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.7956, allocations: 0 / 1.117 GB, free: 5.738 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.7956, allocations: 8 kB / 1.117 GB, free: 5.73 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.7956, allocations: 7.938 kB / 1.117 GB, free: 5.723 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.7956, allocations: 3.938 kB / 1.117 GB, free: 5.719 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005274/0.7962, allocations: 358.8 kB / 1.117 GB, free: 5.332 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.7963, allocations: 112.8 kB / 1.117 GB, free: 5.203 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.231e-05/0.7963, allocations: 4 kB / 1.117 GB, free: 5.199 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.7965, allocations: 11.98 kB / 1.117 GB, free: 5.188 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.645e-05/0.7966, allocations: 19.86 kB / 1.117 GB, free: 5.168 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.7966, allocations: 8 kB / 1.117 GB, free: 5.16 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001646/0.7968, allocations: 180.5 kB / 1.118 GB, free: 4.984 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7968, allocations: 0 / 1.118 GB, free: 4.984 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003883/0.7972, allocations: 63.94 kB / 1.118 GB, free: 4.922 MB / 0.8731 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.001094/0.7983, allocations: 0.9394 MB / 1.118 GB, free: 3.945 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004847/0.7988, allocations: 175.8 kB / 1.119 GB, free: 3.773 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.7988, allocations: 0 / 1.119 GB, free: 3.773 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002138/0.799, allocations: 95.81 kB / 1.119 GB, free: 3.68 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007401/0.7998, allocations: 122.5 kB / 1.119 GB, free: 3.559 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002891/0.8027, allocations: 2.462 MB / 1.121 GB, free: 0.9648 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/0.803, allocations: 0.7558 MB / 1.122 GB, free: 188 kB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002222/0.8032, allocations: 57.91 kB / 1.122 GB, free: 128 kB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.8033, allocations: 67.41 kB / 1.122 GB, free: 64 kB / 0.8731 GB Notification: Performance of SimCode: time 5.31e-07/0.8033, allocations: 3.938 kB / 1.122 GB, free: 60 kB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02463/0.8279, allocations: 6.869 MB / 1.129 GB, free: 9.344 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.784/8.612, allocations: 18.23 kB / 1.129 GB, free: 9.332 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches