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.001633/0.001633, 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.003038/0.003038, allocations: 192.1 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.448/1.448, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.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.575/2.575, allocations: 437.1 MB / 0.7104 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002296/0.002296, allocations: 59.89 kB / 0.8693 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6796/0.6819, allocations: 151.6 MB / 1.017 GB, free: 2.445 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1747/0.8566, allocations: 161.3 MB / 1.175 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002013/0.8587, allocations: 0.9646 MB / 1.176 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004241/0.8591, allocations: 7.938 kB / 1.176 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000716/0.8599, allocations: 159 kB / 1.176 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001767/0.8617, allocations: 0.6426 MB / 1.177 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006456/0.8624, allocations: 218.7 kB / 1.177 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0007035/0.8631, allocations: 0.5187 MB / 1.177 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003883/0.8635, allocations: 164.2 kB / 1.178 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005179/0.864, allocations: 235.1 kB / 1.178 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002379/0.8643, allocations: 159.3 kB / 1.178 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.823e-05/0.8643, allocations: 12 kB / 1.178 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001035/0.8654, allocations: 0.5533 MB / 1.178 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.8655, allocations: 75.8 kB / 1.179 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001602/0.8657, allocations: 115.4 kB / 1.179 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008996/0.8666, allocations: 490.7 kB / 1.179 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.8666, allocations: 0 / 1.179 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.116e-06/0.8666, allocations: 0 / 1.179 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.222e-05/0.8666, allocations: 3.938 kB / 1.179 GB, free: 12.2 MB / 0.9356 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.001517/0.8681, allocations: 0.5883 MB / 1.18 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.8682, allocations: 8.031 kB / 1.18 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.271e-05/0.8683, allocations: 58.55 kB / 1.18 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002833/0.8685, allocations: 47.69 kB / 1.18 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003794/0.8689, allocations: 278.3 kB / 1.18 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.869, allocations: 12.33 kB / 1.18 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/0.869, allocations: 12 kB / 1.18 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000516/0.8695, allocations: 247.1 kB / 1.18 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.8696, allocations: 0 / 1.18 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.8696, allocations: 7.938 kB / 1.18 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.409e-05/0.8696, allocations: 8 kB / 1.18 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006666/0.8703, allocations: 271.2 kB / 1.181 GB, free: 10.58 MB / 0.9356 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.001341/0.8716, allocations: 0.8355 MB / 1.181 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003315/0.872, allocations: 142.6 kB / 1.182 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/0.8722, allocations: 112.8 kB / 1.182 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003024/0.8725, allocations: 186.2 kB / 1.182 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.8726, allocations: 34.5 kB / 1.182 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=14): time 1.683e-06/0.8726, allocations: 3.938 kB / 1.182 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.000841/0.8734, allocations: 298.3 kB / 1.182 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.8735, allocations: 55.41 kB / 1.182 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.8737, allocations: 245 kB / 1.182 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.8737, allocations: 25.7 kB / 1.182 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.506e-05/0.8738, allocations: 140.2 kB / 1.183 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.353e-05/0.8739, allocations: 43.3 kB / 1.183 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.827e-05/0.874, allocations: 37.7 kB / 1.183 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.8741, allocations: 338.8 kB / 1.183 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.8742, allocations: 59.95 kB / 1.183 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002123/0.8745, allocations: 106.5 kB / 1.183 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003592/0.8748, allocations: 172.5 kB / 1.183 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.8748, allocations: 0 / 1.183 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004623/0.8753, allocations: 213.2 kB / 1.184 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.8753, allocations: 7.938 kB / 1.184 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.8754, allocations: 4 kB / 1.184 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.8754, allocations: 0 / 1.184 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/0.8756, allocations: 43.97 kB / 1.184 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.8756, allocations: 0 / 1.184 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.8758, allocations: 19.83 kB / 1.184 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.8758, allocations: 4 kB / 1.184 GB, free: 7.293 MB / 0.9356 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.0001353/0.876, allocations: 141.8 kB / 1.184 GB, free: 7.145 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.456e-05/0.876, allocations: 31.59 kB / 1.184 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.073e-05/0.8761, allocations: 29.83 kB / 1.184 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.8761, allocations: 4 kB / 1.184 GB, free: 7.082 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.8761, allocations: 4 kB / 1.184 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.8761, allocations: 0 / 1.184 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.8772, allocations: 0.6795 MB / 1.184 GB, free: 6.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.8772, allocations: 0 / 1.184 GB, free: 6.32 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001611/0.8774, allocations: 31.97 kB / 1.185 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.8774, allocations: 0 / 1.185 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.8774, allocations: 8 kB / 1.185 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.8774, allocations: 11.88 kB / 1.185 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.8774, allocations: 0 / 1.185 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005131/0.8779, allocations: 377.1 kB / 1.185 GB, free: 5.867 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.878, allocations: 112.8 kB / 1.185 GB, free: 5.738 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.237e-05/0.8781, allocations: 8 kB / 1.185 GB, free: 5.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.8783, allocations: 7.984 kB / 1.185 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.393e-05/0.8783, allocations: 19.92 kB / 1.185 GB, free: 5.703 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.8784, allocations: 4 kB / 1.185 GB, free: 5.699 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001618/0.8785, allocations: 180.5 kB / 1.185 GB, free: 5.52 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8785, allocations: 4 kB / 1.185 GB, free: 5.516 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003736/0.8789, allocations: 55.94 kB / 1.185 GB, free: 5.461 MB / 0.9356 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.001097/0.88, allocations: 0.9351 MB / 1.186 GB, free: 4.484 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004963/0.8805, allocations: 175.8 kB / 1.186 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.8805, allocations: 4.125 kB / 1.186 GB, free: 4.309 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002197/0.8808, allocations: 95.81 kB / 1.186 GB, free: 4.215 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000769/0.8815, allocations: 123.3 kB / 1.187 GB, free: 4.102 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003354/0.8849, allocations: 2.463 MB / 1.189 GB, free: 1.496 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003751/0.8853, allocations: 0.7558 MB / 1.19 GB, free: 0.7148 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000245/0.8856, allocations: 61.89 kB / 1.19 GB, free: 0.6562 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.8857, allocations: 63.41 kB / 1.19 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of SimCode: time 5.41e-07/0.8857, allocations: 0 / 1.19 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02549/0.9112, allocations: 6.867 MB / 1.197 GB, free: 9.887 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.607/8.518, allocations: 10.53 kB / 1.197 GB, free: 9.879 MB / 0.9512 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