Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.Examples.PressureDrop,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PressureDrop",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.001205/0.001205, allocations: 196.9 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.292/1.292, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.647/2.647, allocations: 469.4 MB / 0.742 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 65.56 kB / 0.9083 GB, free: 34.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2881, allocations: 159.1 MB / 1.064 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.2421/0.5302, allocations: 161.5 MB / 1.221 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003756/0.534, allocations: 1.717 MB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004458/0.5345, allocations: 11.94 kB / 1.223 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006725/0.5352, allocations: 162.9 kB / 1.223 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001628/0.5369, allocations: 0.5056 MB / 1.224 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001404/0.5383, allocations: 412.7 kB / 1.224 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0009643/0.5393, allocations: 0.577 MB / 1.225 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004159/0.5397, allocations: 176.6 kB / 1.225 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008263/0.5405, allocations: 322.6 kB / 1.225 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002981/0.5409, allocations: 147.4 kB / 1.225 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.296e-05/0.5409, allocations: 12 kB / 1.225 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001586/0.5425, allocations: 0.6937 MB / 1.226 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.5427, allocations: 75.73 kB / 1.226 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001819/0.5429, allocations: 119.4 kB / 1.226 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001/0.5439, allocations: 498.6 kB / 1.227 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.5439, allocations: 0 / 1.227 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5439, allocations: 0 / 1.227 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.268e-06/0.5439, allocations: 0 / 1.227 GB, free: 6.988 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001128/0.545, allocations: 0.5799 MB / 1.227 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.5451, allocations: 16.02 kB / 1.227 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.085e-05/0.5452, allocations: 42.56 kB / 1.227 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005054/0.5457, allocations: 59.67 kB / 1.227 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004848/0.5462, allocations: 293.2 kB / 1.228 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.5462, allocations: 8 kB / 1.228 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.798e-05/0.5463, allocations: 19.94 kB / 1.228 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005089/0.5468, allocations: 200.1 kB / 1.228 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.5468, allocations: 0 / 1.228 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.497e-05/0.5468, allocations: 4 kB / 1.228 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.5469, allocations: 8 kB / 1.228 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004515/0.5473, allocations: 123.9 kB / 1.228 GB, free: 5.539 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.001379/0.5487, allocations: 0.7808 MB / 1.229 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003321/0.5491, allocations: 86.47 kB / 1.229 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002374/0.5493, allocations: 80.86 kB / 1.229 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003203/0.5496, allocations: 186.2 kB / 1.229 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.5497, allocations: 38.55 kB / 1.229 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.173e-06/0.5497, allocations: 0 / 1.229 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0006599/0.5504, allocations: 221.2 kB / 1.229 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.5504, allocations: 55.41 kB / 1.229 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002508/0.5507, allocations: 267 kB / 1.23 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.5507, allocations: 25.7 kB / 1.23 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.703e-05/0.5508, allocations: 144 kB / 1.23 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.5508, allocations: 39.45 kB / 1.23 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.507e-05/0.5509, allocations: 29.72 kB / 1.23 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.551, allocations: 330.8 kB / 1.23 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.5512, allocations: 52.81 kB / 1.23 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002445/0.5514, allocations: 93.11 kB / 1.23 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002829/0.5517, allocations: 127.3 kB / 1.23 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.5517, allocations: 0 / 1.23 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003579/0.5521, allocations: 157.2 kB / 1.231 GB, free: 2.645 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.5521, allocations: 8.562 kB / 1.231 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.5521, allocations: 7.969 kB / 1.231 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.5522, allocations: 0 / 1.231 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.5523, allocations: 19.98 kB / 1.231 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.5523, allocations: 11.92 kB / 1.231 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/0.5525, allocations: 15.92 kB / 1.231 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.5525, allocations: 11.94 kB / 1.231 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001918/0.5527, allocations: 144.1 kB / 1.231 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002022/0.5529, allocations: 93.11 kB / 1.231 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003141/0.5533, allocations: 123.4 kB / 1.231 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.082e-06/0.5533, allocations: 0 / 1.231 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003407/0.5536, allocations: 157.3 kB / 1.231 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.5536, allocations: 8 kB / 1.231 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-06/0.5537, allocations: 0 / 1.231 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.508e-06/0.5537, allocations: 3.938 kB / 1.231 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.5538, allocations: 27.92 kB / 1.231 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-06/0.5538, allocations: 0 / 1.231 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/0.554, allocations: 11.98 kB / 1.231 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.554, allocations: 8.031 kB / 1.231 GB, free: 1.965 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0001344/0.5541, allocations: 184.3 kB / 1.231 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.94e-05/0.5542, allocations: 31.7 kB / 1.231 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003951/0.5546, allocations: 159.2 kB / 1.232 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.5546, allocations: 0 / 1.232 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.5547, allocations: 4 kB / 1.232 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.5547, allocations: 0 / 1.232 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00098/0.5556, allocations: 0.5938 MB / 1.232 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.5557, allocations: 4.031 kB / 1.232 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.5558, allocations: 19.98 kB / 1.232 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.5558, allocations: 4 kB / 1.232 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.5558, allocations: 4 kB / 1.232 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.5558, allocations: 3.984 kB / 1.232 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.5558, allocations: 7.938 kB / 1.232 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003971/0.5562, allocations: 301.4 kB / 1.232 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.604e-05/0.5563, allocations: 113 kB / 1.233 GB, free: 412 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.511e-05/0.5564, allocations: 19.88 kB / 1.233 GB, free: 392 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.5566, allocations: 11.98 kB / 1.233 GB, free: 380 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/0.5566, allocations: 15.92 kB / 1.233 GB, free: 364 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.5566, allocations: 4 kB / 1.233 GB, free: 360 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001725/0.5568, allocations: 194 kB / 1.233 GB, free: 168 kB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5568, allocations: 0 / 1.233 GB, free: 168 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004627/0.5573, allocations: 91.84 kB / 1.233 GB, free: 76 kB / 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 (10): * Single equations (assignments): 10 * 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.0008999/0.5582, allocations: 0.898 MB / 1.234 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004577/0.5587, allocations: 171.7 kB / 1.234 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.5587, allocations: 128 / 1.234 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.5588, allocations: 67.89 kB / 1.234 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007062/0.5596, allocations: 117.8 kB / 1.234 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002863/0.5624, allocations: 2.352 MB / 1.236 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003878/0.5628, allocations: 0.7596 MB / 1.237 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002223/0.5631, allocations: 65.89 kB / 1.237 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.5632, allocations: 71.41 kB / 1.237 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of SimCode: time 3.51e-07/0.5632, allocations: 4 kB / 1.237 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02507/0.5883, allocations: 6.825 MB / 1.244 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.639/8.227, allocations: 5.203 kB / 1.244 GB, free: 4.688 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_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_Examples_PressureDrop.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches