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.005/0.005, allocations: 98.3 kB / 15.73 MB, free: 6.012 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.001328/0.001328, allocations: 193 kB / 16.67 MB, free: 5.949 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.463/1.463, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.82/2.82, allocations: 437 MB / 0.7105 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 63.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2957, allocations: 151.6 MB / 1.166 GB, free: 7.312 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.7748/1.07, allocations: 161.4 MB / 1.324 GB, free: 7.629 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00254/1.073, allocations: 0.9606 MB / 1.325 GB, free: 7.168 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004296/1.074, allocations: 9.688 kB / 1.325 GB, free: 7.164 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0008641/1.074, allocations: 157.3 kB / 1.325 GB, free: 7.066 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002305/1.077, allocations: 0.6303 MB / 1.325 GB, free: 6.742 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009193/1.078, allocations: 220.1 kB / 1.326 GB, free: 6.641 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001076/1.079, allocations: 0.5186 MB / 1.326 GB, free: 6.41 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004507/1.079, allocations: 182.9 kB / 1.326 GB, free: 6.328 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006696/1.08, allocations: 232.8 kB / 1.327 GB, free: 6.23 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003142/1.08, allocations: 164.3 kB / 1.327 GB, free: 6.156 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.186e-05/1.08, allocations: 14.16 kB / 1.327 GB, free: 6.156 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001631/1.082, allocations: 0.536 MB / 1.327 GB, free: 5.945 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001679/1.082, allocations: 82.78 kB / 1.327 GB, free: 5.914 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000192/1.082, allocations: 115.8 kB / 1.327 GB, free: 5.848 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00133/1.084, allocations: 489.8 kB / 1.328 GB, free: 5.691 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/1.084, allocations: 0 / 1.328 GB, free: 5.691 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.454e-06/1.084, allocations: 5.125 kB / 1.328 GB, free: 5.688 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.397e-05/1.084, allocations: 0 / 1.328 GB, free: 5.688 MB / 1.014 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.001808/1.086, allocations: 0.6052 MB / 1.328 GB, free: 5.199 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/1.086, allocations: 10.03 kB / 1.328 GB, free: 5.199 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.978e-05/1.086, allocations: 52.98 kB / 1.329 GB, free: 5.148 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003552/1.086, allocations: 49.8 kB / 1.329 GB, free: 5.133 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000565/1.087, allocations: 291.8 kB / 1.329 GB, free: 4.879 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/1.087, allocations: 11.27 kB / 1.329 GB, free: 4.875 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.115e-05/1.087, allocations: 14.53 kB / 1.329 GB, free: 4.871 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005886/1.087, allocations: 245 kB / 1.329 GB, free: 4.773 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/1.087, allocations: 4.688 kB / 1.329 GB, free: 4.77 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.226e-05/1.087, allocations: 14.14 kB / 1.329 GB, free: 4.758 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.816e-05/1.087, allocations: 13.3 kB / 1.329 GB, free: 4.754 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006112/1.088, allocations: 246.1 kB / 1.329 GB, free: 4.684 MB / 1.014 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.00159/1.09, allocations: 0.8345 MB / 1.33 GB, free: 4.098 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004167/1.09, allocations: 140.9 kB / 1.33 GB, free: 4.039 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002582/1.09, allocations: 114.4 kB / 1.33 GB, free: 4 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003226/1.091, allocations: 194.1 kB / 1.331 GB, free: 3.801 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/1.091, allocations: 41.22 kB / 1.331 GB, free: 3.754 MB / 1.014 GB Notification: Performance of pre-optimization done (n=14): time 3.176e-06/1.091, allocations: 0 / 1.331 GB, free: 3.754 MB / 1.014 GB Notification: Performance of matching and sorting (n=14): time 0.0009311/1.092, allocations: 304.2 kB / 1.331 GB, free: 3.641 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/1.092, allocations: 54.12 kB / 1.331 GB, free: 3.578 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002782/1.092, allocations: 249.9 kB / 1.331 GB, free: 3.426 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/1.092, allocations: 31.2 kB / 1.331 GB, free: 3.391 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/1.092, allocations: 133 kB / 1.331 GB, free: 3.273 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.832e-05/1.092, allocations: 50.89 kB / 1.331 GB, free: 3.234 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.03e-05/1.092, allocations: 33.36 kB / 1.331 GB, free: 3.211 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001513/1.092, allocations: 332.6 kB / 1.332 GB, free: 2.891 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/1.093, allocations: 67.69 kB / 1.332 GB, free: 2.871 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/1.093, allocations: 107.1 kB / 1.332 GB, free: 2.82 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003711/1.093, allocations: 167.3 kB / 1.332 GB, free: 2.75 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/1.093, allocations: 1.719 kB / 1.332 GB, free: 2.75 MB / 1.014 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005097/1.094, allocations: 214.5 kB / 1.332 GB, free: 2.656 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/1.094, allocations: 13.64 kB / 1.332 GB, free: 2.652 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/1.094, allocations: 0 / 1.332 GB, free: 2.652 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/1.094, allocations: 2.469 kB / 1.332 GB, free: 2.652 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001961/1.094, allocations: 28.86 kB / 1.332 GB, free: 2.648 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/1.094, allocations: 3.844 kB / 1.332 GB, free: 2.648 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002034/1.094, allocations: 22.25 kB / 1.332 GB, free: 2.637 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.057e-05/1.094, allocations: 12.84 kB / 1.332 GB, free: 2.633 MB / 1.014 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.0001591/1.095, allocations: 139.3 kB / 1.333 GB, free: 2.504 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.419e-05/1.095, allocations: 21.62 kB / 1.333 GB, free: 2.492 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.481e-05/1.095, allocations: 34.17 kB / 1.333 GB, free: 2.473 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.024e-06/1.095, allocations: 4.938 kB / 1.333 GB, free: 2.473 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/1.095, allocations: 5.219 kB / 1.333 GB, free: 2.469 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/1.095, allocations: 0 / 1.333 GB, free: 2.469 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/1.096, allocations: 0.6773 MB / 1.333 GB, free: 1.984 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/1.096, allocations: 1.375 kB / 1.333 GB, free: 1.984 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/1.096, allocations: 32.2 kB / 1.333 GB, free: 1.984 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/1.096, allocations: 6.438 kB / 1.333 GB, free: 1.98 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.107e-05/1.096, allocations: 6.719 kB / 1.333 GB, free: 1.977 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/1.096, allocations: 10.41 kB / 1.333 GB, free: 1.969 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.096, allocations: 2.656 kB / 1.333 GB, free: 1.969 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005672/1.097, allocations: 354.8 kB / 1.334 GB, free: 1.711 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/1.097, allocations: 115.8 kB / 1.334 GB, free: 1.598 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.137e-05/1.097, allocations: 4.688 kB / 1.334 GB, free: 1.598 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/1.097, allocations: 12.22 kB / 1.334 GB, free: 1.594 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.572e-05/1.097, allocations: 18.3 kB / 1.334 GB, free: 1.586 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/1.097, allocations: 5.531 kB / 1.334 GB, free: 1.586 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002142/1.097, allocations: 179.6 kB / 1.334 GB, free: 1.48 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.097, allocations: 0 / 1.334 GB, free: 1.48 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004479/1.098, allocations: 57.75 kB / 1.334 GB, free: 1.473 MB / 1.014 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.001222/1.099, allocations: 0.9582 MB / 1.335 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000488/1.1, allocations: 173.4 kB / 1.335 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.1, allocations: 1.281 kB / 1.335 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002197/1.1, allocations: 94.3 kB / 1.335 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000772/1.101, allocations: 124.5 kB / 1.335 GB, free: 0.543 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00354/1.104, allocations: 2.466 MB / 1.338 GB, free: 14.8 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/1.105, allocations: 0.7551 MB / 1.339 GB, free: 14.1 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002419/1.105, allocations: 58.44 kB / 1.339 GB, free: 14.09 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/1.105, allocations: 67.5 kB / 1.339 GB, free: 14.04 MB / 1.029 GB Notification: Performance of SimCode: time 5.21e-07/1.105, allocations: 0 / 1.339 GB, free: 14.04 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03096/1.136, allocations: 6.928 MB / 1.345 GB, free: 13.31 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.323/9.459, allocations: 8.391 kB / 1.345 GB, free: 13.3 MB / 1.029 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