Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Examples.PressureDrop,fileNamePrefix="Buildings_10_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_10_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.005124/0.005124, allocations: 98.72 kB / 15.73 MB, free: 6.004 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.001306/0.001306, allocations: 192.9 kB / 16.67 MB, free: 5.93 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.55/2.55, allocations: 437 MB / 0.7105 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 63.89 kB / 1.018 GB, free: 9.875 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7611/0.763, allocations: 151.6 MB / 1.166 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1867/0.9497, allocations: 161.5 MB / 1.324 GB, free: 1.609 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003014/0.9528, allocations: 1.708 MB / 1.326 GB, free: 15.9 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002638/0.953, allocations: 15.94 kB / 1.326 GB, free: 15.88 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005177/0.9536, allocations: 154.9 kB / 1.326 GB, free: 15.73 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00118/0.9548, allocations: 0.5095 MB / 1.326 GB, free: 15.22 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.9559, allocations: 428.5 kB / 1.327 GB, free: 14.8 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0007791/0.9567, allocations: 0.5654 MB / 1.327 GB, free: 14.24 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003233/0.957, allocations: 181.4 kB / 1.327 GB, free: 14.06 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006/0.9576, allocations: 314.7 kB / 1.328 GB, free: 13.75 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002213/0.9578, allocations: 151.3 kB / 1.328 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.835e-05/0.9579, allocations: 12 kB / 1.328 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001171/0.9591, allocations: 0.6898 MB / 1.328 GB, free: 12.9 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.9592, allocations: 91.64 kB / 1.329 GB, free: 12.81 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.9593, allocations: 111.4 kB / 1.329 GB, free: 12.7 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007973/0.9601, allocations: 0.5008 MB / 1.329 GB, free: 12.2 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.9601, allocations: 0 / 1.329 GB, free: 12.2 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.242e-06/0.9601, allocations: 0 / 1.329 GB, free: 12.2 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.9602, allocations: 0 / 1.329 GB, free: 12.2 MB / 1.061 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.0008588/0.961, allocations: 0.5911 MB / 1.33 GB, free: 11.56 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.9611, allocations: 12.92 kB / 1.33 GB, free: 11.55 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.249e-05/0.9611, allocations: 46.55 kB / 1.33 GB, free: 11.49 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003178/0.9615, allocations: 51.78 kB / 1.33 GB, free: 11.44 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004619/0.9619, allocations: 305.5 kB / 1.33 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.962, allocations: 12 kB / 1.33 GB, free: 11.09 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.92e-05/0.962, allocations: 16 kB / 1.33 GB, free: 11.08 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003856/0.9624, allocations: 197.1 kB / 1.33 GB, free: 10.87 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.9624, allocations: 0 / 1.33 GB, free: 10.87 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/0.9624, allocations: 8 kB / 1.33 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.9625, allocations: 4 kB / 1.33 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000312/0.9628, allocations: 131.8 kB / 1.33 GB, free: 10.73 MB / 1.061 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.001101/0.9639, allocations: 0.781 MB / 1.331 GB, free: 9.879 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002643/0.9642, allocations: 86.47 kB / 1.331 GB, free: 9.785 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001711/0.9643, allocations: 76.88 kB / 1.331 GB, free: 9.707 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000311/0.9647, allocations: 190.2 kB / 1.332 GB, free: 9.484 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/0.9647, allocations: 30.56 kB / 1.332 GB, free: 9.445 MB / 1.061 GB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.9647, allocations: 0 / 1.332 GB, free: 9.445 MB / 1.061 GB Notification: Performance of matching and sorting (n=10): time 0.0007266/0.9654, allocations: 225.3 kB / 1.332 GB, free: 9.219 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.9655, allocations: 55.41 kB / 1.332 GB, free: 9.152 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000303/0.9658, allocations: 267 kB / 1.332 GB, free: 8.891 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.9658, allocations: 29.7 kB / 1.332 GB, free: 8.855 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.966, allocations: 151.9 kB / 1.332 GB, free: 8.703 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.891e-05/0.966, allocations: 35.64 kB / 1.332 GB, free: 8.668 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.621e-05/0.9661, allocations: 33.7 kB / 1.332 GB, free: 8.629 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001806/0.9663, allocations: 334.8 kB / 1.333 GB, free: 8.293 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.9664, allocations: 48.77 kB / 1.333 GB, free: 8.242 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/0.9666, allocations: 89.11 kB / 1.333 GB, free: 8.137 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002937/0.9669, allocations: 123.3 kB / 1.333 GB, free: 8.004 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.9669, allocations: 0 / 1.333 GB, free: 8.004 MB / 1.061 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003747/0.9673, allocations: 157.4 kB / 1.333 GB, free: 7.844 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.9673, allocations: 10.34 kB / 1.333 GB, free: 7.836 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.9674, allocations: 7.969 kB / 1.333 GB, free: 7.828 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.9674, allocations: 0 / 1.333 GB, free: 7.828 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.9675, allocations: 27.92 kB / 1.333 GB, free: 7.801 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.9675, allocations: 0 / 1.333 GB, free: 7.801 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.9677, allocations: 24.44 kB / 1.333 GB, free: 7.777 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.9678, allocations: 4 kB / 1.333 GB, free: 7.773 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002317/0.968, allocations: 152.1 kB / 1.333 GB, free: 7.621 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001815/0.9682, allocations: 97.05 kB / 1.333 GB, free: 7.508 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002657/0.9685, allocations: 123.4 kB / 1.334 GB, free: 7.375 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.51e-07/0.9685, allocations: 0 / 1.334 GB, free: 7.375 MB / 1.061 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003337/0.9688, allocations: 157.4 kB / 1.334 GB, free: 7.215 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 8.175e-06/0.9688, allocations: 4 kB / 1.334 GB, free: 7.211 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-06/0.9688, allocations: 0 / 1.334 GB, free: 7.211 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.174e-06/0.9688, allocations: 7.938 kB / 1.334 GB, free: 7.203 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.969, allocations: 23.92 kB / 1.334 GB, free: 7.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.969, allocations: 3.984 kB / 1.334 GB, free: 7.176 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/0.9691, allocations: 15.98 kB / 1.334 GB, free: 7.16 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.9692, allocations: 8.031 kB / 1.334 GB, free: 7.152 MB / 1.061 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.0001161/0.9693, allocations: 188.2 kB / 1.334 GB, free: 6.961 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.879e-05/0.9693, allocations: 23.86 kB / 1.334 GB, free: 6.938 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000403/0.9698, allocations: 163.2 kB / 1.334 GB, free: 6.766 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.9698, allocations: 4 kB / 1.334 GB, free: 6.762 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.9698, allocations: 0 / 1.334 GB, free: 6.762 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.9698, allocations: 0 / 1.334 GB, free: 6.762 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009355/0.9707, allocations: 0.59 MB / 1.335 GB, free: 6.094 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.9707, allocations: 4.031 kB / 1.335 GB, free: 6.09 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.9709, allocations: 31.92 kB / 1.335 GB, free: 6.059 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.9709, allocations: 0 / 1.335 GB, free: 6.059 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.9709, allocations: 4 kB / 1.335 GB, free: 6.055 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.9709, allocations: 4 kB / 1.335 GB, free: 6.051 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.9709, allocations: 3.938 kB / 1.335 GB, free: 6.047 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004033/0.9713, allocations: 297.2 kB / 1.335 GB, free: 5.719 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.9714, allocations: 109 kB / 1.335 GB, free: 5.594 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.749e-05/0.9715, allocations: 12 kB / 1.335 GB, free: 5.582 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.9717, allocations: 12.36 kB / 1.335 GB, free: 5.57 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.077e-05/0.9717, allocations: 15.92 kB / 1.335 GB, free: 5.555 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.9717, allocations: 4 kB / 1.335 GB, free: 5.551 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002175/0.972, allocations: 197.9 kB / 1.335 GB, free: 5.355 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.5e-07/0.972, allocations: 3.938 kB / 1.335 GB, free: 5.352 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004645/0.9724, allocations: 91.83 kB / 1.335 GB, free: 5.262 MB / 1.061 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.001115/0.9736, allocations: 0.9026 MB / 1.336 GB, free: 4.32 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000466/0.9741, allocations: 163.7 kB / 1.336 GB, free: 4.16 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.9741, allocations: 4.125 kB / 1.336 GB, free: 4.156 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.9742, allocations: 63.89 kB / 1.337 GB, free: 4.094 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007043/0.9749, allocations: 117.8 kB / 1.337 GB, free: 3.98 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003094/0.978, allocations: 2.368 MB / 1.339 GB, free: 1.477 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004214/0.9785, allocations: 0.748 MB / 1.34 GB, free: 0.7031 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002205/0.9787, allocations: 65.89 kB / 1.34 GB, free: 0.6367 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.9788, allocations: 75.41 kB / 1.34 GB, free: 0.5625 MB / 1.061 GB Notification: Performance of SimCode: time 5.71e-07/0.9788, allocations: 3.938 kB / 1.34 GB, free: 0.5586 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03054/1.009, allocations: 6.904 MB / 1.347 GB, free: 9.816 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.38/9.39, allocations: 30.41 kB / 1.347 GB, free: 9.789 MB / 1.076 GB (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_FixedResistances_Examples_PressureDrop.fmu > Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches