Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",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.001619/0.001619, allocations: 108 kB / 15.61 MB, free: 148 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.001916/0.001916, allocations: 196.6 kB / 16.53 MB, free: 6.656 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.377/1.377, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.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.44/2.44, allocations: 390.2 MB / 0.6647 GB, free: 432 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 67.88 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7099/0.7118, allocations: 140.4 MB / 0.9497 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1847/0.8965, allocations: 167.4 MB / 1.113 GB, free: 9.883 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.00313/0.8997, allocations: 1.556 MB / 1.115 GB, free: 8.324 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005999/0.9003, allocations: 11.88 kB / 1.115 GB, free: 8.312 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006557/0.901, allocations: 146.9 kB / 1.115 GB, free: 8.168 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002653/0.9037, allocations: 0.7039 MB / 1.116 GB, free: 7.461 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002189/0.9059, allocations: 0.5991 MB / 1.116 GB, free: 6.863 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001167/0.9071, allocations: 0.7051 MB / 1.117 GB, free: 6.156 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005946/0.9077, allocations: 229 kB / 1.117 GB, free: 5.93 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001036/0.9088, allocations: 334.8 kB / 1.117 GB, free: 5.602 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004639/0.9093, allocations: 227 kB / 1.118 GB, free: 5.379 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 7.609e-05/0.9094, allocations: 20 kB / 1.118 GB, free: 5.359 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001829/0.9112, allocations: 0.8573 MB / 1.118 GB, free: 4.5 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001923/0.9114, allocations: 111.6 kB / 1.119 GB, free: 4.391 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002767/0.9117, allocations: 159.2 kB / 1.119 GB, free: 4.234 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001439/0.9131, allocations: 0.7168 MB / 1.119 GB, free: 3.516 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.9131, allocations: 0 / 1.119 GB, free: 3.516 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9132, allocations: 0 / 1.119 GB, free: 3.516 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.535e-05/0.9132, allocations: 4 kB / 1.119 GB, free: 3.512 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001227/0.9144, allocations: 0.6473 MB / 1.12 GB, free: 2.812 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.566e-05/0.9145, allocations: 8.031 kB / 1.12 GB, free: 2.805 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.065e-05/0.9146, allocations: 62.48 kB / 1.12 GB, free: 2.734 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001293/0.9159, allocations: 159.3 kB / 1.12 GB, free: 2.578 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004515/0.9163, allocations: 301.7 kB / 1.12 GB, free: 2.246 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.9164, allocations: 24.44 kB / 1.121 GB, free: 2.223 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.201e-05/0.9164, allocations: 16 kB / 1.121 GB, free: 2.207 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005093/0.9169, allocations: 283.4 kB / 1.121 GB, free: 1.906 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.917, allocations: 0 / 1.121 GB, free: 1.906 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.577e-05/0.917, allocations: 12 kB / 1.121 GB, free: 1.895 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.917, allocations: 4 kB / 1.121 GB, free: 1.891 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004295/0.9174, allocations: 195.8 kB / 1.121 GB, free: 1.699 MB / 0.8731 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.001481/0.9189, allocations: 1.217 MB / 1.122 GB, free: 388 kB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.9192, allocations: 138.5 kB / 1.122 GB, free: 240 kB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001865/0.9194, allocations: 92.8 kB / 1.122 GB, free: 144 kB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006716/0.9201, allocations: 303.2 kB / 1.123 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.9201, allocations: 34.56 kB / 1.123 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=15): time 1.843e-06/0.9202, allocations: 0 / 1.123 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of matching and sorting (n=15): time 0.0008168/0.921, allocations: 279.8 kB / 1.123 GB, free: 15.47 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.921, allocations: 55.41 kB / 1.123 GB, free: 15.4 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003232/0.9214, allocations: 316.5 kB / 1.123 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.9214, allocations: 33.7 kB / 1.123 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.9215, allocations: 180.2 kB / 1.124 GB, free: 14.87 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.426e-05/0.9216, allocations: 51.2 kB / 1.124 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.72e-05/0.9217, allocations: 45.7 kB / 1.124 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.9218, allocations: 334.8 kB / 1.124 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.922, allocations: 63.95 kB / 1.124 GB, free: 14.37 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002129/0.9222, allocations: 130 kB / 1.124 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003569/0.9225, allocations: 193 kB / 1.124 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.9226, allocations: 0 / 1.124 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004956/0.9231, allocations: 242.1 kB / 1.125 GB, free: 13.78 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.9231, allocations: 8 kB / 1.125 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.9231, allocations: 3.938 kB / 1.125 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.9231, allocations: 4 kB / 1.125 GB, free: 13.76 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.9233, allocations: 44.06 kB / 1.125 GB, free: 13.72 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.9234, allocations: 3.938 kB / 1.125 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002132/0.9236, allocations: 39.67 kB / 1.125 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.091e-05/0.9236, allocations: 8 kB / 1.125 GB, free: 13.67 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 22 * 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.0001333/0.9238, allocations: 145.8 kB / 1.125 GB, free: 13.52 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.263e-05/0.9238, allocations: 31.72 kB / 1.125 GB, free: 13.48 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004807/0.9243, allocations: 220.3 kB / 1.125 GB, free: 13.26 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.9243, allocations: 0 / 1.125 GB, free: 13.26 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.9243, allocations: 4 kB / 1.125 GB, free: 13.26 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.9244, allocations: 3.984 kB / 1.125 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.9254, allocations: 0.6834 MB / 1.126 GB, free: 12.49 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.9254, allocations: 7.938 kB / 1.126 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.9256, allocations: 31.92 kB / 1.126 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.9256, allocations: 3.938 kB / 1.126 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.9256, allocations: 4 kB / 1.126 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.9257, allocations: 4.219 kB / 1.126 GB, free: 12.44 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.9257, allocations: 4 kB / 1.126 GB, free: 12.44 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006597/0.9263, allocations: 434.9 kB / 1.126 GB, free: 11.98 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.9265, allocations: 128.7 kB / 1.126 GB, free: 11.83 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.837e-05/0.9265, allocations: 8 kB / 1.126 GB, free: 11.82 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.9267, allocations: 4 kB / 1.126 GB, free: 11.82 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.498e-05/0.9268, allocations: 23.98 kB / 1.126 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.9268, allocations: 7.984 kB / 1.126 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002212/0.927, allocations: 223.1 kB / 1.127 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/0.927, allocations: 0 / 1.127 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004066/0.9274, allocations: 79.89 kB / 1.127 GB, free: 11.49 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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 (15): * Single equations (assignments): 15 * 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.001217/0.9287, allocations: 1.041 MB / 1.128 GB, free: 10.41 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004578/0.9291, allocations: 175.6 kB / 1.128 GB, free: 10.24 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.9291, allocations: 0 / 1.128 GB, free: 10.24 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001962/0.9293, allocations: 92.02 kB / 1.128 GB, free: 10.15 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009293/0.9303, allocations: 165 kB / 1.128 GB, free: 9.996 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003744/0.934, allocations: 2.914 MB / 1.131 GB, free: 6.926 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.9344, allocations: 0.7795 MB / 1.132 GB, free: 6.121 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002475/0.9346, allocations: 66.92 kB / 1.132 GB, free: 6.059 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001411/0.9348, allocations: 83.41 kB / 1.132 GB, free: 5.977 MB / 0.8887 GB Notification: Performance of SimCode: time 6.12e-07/0.9348, allocations: 4 kB / 1.132 GB, free: 5.973 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03063/0.9654, allocations: 8.75 MB / 1.14 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.79/8.755, allocations: 17.48 kB / 1.14 GB, free: 13.38 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_9_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches