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.0108/0.0108, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001584/0.001584, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.439/1.439, 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 9.1.3-maint.9.1.x/package.mo): time 2.338/2.338, allocations: 390.3 MB / 0.6648 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 71.91 kB / 0.9504 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9334/0.9348, allocations: 140.4 MB / 1.087 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2379/1.173, allocations: 194 MB / 1.277 GB, free: 11.7 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0113/1.184, allocations: 6.948 MB / 1.284 GB, free: 4.734 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001621/1.186, allocations: 43.69 kB / 1.284 GB, free: 4.691 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002069/1.188, allocations: 0.6869 MB / 1.284 GB, free: 4 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005808/1.194, allocations: 2.341 MB / 1.287 GB, free: 1.652 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003201/1.197, allocations: 1.43 MB / 1.288 GB, free: 244 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003799/1.201, allocations: 2.986 MB / 1.291 GB, free: 13.24 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001411/1.202, allocations: 0.8918 MB / 1.292 GB, free: 12.34 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002637/1.205, allocations: 1.138 MB / 1.293 GB, free: 11.2 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001503/1.206, allocations: 0.7941 MB / 1.294 GB, free: 10.41 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002807/1.207, allocations: 100 kB / 1.294 GB, free: 10.31 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003845/1.211, allocations: 2.058 MB / 1.296 GB, free: 8.25 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000597/1.211, allocations: 374.9 kB / 1.296 GB, free: 7.883 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001122/1.212, allocations: 0.5869 MB / 1.297 GB, free: 7.293 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004376/1.217, allocations: 2.388 MB / 1.299 GB, free: 4.898 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/1.217, allocations: 0 / 1.299 GB, free: 4.898 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.934e-06/1.217, allocations: 0 / 1.299 GB, free: 4.898 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.603e-05/1.217, allocations: 0 / 1.299 GB, free: 4.898 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.004896/1.222, allocations: 1.633 MB / 1.301 GB, free: 3.207 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/1.222, allocations: 8.031 kB / 1.301 GB, free: 3.199 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002011/1.222, allocations: 110.5 kB / 1.301 GB, free: 3.082 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003057/1.225, allocations: 0.537 MB / 1.301 GB, free: 2.543 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002647/1.228, allocations: 1.038 MB / 1.302 GB, free: 1.461 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.602e-05/1.228, allocations: 57.31 kB / 1.302 GB, free: 1.406 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001547/1.228, allocations: 67.98 kB / 1.303 GB, free: 1.34 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00251/1.23, allocations: 1.101 MB / 1.304 GB, free: 216 kB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/1.23, allocations: 3.938 kB / 1.304 GB, free: 212 kB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.529e-05/1.231, allocations: 28 kB / 1.304 GB, free: 184 kB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.483e-05/1.231, allocations: 29.3 kB / 1.304 GB, free: 156 kB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003148/1.234, allocations: 1.164 MB / 1.305 GB, free: 14.98 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.006174/1.24, allocations: 3.174 MB / 1.308 GB, free: 11.73 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001789/1.242, allocations: 0.688 MB / 1.309 GB, free: 11.04 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008246/1.243, allocations: 419.4 kB / 1.309 GB, free: 10.62 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008985/1.244, allocations: 1.021 MB / 1.31 GB, free: 9.383 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009944/1.245, allocations: 0.5259 MB / 1.31 GB, free: 8.82 MB / 1.045 GB Notification: Performance of pre-optimization done (n=57): time 3.126e-06/1.245, allocations: 0 / 1.31 GB, free: 8.82 MB / 1.045 GB Notification: Performance of matching and sorting (n=57): time 0.003166/1.248, allocations: 1.213 MB / 1.312 GB, free: 7.602 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/1.248, allocations: 144.8 kB / 1.312 GB, free: 7.43 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002245/1.25, allocations: 1.176 MB / 1.313 GB, free: 6.238 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001365/1.25, allocations: 41.7 kB / 1.313 GB, free: 6.191 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004264/1.251, allocations: 437.5 kB / 1.313 GB, free: 5.762 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002065/1.251, allocations: 197.2 kB / 1.314 GB, free: 5.566 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003178/1.251, allocations: 142.1 kB / 1.314 GB, free: 5.422 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001144/1.251, allocations: 330 kB / 1.314 GB, free: 5.094 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001226/1.253, allocations: 436.9 kB / 1.314 GB, free: 4.664 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00145/1.254, allocations: 0.5977 MB / 1.315 GB, free: 4.02 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002128/1.256, allocations: 0.9301 MB / 1.316 GB, free: 3.035 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/1.256, allocations: 4 kB / 1.316 GB, free: 3.031 MB / 1.045 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003099/1.259, allocations: 1.201 MB / 1.317 GB, free: 1.812 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.496e-05/1.259, allocations: 33.7 kB / 1.317 GB, free: 1.773 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/1.259, allocations: 4 kB / 1.317 GB, free: 1.77 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-05/1.259, allocations: 4 kB / 1.317 GB, free: 1.766 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009195/1.26, allocations: 195.9 kB / 1.317 GB, free: 1.574 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.776e-05/1.26, allocations: 11.98 kB / 1.317 GB, free: 1.562 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/1.262, allocations: 234.9 kB / 1.318 GB, free: 1.332 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.63e-05/1.262, allocations: 39.97 kB / 1.318 GB, free: 1.293 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.000553/1.263, allocations: 323.3 kB / 1.318 GB, free: 0.9609 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003177/1.263, allocations: 118.6 kB / 1.318 GB, free: 0.8438 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002333/1.265, allocations: 0.9937 MB / 1.319 GB, free: 15.84 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.896e-05/1.265, allocations: 11.94 kB / 1.319 GB, free: 15.83 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/1.265, allocations: 0 / 1.319 GB, free: 15.83 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/1.265, allocations: 3.984 kB / 1.319 GB, free: 15.82 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005354/1.271, allocations: 3.166 MB / 1.322 GB, free: 12.5 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-05/1.271, allocations: 8 kB / 1.322 GB, free: 12.5 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006211/1.271, allocations: 120 kB / 1.322 GB, free: 12.38 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.867e-05/1.271, allocations: 12 kB / 1.322 GB, free: 12.37 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.783e-05/1.271, allocations: 23.98 kB / 1.322 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-05/1.271, allocations: 15.94 kB / 1.322 GB, free: 12.33 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.335e-06/1.271, allocations: 11.94 kB / 1.322 GB, free: 12.32 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002162/1.274, allocations: 1.349 MB / 1.324 GB, free: 10.85 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006418/1.274, allocations: 327.3 kB / 1.324 GB, free: 10.51 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002389/1.274, allocations: 23.98 kB / 1.324 GB, free: 10.49 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001192/1.276, allocations: 103.9 kB / 1.324 GB, free: 10.39 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/1.276, allocations: 67.61 kB / 1.324 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.99e-05/1.276, allocations: 39.97 kB / 1.324 GB, free: 10.28 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001551/1.277, allocations: 0.8482 MB / 1.325 GB, free: 9.426 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.41e-07/1.277, allocations: 0 / 1.325 GB, free: 9.426 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001121/1.279, allocations: 299.8 kB / 1.325 GB, free: 9.133 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.003014/1.282, allocations: 2.135 MB / 1.327 GB, free: 6.891 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00241/1.284, allocations: 1.013 MB / 1.328 GB, free: 5.863 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/1.284, allocations: 4.125 kB / 1.328 GB, free: 5.859 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0009229/1.285, allocations: 0.514 MB / 1.329 GB, free: 5.336 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00273/1.288, allocations: 0.5514 MB / 1.329 GB, free: 4.797 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01627/1.304, allocations: 9.37 MB / 1.339 GB, free: 11.02 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000782/1.305, allocations: 1.073 MB / 1.34 GB, free: 9.922 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001044/1.306, allocations: 268 kB / 1.34 GB, free: 9.66 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005359/1.306, allocations: 355.3 kB / 1.34 GB, free: 9.312 MB / 1.076 GB Notification: Performance of SimCode: time 7.61e-07/1.306, allocations: 0 / 1.34 GB, free: 9.312 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06036/1.367, allocations: 31.78 MB / 1.371 GB, free: 9.934 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.22/11.58, allocations: 3 kB / 1.371 GB, free: 9.934 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