Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_9_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.00975/0.00975, allocations: 102.4 kB / 15.73 MB, free: 6.023 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.001807/0.001807, allocations: 195.5 kB / 16.67 MB, free: 5.938 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.201/2.201, allocations: 390.3 MB / 0.6648 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 63.91 kB / 0.9504 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8111/0.8127, allocations: 140.4 MB / 1.087 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2276/1.04, allocations: 194 MB / 1.277 GB, free: 11.7 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01058/1.051, allocations: 6.944 MB / 1.284 GB, free: 4.734 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001415/1.052, allocations: 43.69 kB / 1.284 GB, free: 4.691 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001738/1.054, allocations: 0.7026 MB / 1.284 GB, free: 3.984 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005755/1.06, allocations: 2.447 MB / 1.287 GB, free: 1.527 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003557/1.064, allocations: 1.425 MB / 1.288 GB, free: 120 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004189/1.068, allocations: 3.011 MB / 1.291 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001597/1.069, allocations: 0.8801 MB / 1.292 GB, free: 12.2 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003253/1.073, allocations: 1.152 MB / 1.293 GB, free: 11.05 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001713/1.074, allocations: 0.801 MB / 1.294 GB, free: 10.25 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0003274/1.075, allocations: 100 kB / 1.294 GB, free: 10.16 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004537/1.079, allocations: 2.074 MB / 1.296 GB, free: 8.078 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0006565/1.08, allocations: 358.9 kB / 1.296 GB, free: 7.727 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001244/1.081, allocations: 0.5947 MB / 1.297 GB, free: 7.129 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.005912/1.087, allocations: 2.395 MB / 1.299 GB, free: 4.727 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/1.087, allocations: 0 / 1.299 GB, free: 4.727 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.345e-06/1.087, allocations: 0 / 1.299 GB, free: 4.727 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.597e-05/1.087, allocations: 0 / 1.299 GB, free: 4.727 MB / 1.029 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.004658/1.092, allocations: 1.677 MB / 1.301 GB, free: 2.988 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/1.092, allocations: 12.03 kB / 1.301 GB, free: 2.977 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002312/1.092, allocations: 110.5 kB / 1.301 GB, free: 2.859 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003122/1.095, allocations: 0.5416 MB / 1.302 GB, free: 2.316 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002777/1.098, allocations: 1.042 MB / 1.303 GB, free: 1.23 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.833e-05/1.098, allocations: 49.31 kB / 1.303 GB, free: 1.184 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001607/1.098, allocations: 72 kB / 1.303 GB, free: 1.113 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002617/1.101, allocations: 1.112 MB / 1.304 GB, free: 15.97 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/1.101, allocations: 4 kB / 1.304 GB, free: 15.97 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/1.101, allocations: 28 kB / 1.304 GB, free: 15.94 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.584e-05/1.101, allocations: 29.3 kB / 1.304 GB, free: 15.91 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003315/1.105, allocations: 1.16 MB / 1.305 GB, free: 14.75 MB / 1.045 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.007102/1.112, allocations: 3.187 MB / 1.308 GB, free: 11.48 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001894/1.114, allocations: 0.6802 MB / 1.309 GB, free: 10.8 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008599/1.114, allocations: 433.7 kB / 1.309 GB, free: 10.38 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009666/1.115, allocations: 1.021 MB / 1.31 GB, free: 9.133 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001094/1.117, allocations: 0.5065 MB / 1.311 GB, free: 8.59 MB / 1.045 GB Notification: Performance of pre-optimization done (n=57): time 4.799e-06/1.117, allocations: 7.922 kB / 1.311 GB, free: 8.582 MB / 1.045 GB Notification: Performance of matching and sorting (n=57): time 0.003088/1.12, allocations: 1.233 MB / 1.312 GB, free: 7.344 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.397e-05/1.12, allocations: 144.8 kB / 1.312 GB, free: 7.172 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001949/1.122, allocations: 1.18 MB / 1.313 GB, free: 5.977 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 7.77e-05/1.122, allocations: 37.7 kB / 1.313 GB, free: 5.934 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003677/1.122, allocations: 445.8 kB / 1.314 GB, free: 5.496 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000171/1.122, allocations: 198.3 kB / 1.314 GB, free: 5.301 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002949/1.123, allocations: 138.2 kB / 1.314 GB, free: 5.16 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001328/1.123, allocations: 330 kB / 1.314 GB, free: 4.832 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00124/1.124, allocations: 444.8 kB / 1.315 GB, free: 4.395 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001401/1.125, allocations: 0.5964 MB / 1.315 GB, free: 3.754 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002219/1.128, allocations: 0.9301 MB / 1.316 GB, free: 2.77 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.758e-06/1.128, allocations: 4 kB / 1.316 GB, free: 2.766 MB / 1.045 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003286/1.131, allocations: 1.198 MB / 1.317 GB, free: 1.551 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.757e-05/1.131, allocations: 45.97 kB / 1.317 GB, free: 1.5 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/1.131, allocations: 4 kB / 1.317 GB, free: 1.496 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.463e-05/1.131, allocations: 4 kB / 1.317 GB, free: 1.492 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000963/1.132, allocations: 191.7 kB / 1.318 GB, free: 1.305 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/1.132, allocations: 7.938 kB / 1.318 GB, free: 1.297 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/1.134, allocations: 247.1 kB / 1.318 GB, free: 1.055 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.032e-05/1.134, allocations: 39.98 kB / 1.318 GB, free: 1.016 MB / 1.045 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.0006495/1.134, allocations: 329.4 kB / 1.318 GB, free: 0.6797 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002347/1.135, allocations: 123.2 kB / 1.318 GB, free: 0.5586 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002215/1.137, allocations: 0.9896 MB / 1.319 GB, free: 15.56 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.811e-05/1.137, allocations: 15.88 kB / 1.319 GB, free: 15.55 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/1.137, allocations: 0 / 1.319 GB, free: 15.55 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.896e-06/1.137, allocations: 3.984 kB / 1.319 GB, free: 15.54 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005363/1.142, allocations: 3.154 MB / 1.322 GB, free: 12.23 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-05/1.142, allocations: 4.516 kB / 1.322 GB, free: 12.23 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005867/1.143, allocations: 123.8 kB / 1.323 GB, free: 12.11 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.745e-05/1.143, allocations: 12 kB / 1.323 GB, free: 12.09 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.673e-05/1.143, allocations: 23.98 kB / 1.323 GB, free: 12.07 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-05/1.143, allocations: 15.94 kB / 1.323 GB, free: 12.05 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.007e-05/1.143, allocations: 11.94 kB / 1.323 GB, free: 12.04 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002466/1.146, allocations: 1.354 MB / 1.324 GB, free: 10.57 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006344/1.146, allocations: 339.9 kB / 1.324 GB, free: 10.22 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002308/1.146, allocations: 20 kB / 1.324 GB, free: 10.2 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/1.148, allocations: 103.9 kB / 1.324 GB, free: 10.1 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/1.148, allocations: 71.5 kB / 1.324 GB, free: 10.03 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.83e-05/1.148, allocations: 39.97 kB / 1.324 GB, free: 9.992 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001475/1.149, allocations: 0.8521 MB / 1.325 GB, free: 9.133 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.7e-07/1.149, allocations: 0 / 1.325 GB, free: 9.133 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001118/1.15, allocations: 295.7 kB / 1.326 GB, free: 8.844 MB / 1.061 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.003317/1.154, allocations: 2.134 MB / 1.328 GB, free: 6.598 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002564/1.156, allocations: 1.017 MB / 1.329 GB, free: 5.566 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/1.156, allocations: 0 / 1.329 GB, free: 5.566 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0009899/1.157, allocations: 0.5087 MB / 1.329 GB, free: 5.047 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00282/1.16, allocations: 0.5574 MB / 1.33 GB, free: 4.504 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01878/1.179, allocations: 9.406 MB / 1.339 GB, free: 10.7 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000852/1.18, allocations: 1.073 MB / 1.34 GB, free: 9.594 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0012/1.181, allocations: 275.9 kB / 1.34 GB, free: 9.324 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005665/1.182, allocations: 363.2 kB / 1.341 GB, free: 8.969 MB / 1.076 GB Notification: Performance of SimCode: time 7.82e-07/1.182, allocations: 0 / 1.341 GB, free: 8.969 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06106/1.243, allocations: 31.77 MB / 1.372 GB, free: 9.594 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.818/11.06, allocations: 0 / 1.372 GB, free: 9.594 MB / 1.107 GB (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches