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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001356/0.001356, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001495/0.001495, allocations: 193.7 kB / 16.14 MB, free: 6.652 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.341/1.341, allocations: 222.9 MB / 239.8 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.329/2.329, allocations: 390.2 MB / 0.6643 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 67.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5205/0.5218, allocations: 140.4 MB / 0.9491 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1579/0.6798, allocations: 165.1 MB / 1.11 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.002222/0.682, allocations: 1.572 MB / 1.112 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002403/0.6823, allocations: 11.88 kB / 1.112 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0003683/0.6827, allocations: 111.2 kB / 1.112 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001272/0.684, allocations: 0.6653 MB / 1.113 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001123/0.6851, allocations: 0.5525 MB / 1.113 GB, free: 9.484 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0008217/0.6859, allocations: 0.9664 MB / 1.114 GB, free: 8.516 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002985/0.6862, allocations: 205.3 kB / 1.114 GB, free: 8.312 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004939/0.6867, allocations: 306.7 kB / 1.115 GB, free: 8.012 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002563/0.687, allocations: 231.1 kB / 1.115 GB, free: 7.785 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.635e-05/0.687, allocations: 16 kB / 1.115 GB, free: 7.77 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001329/0.6884, allocations: 1.009 MB / 1.116 GB, free: 6.758 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.6885, allocations: 103.6 kB / 1.116 GB, free: 6.656 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001529/0.6887, allocations: 155.2 kB / 1.116 GB, free: 6.504 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0009229/0.6896, allocations: 0.7596 MB / 1.117 GB, free: 5.742 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.6896, allocations: 0 / 1.117 GB, free: 5.742 MB / 0.8731 GB Notification: Performance of FrontEnd: time 7.62e-07/0.6896, allocations: 0 / 1.117 GB, free: 5.742 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.6896, allocations: 0 / 1.117 GB, free: 5.742 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.0008101/0.6904, allocations: 0.6545 MB / 1.117 GB, free: 5.039 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.6905, allocations: 8.031 kB / 1.117 GB, free: 5.031 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.087e-05/0.6905, allocations: 54.55 kB / 1.117 GB, free: 4.969 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/0.6916, allocations: 159.3 kB / 1.118 GB, free: 4.812 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003445/0.692, allocations: 301.7 kB / 1.118 GB, free: 4.477 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.692, allocations: 20.44 kB / 1.118 GB, free: 4.457 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.493e-05/0.692, allocations: 27.98 kB / 1.118 GB, free: 4.43 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004331/0.6925, allocations: 283.3 kB / 1.118 GB, free: 4.129 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.6925, allocations: 0 / 1.118 GB, free: 4.129 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/0.6925, allocations: 11.98 kB / 1.118 GB, free: 4.117 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.6925, allocations: 4 kB / 1.118 GB, free: 4.113 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003901/0.6929, allocations: 199.8 kB / 1.118 GB, free: 3.918 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.001207/0.6941, allocations: 1.205 MB / 1.12 GB, free: 2.609 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002507/0.6944, allocations: 138.5 kB / 1.12 GB, free: 2.465 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001589/0.6946, allocations: 92.81 kB / 1.12 GB, free: 2.371 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005702/0.6952, allocations: 307.2 kB / 1.12 GB, free: 2.016 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.6952, allocations: 42.48 kB / 1.12 GB, free: 1.965 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=15): time 1.212e-06/0.6952, allocations: 0 / 1.12 GB, free: 1.965 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15): time 0.0006843/0.6959, allocations: 273.5 kB / 1.12 GB, free: 1.691 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.6959, allocations: 59.41 kB / 1.12 GB, free: 1.621 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.6962, allocations: 316.5 kB / 1.121 GB, free: 1.305 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.6962, allocations: 29.7 kB / 1.121 GB, free: 1.27 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.6964, allocations: 184.1 kB / 1.121 GB, free: 1.086 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.91e-05/0.6964, allocations: 55.2 kB / 1.121 GB, free: 1.031 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.526e-05/0.6965, allocations: 41.7 kB / 1.121 GB, free: 0.9844 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.6966, allocations: 338.8 kB / 1.121 GB, free: 0.6445 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.6967, allocations: 63.95 kB / 1.121 GB, free: 0.582 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/0.697, allocations: 134.8 kB / 1.122 GB, free: 444 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003273/0.6973, allocations: 178.5 kB / 1.122 GB, free: 248 kB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.6973, allocations: 8 kB / 1.122 GB, free: 240 kB / 0.8731 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004317/0.6977, allocations: 237.1 kB / 1.122 GB, free: 15.99 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.6978, allocations: 4 kB / 1.122 GB, free: 15.99 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.6978, allocations: 0 / 1.122 GB, free: 15.99 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.6978, allocations: 4 kB / 1.122 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.698, allocations: 47.86 kB / 1.122 GB, free: 15.94 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.698, allocations: 4 kB / 1.122 GB, free: 15.94 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/0.6982, allocations: 35.77 kB / 1.122 GB, free: 15.9 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/0.6982, allocations: 12 kB / 1.122 GB, free: 15.89 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.0001218/0.6983, allocations: 153.6 kB / 1.122 GB, free: 15.73 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.741e-05/0.6984, allocations: 27.72 kB / 1.122 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004127/0.6988, allocations: 217.5 kB / 1.122 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.6988, allocations: 0 / 1.122 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.6988, allocations: 4 kB / 1.122 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.6988, allocations: 3.984 kB / 1.122 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008979/0.6998, allocations: 0.6796 MB / 1.123 GB, free: 14.72 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.6998, allocations: 7.938 kB / 1.123 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001497/0.6999, allocations: 27.98 kB / 1.123 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.6999, allocations: 3.938 kB / 1.123 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.7, allocations: 12 kB / 1.123 GB, free: 14.67 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.7, allocations: 7.938 kB / 1.123 GB, free: 14.66 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.7, allocations: 4.156 kB / 1.123 GB, free: 14.66 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005682/0.7005, allocations: 438.9 kB / 1.124 GB, free: 14.19 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.7007, allocations: 128.7 kB / 1.124 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.05e-05/0.7007, allocations: 4 kB / 1.124 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.7009, allocations: 19.89 kB / 1.124 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.369e-05/0.7009, allocations: 15.98 kB / 1.124 GB, free: 14.01 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.701, allocations: 12 kB / 1.124 GB, free: 14 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001981/0.7012, allocations: 227 kB / 1.124 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7012, allocations: 0 / 1.124 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003421/0.7015, allocations: 68 kB / 1.124 GB, free: 13.71 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.001/0.7025, allocations: 1.028 MB / 1.125 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.000366/0.7029, allocations: 169.8 kB / 1.125 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.7029, allocations: 192 / 1.125 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001715/0.7031, allocations: 95.81 kB / 1.125 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007926/0.7039, allocations: 157.2 kB / 1.125 GB, free: 12.23 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003193/0.7071, allocations: 2.999 MB / 1.128 GB, free: 9.082 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.7074, allocations: 0.7797 MB / 1.129 GB, free: 8.273 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001989/0.7076, allocations: 67.14 kB / 1.129 GB, free: 8.211 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.7077, allocations: 87.41 kB / 1.129 GB, free: 8.125 MB / 0.8887 GB Notification: Performance of SimCode: time 2.3e-07/0.7077, allocations: 0 / 1.129 GB, free: 8.125 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2563/0.964, allocations: 8.363 MB / 1.138 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002827/0.9643, allocations: 237.5 kB / 1.138 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.031/2.995, allocations: 3.938 kB / 1.138 GB, free: 15.69 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 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.mat","/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