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.005074/0.005074, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001171/0.001171, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.351/2.351, allocations: 390.3 MB / 0.6648 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 62.25 kB / 0.9504 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2497, allocations: 140.4 MB / 1.087 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1704/0.4201, allocations: 161.3 MB / 1.245 GB, free: 40 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002145/0.4223, allocations: 0.9681 MB / 1.246 GB, free: 15.07 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003595/0.4227, allocations: 7.938 kB / 1.246 GB, free: 15.06 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0006732/0.4234, allocations: 159 kB / 1.246 GB, free: 14.91 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001543/0.425, allocations: 0.6614 MB / 1.247 GB, free: 14.24 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006171/0.4256, allocations: 217 kB / 1.247 GB, free: 14.04 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0007217/0.4264, allocations: 0.5226 MB / 1.247 GB, free: 13.51 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003778/0.4268, allocations: 176.2 kB / 1.248 GB, free: 13.34 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005045/0.4273, allocations: 243 kB / 1.248 GB, free: 13.1 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002203/0.4275, allocations: 155.3 kB / 1.248 GB, free: 12.95 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.996e-05/0.4275, allocations: 12 kB / 1.248 GB, free: 12.93 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008987/0.4285, allocations: 0.5572 MB / 1.249 GB, free: 12.38 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.4286, allocations: 83.77 kB / 1.249 GB, free: 12.29 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000135/0.4287, allocations: 111.4 kB / 1.249 GB, free: 12.18 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0007699/0.4295, allocations: 494.4 kB / 1.249 GB, free: 11.7 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.4295, allocations: 0 / 1.249 GB, free: 11.7 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.422e-06/0.4295, allocations: 0 / 1.249 GB, free: 11.7 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.4295, allocations: 0 / 1.249 GB, free: 11.7 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.001429/0.431, allocations: 0.5995 MB / 1.25 GB, free: 11.05 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.431, allocations: 8.031 kB / 1.25 GB, free: 11.04 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.958e-05/0.4311, allocations: 62.53 kB / 1.25 GB, free: 10.97 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002631/0.4313, allocations: 47.81 kB / 1.25 GB, free: 10.93 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004342/0.4318, allocations: 290.5 kB / 1.25 GB, free: 10.6 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.4318, allocations: 12.33 kB / 1.25 GB, free: 10.59 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.023e-05/0.4319, allocations: 16 kB / 1.25 GB, free: 10.57 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005202/0.4324, allocations: 239.1 kB / 1.25 GB, free: 10.34 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.4324, allocations: 3.938 kB / 1.25 GB, free: 10.33 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.4324, allocations: 8 kB / 1.25 GB, free: 10.32 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.163e-05/0.4325, allocations: 8 kB / 1.25 GB, free: 10.32 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005672/0.433, allocations: 251.8 kB / 1.251 GB, free: 10.07 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.001247/0.4343, allocations: 0.8317 MB / 1.252 GB, free: 9.164 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003182/0.4346, allocations: 146.4 kB / 1.252 GB, free: 9.012 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002259/0.4349, allocations: 116.9 kB / 1.252 GB, free: 8.895 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002762/0.4351, allocations: 194.2 kB / 1.252 GB, free: 8.668 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.4352, allocations: 34.5 kB / 1.252 GB, free: 8.625 MB / 1.014 GB Notification: Performance of pre-optimization done (n=14): time 1.363e-06/0.4352, allocations: 0 / 1.252 GB, free: 8.625 MB / 1.014 GB Notification: Performance of matching and sorting (n=14): time 0.0008357/0.436, allocations: 301.3 kB / 1.252 GB, free: 8.324 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.4361, allocations: 55.41 kB / 1.252 GB, free: 8.258 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002134/0.4363, allocations: 241 kB / 1.253 GB, free: 8.016 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.4363, allocations: 33.64 kB / 1.253 GB, free: 7.977 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.16e-05/0.4364, allocations: 136.3 kB / 1.253 GB, free: 7.84 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.565e-05/0.4365, allocations: 55.52 kB / 1.253 GB, free: 7.785 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.821e-05/0.4365, allocations: 37.7 kB / 1.253 GB, free: 7.742 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.4366, allocations: 330.8 kB / 1.253 GB, free: 7.41 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/0.4368, allocations: 67.94 kB / 1.253 GB, free: 7.344 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002171/0.4371, allocations: 106.5 kB / 1.253 GB, free: 7.23 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003662/0.4374, allocations: 174.4 kB / 1.253 GB, free: 7.051 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4374, allocations: 0 / 1.253 GB, free: 7.051 MB / 1.014 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004614/0.4379, allocations: 212.8 kB / 1.254 GB, free: 6.84 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/0.4379, allocations: 11.92 kB / 1.254 GB, free: 6.828 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.438, allocations: 0 / 1.254 GB, free: 6.828 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.438, allocations: 4 kB / 1.254 GB, free: 6.824 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001985/0.4382, allocations: 36.05 kB / 1.254 GB, free: 6.789 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.4382, allocations: 4 kB / 1.254 GB, free: 6.785 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/0.4384, allocations: 19.88 kB / 1.254 GB, free: 6.766 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.4384, allocations: 7.984 kB / 1.254 GB, free: 6.758 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.0001268/0.4385, allocations: 150.2 kB / 1.254 GB, free: 6.602 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.078e-05/0.4386, allocations: 27.8 kB / 1.254 GB, free: 6.574 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.297e-05/0.4387, allocations: 29.83 kB / 1.254 GB, free: 6.547 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.4387, allocations: 4 kB / 1.254 GB, free: 6.543 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.4387, allocations: 4 kB / 1.254 GB, free: 6.539 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.4387, allocations: 0 / 1.254 GB, free: 6.539 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.4398, allocations: 0.6718 MB / 1.255 GB, free: 5.789 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.4398, allocations: 4 kB / 1.255 GB, free: 5.785 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/0.4399, allocations: 35.86 kB / 1.255 GB, free: 5.75 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.44, allocations: 0 / 1.255 GB, free: 5.75 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.44, allocations: 7.984 kB / 1.255 GB, free: 5.742 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.44, allocations: 4 kB / 1.255 GB, free: 5.738 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.44, allocations: 0 / 1.255 GB, free: 5.738 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005008/0.4405, allocations: 361.5 kB / 1.255 GB, free: 5.348 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.4406, allocations: 112.9 kB / 1.255 GB, free: 5.219 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.113e-05/0.4407, allocations: 15.92 kB / 1.255 GB, free: 5.203 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/0.4409, allocations: 4 kB / 1.255 GB, free: 5.199 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.628e-05/0.4409, allocations: 23.86 kB / 1.255 GB, free: 5.176 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.4409, allocations: 4 kB / 1.255 GB, free: 5.172 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001585/0.4411, allocations: 180.5 kB / 1.255 GB, free: 4.996 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4411, allocations: 4 kB / 1.255 GB, free: 4.992 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003481/0.4414, allocations: 55.95 kB / 1.255 GB, free: 4.938 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.0009724/0.4424, allocations: 0.9426 MB / 1.256 GB, free: 3.953 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004508/0.4429, allocations: 183.8 kB / 1.256 GB, free: 3.773 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.4429, allocations: 4.125 kB / 1.257 GB, free: 3.77 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002338/0.4431, allocations: 87.88 kB / 1.257 GB, free: 3.684 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000735/0.4439, allocations: 125.9 kB / 1.257 GB, free: 3.566 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002957/0.4469, allocations: 2.462 MB / 1.259 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.4472, allocations: 0.7557 MB / 1.26 GB, free: 196 kB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001932/0.4474, allocations: 61.91 kB / 1.26 GB, free: 136 kB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.4475, allocations: 67.41 kB / 1.26 GB, free: 68 kB / 1.014 GB Notification: Performance of SimCode: time 4.01e-07/0.4475, allocations: 0 / 1.26 GB, free: 68 kB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5241/0.9716, allocations: 6.926 MB / 1.267 GB, free: 175.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.642/8.613, allocations: 18.95 kB / 1.267 GB, free: 175.6 MB / 1.014 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