Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_latest_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.001518/0.001518, 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.001923/0.001923, allocations: 191.6 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.396/1.396, 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 11.0.1-master/package.mo): time 2.69/2.69, allocations: 469.4 MB / 0.742 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 67.5 kB / 0.9083 GB, free: 34.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2876, allocations: 159.2 MB / 1.064 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1536/0.4412, allocations: 161.3 MB / 1.221 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001815/0.4431, allocations: 0.9705 MB / 1.222 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002802/0.4434, allocations: 11.94 kB / 1.222 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005259/0.4439, allocations: 151 kB / 1.222 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001423/0.4454, allocations: 0.6341 MB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005881/0.446, allocations: 224.4 kB / 1.223 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006248/0.4466, allocations: 0.511 MB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003654/0.447, allocations: 188.2 kB / 1.224 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004623/0.4475, allocations: 231.1 kB / 1.224 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002431/0.4477, allocations: 167.3 kB / 1.224 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.885e-05/0.4478, allocations: 16 kB / 1.224 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008862/0.4487, allocations: 0.5261 MB / 1.225 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.4488, allocations: 87.7 kB / 1.225 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.4489, allocations: 115.4 kB / 1.225 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007852/0.4497, allocations: 486.7 kB / 1.225 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4497, allocations: 0 / 1.225 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4498, allocations: 4 kB / 1.225 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.4498, allocations: 0 / 1.225 GB, free: 8.227 MB / 0.9825 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.001433/0.4512, allocations: 0.5883 MB / 1.226 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.4513, allocations: 12.03 kB / 1.226 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.046e-05/0.4513, allocations: 50.55 kB / 1.226 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002658/0.4516, allocations: 55.56 kB / 1.226 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003213/0.4519, allocations: 270.4 kB / 1.226 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.4519, allocations: 12.33 kB / 1.226 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.786e-05/0.452, allocations: 27.98 kB / 1.226 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004742/0.4525, allocations: 235.1 kB / 1.227 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.4525, allocations: 0 / 1.227 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/0.4525, allocations: 12 kB / 1.227 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.025e-05/0.4525, allocations: 8 kB / 1.227 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006026/0.4532, allocations: 247.8 kB / 1.227 GB, free: 6.625 MB / 0.9825 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.00119/0.4544, allocations: 0.8431 MB / 1.228 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002979/0.4547, allocations: 142.4 kB / 1.228 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002089/0.4549, allocations: 116.9 kB / 1.228 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002604/0.4552, allocations: 186.2 kB / 1.228 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.4552, allocations: 38.5 kB / 1.228 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.393e-06/0.4552, allocations: 4 kB / 1.228 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.0007951/0.456, allocations: 301.2 kB / 1.228 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.456, allocations: 51.41 kB / 1.228 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002185/0.4563, allocations: 245 kB / 1.229 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.4563, allocations: 29.7 kB / 1.229 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.931e-05/0.4564, allocations: 136.2 kB / 1.229 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.962e-05/0.4564, allocations: 47.3 kB / 1.229 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.553e-05/0.4565, allocations: 37.7 kB / 1.229 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.4566, allocations: 330.8 kB / 1.229 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001783/0.4568, allocations: 71.94 kB / 1.229 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002034/0.457, allocations: 102.5 kB / 1.229 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003545/0.4574, allocations: 173.3 kB / 1.23 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.4574, allocations: 0 / 1.23 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004542/0.4579, allocations: 213.3 kB / 1.23 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.4579, allocations: 11.94 kB / 1.23 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.4579, allocations: 0 / 1.23 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.4579, allocations: 0 / 1.23 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/0.4581, allocations: 31.97 kB / 1.23 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.4581, allocations: 0 / 1.23 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001734/0.4583, allocations: 27.73 kB / 1.23 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.31e-05/0.4583, allocations: 16 kB / 1.23 GB, free: 3.312 MB / 0.9825 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.0001223/0.4585, allocations: 141.7 kB / 1.23 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.851e-05/0.4585, allocations: 23.75 kB / 1.23 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.041e-05/0.4586, allocations: 33.83 kB / 1.23 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.4586, allocations: 3.938 kB / 1.23 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.4586, allocations: 0 / 1.23 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.4586, allocations: 3.984 kB / 1.23 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.4596, allocations: 0.6718 MB / 1.231 GB, free: 2.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.4597, allocations: 7.984 kB / 1.231 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.4598, allocations: 36.14 kB / 1.231 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-06/0.4598, allocations: 4 kB / 1.231 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.4599, allocations: 4 kB / 1.231 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.4599, allocations: 7.984 kB / 1.231 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.4599, allocations: 4 kB / 1.231 GB, free: 2.293 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004781/0.4604, allocations: 345.2 kB / 1.231 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.635e-05/0.4605, allocations: 116.8 kB / 1.231 GB, free: 1.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.664e-05/0.4605, allocations: 4 kB / 1.231 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.4607, allocations: 19.98 kB / 1.231 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.345e-05/0.4607, allocations: 15.86 kB / 1.231 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.4608, allocations: 4 kB / 1.231 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001561/0.4609, allocations: 180.5 kB / 1.231 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4609, allocations: 4 kB / 1.231 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003428/0.4613, allocations: 59.91 kB / 1.232 GB, free: 1.504 MB / 0.9825 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.0009888/0.4623, allocations: 0.9376 MB / 1.232 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004338/0.4627, allocations: 178.2 kB / 1.233 GB, free: 360 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.4627, allocations: 0 / 1.233 GB, free: 360 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002126/0.4629, allocations: 96.31 kB / 1.233 GB, free: 264 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007217/0.4637, allocations: 129.5 kB / 1.233 GB, free: 136 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002914/0.4666, allocations: 2.469 MB / 1.235 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.4669, allocations: 0.748 MB / 1.236 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002244/0.4672, allocations: 57.91 kB / 1.236 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.4673, allocations: 71.41 kB / 1.236 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of SimCode: time 3.81e-07/0.4673, allocations: 4 kB / 1.236 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0241/0.4914, allocations: 6.857 MB / 1.243 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.692/8.183, allocations: 6.516 kB / 1.243 GB, free: 5.93 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches