Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",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.005705/0.005711, allocations: 99.11 kB / 15.73 MB, free: 6.039 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.001532/0.001532, allocations: 195.2 kB / 16.68 MB, free: 5.961 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.522/1.522, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.991/2.991, allocations: 469.8 MB / 0.7425 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 63.91 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3691, allocations: 159.1 MB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.9229/1.292, allocations: 194 MB / 1.41 GB, free: 13.19 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01179/1.304, allocations: 6.938 MB / 1.416 GB, free: 7.543 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001773/1.306, allocations: 45.81 kB / 1.416 GB, free: 7.523 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002033/1.308, allocations: 0.6874 MB / 1.417 GB, free: 6.934 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.006809/1.315, allocations: 2.343 MB / 1.419 GB, free: 5.133 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00391/1.318, allocations: 1.423 MB / 1.421 GB, free: 4.074 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.004848/1.323, allocations: 2.991 MB / 1.424 GB, free: 2.32 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001565/1.325, allocations: 0.8974 MB / 1.425 GB, free: 1.758 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003111/1.328, allocations: 1.132 MB / 1.426 GB, free: 1.094 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001668/1.33, allocations: 0.805 MB / 1.426 GB, free: 0.6094 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002135/1.33, allocations: 99.31 kB / 1.427 GB, free: 0.6094 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004522/1.335, allocations: 2.051 MB / 1.429 GB, free: 15.45 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0005519/1.335, allocations: 371.7 kB / 1.429 GB, free: 15.2 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0009019/1.336, allocations: 0.5873 MB / 1.43 GB, free: 14.79 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.004986/1.341, allocations: 2.405 MB / 1.432 GB, free: 12.83 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/1.341, allocations: 0 / 1.432 GB, free: 12.83 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.843e-06/1.341, allocations: 0 / 1.432 GB, free: 12.83 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.41e-05/1.341, allocations: 0 / 1.432 GB, free: 12.83 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003815/1.345, allocations: 1.667 MB / 1.434 GB, free: 11.11 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/1.345, allocations: 16.03 kB / 1.434 GB, free: 11.09 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001651/1.345, allocations: 114.4 kB / 1.434 GB, free: 10.97 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003114/1.348, allocations: 0.5377 MB / 1.434 GB, free: 10.43 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002465/1.351, allocations: 1.05 MB / 1.435 GB, free: 9.332 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.801e-05/1.351, allocations: 49.31 kB / 1.435 GB, free: 9.285 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/1.351, allocations: 71.98 kB / 1.435 GB, free: 9.215 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002639/1.354, allocations: 1.105 MB / 1.436 GB, free: 8.082 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.513e-05/1.354, allocations: 7.938 kB / 1.436 GB, free: 8.074 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.409e-05/1.354, allocations: 35.98 kB / 1.436 GB, free: 8.039 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.354e-05/1.354, allocations: 29.31 kB / 1.436 GB, free: 8.012 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003269/1.357, allocations: 1.164 MB / 1.438 GB, free: 6.848 MB / 1.123 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.006446/1.364, allocations: 3.183 MB / 1.441 GB, free: 3.586 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001924/1.365, allocations: 0.6802 MB / 1.441 GB, free: 2.898 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008654/1.366, allocations: 422.2 kB / 1.442 GB, free: 2.484 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001045/1.367, allocations: 1.021 MB / 1.443 GB, free: 1.242 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001123/1.369, allocations: 0.5182 MB / 1.443 GB, free: 0.6914 MB / 1.123 GB Notification: Performance of pre-optimization done (n=57): time 2.635e-06/1.369, allocations: 4 kB / 1.443 GB, free: 0.6875 MB / 1.123 GB Notification: Performance of matching and sorting (n=57): time 0.003246/1.372, allocations: 1.218 MB / 1.444 GB, free: 15.46 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/1.372, allocations: 148.8 kB / 1.445 GB, free: 15.29 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002129/1.374, allocations: 1.176 MB / 1.446 GB, free: 14.1 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001075/1.374, allocations: 41.7 kB / 1.446 GB, free: 14.05 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004308/1.375, allocations: 437.8 kB / 1.446 GB, free: 13.62 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002047/1.375, allocations: 198.3 kB / 1.446 GB, free: 13.42 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003026/1.375, allocations: 150.1 kB / 1.447 GB, free: 13.27 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001574/1.375, allocations: 330 kB / 1.447 GB, free: 12.94 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001274/1.377, allocations: 444.8 kB / 1.447 GB, free: 12.5 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001483/1.378, allocations: 0.5937 MB / 1.448 GB, free: 11.86 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002162/1.38, allocations: 0.9266 MB / 1.449 GB, free: 10.88 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/1.38, allocations: 4 kB / 1.449 GB, free: 10.88 MB / 1.139 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00326/1.384, allocations: 1.202 MB / 1.45 GB, free: 9.656 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 6.39e-05/1.384, allocations: 41.69 kB / 1.45 GB, free: 9.609 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/1.384, allocations: 8.281 kB / 1.45 GB, free: 9.602 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/1.384, allocations: 4 kB / 1.45 GB, free: 9.598 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009226/1.385, allocations: 187.7 kB / 1.45 GB, free: 9.414 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.716e-05/1.385, allocations: 11.92 kB / 1.45 GB, free: 9.402 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/1.386, allocations: 247.1 kB / 1.45 GB, free: 9.16 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.626e-05/1.386, allocations: 35.98 kB / 1.45 GB, free: 9.125 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * 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.0005356/1.387, allocations: 331.3 kB / 1.451 GB, free: 8.785 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002046/1.387, allocations: 123.2 kB / 1.451 GB, free: 8.664 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002217/1.389, allocations: 0.994 MB / 1.452 GB, free: 7.664 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.567e-05/1.389, allocations: 8 kB / 1.452 GB, free: 7.656 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/1.389, allocations: 3.938 kB / 1.452 GB, free: 7.652 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/1.389, allocations: 3.984 kB / 1.452 GB, free: 7.648 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005108/1.394, allocations: 3.158 MB / 1.455 GB, free: 4.336 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.395e-05/1.395, allocations: 12 kB / 1.455 GB, free: 4.324 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005923/1.395, allocations: 116.3 kB / 1.455 GB, free: 4.211 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.719e-05/1.395, allocations: 12 kB / 1.455 GB, free: 4.199 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.318e-05/1.395, allocations: 23.98 kB / 1.455 GB, free: 4.176 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.81e-05/1.395, allocations: 19.92 kB / 1.455 GB, free: 4.156 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.938e-06/1.395, allocations: 8 kB / 1.455 GB, free: 4.148 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002471/1.398, allocations: 1.342 MB / 1.456 GB, free: 2.688 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005831/1.398, allocations: 343.9 kB / 1.457 GB, free: 2.332 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001577/1.398, allocations: 20 kB / 1.457 GB, free: 2.312 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/1.4, allocations: 107.9 kB / 1.457 GB, free: 2.207 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/1.4, allocations: 59.7 kB / 1.457 GB, free: 2.148 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.301e-05/1.4, allocations: 39.97 kB / 1.457 GB, free: 2.109 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001574/1.401, allocations: 0.8482 MB / 1.458 GB, free: 1.254 MB / 1.139 GB Notification: Performance of sort global known variables: time 2e-07/1.401, allocations: 0 / 1.458 GB, free: 1.254 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001094/1.402, allocations: 299.6 kB / 1.458 GB, free: 0.9609 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.003332/1.406, allocations: 2.144 MB / 1.46 GB, free: 14.71 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002552/1.408, allocations: 1.017 MB / 1.461 GB, free: 13.68 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.408, allocations: 0 / 1.461 GB, free: 13.68 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001013/1.409, allocations: 0.5186 MB / 1.462 GB, free: 13.16 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002817/1.412, allocations: 0.5449 MB / 1.462 GB, free: 12.62 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01741/1.43, allocations: 9.423 MB / 1.471 GB, free: 2.789 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007701/1.43, allocations: 1.069 MB / 1.472 GB, free: 1.691 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001107/1.432, allocations: 272 kB / 1.473 GB, free: 1.426 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005683/1.432, allocations: 359.3 kB / 1.473 GB, free: 1.074 MB / 1.154 GB Notification: Performance of SimCode: time 1.032e-06/1.432, allocations: 4 kB / 1.473 GB, free: 1.07 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07148/1.504, allocations: 31.78 MB / 1.504 GB, free: 1.676 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/11.85, allocations: 0 / 1.504 GB, free: 1.676 MB / 1.186 GB (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches