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.00504/0.00504, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001235/0.001236, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.273/1.273, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.089/2.089, allocations: 390.3 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 64.14 kB / 0.9504 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2126, allocations: 140.4 MB / 1.087 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1415/0.3542, allocations: 167.4 MB / 1.251 GB, free: 9.977 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00209/0.3563, allocations: 1.547 MB / 1.252 GB, free: 8.426 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.3565, allocations: 11.94 kB / 1.252 GB, free: 8.414 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0003701/0.3569, allocations: 150.8 kB / 1.253 GB, free: 8.266 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001198/0.3581, allocations: 0.7 MB / 1.253 GB, free: 7.562 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.3592, allocations: 0.5961 MB / 1.254 GB, free: 6.969 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0005826/0.3598, allocations: 0.709 MB / 1.255 GB, free: 6.258 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000302/0.3601, allocations: 229.7 kB / 1.255 GB, free: 6.031 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004391/0.3605, allocations: 334.8 kB / 1.255 GB, free: 5.703 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002201/0.3608, allocations: 219 kB / 1.255 GB, free: 5.488 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.994e-05/0.3608, allocations: 27.94 kB / 1.255 GB, free: 5.461 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001065/0.3619, allocations: 0.8612 MB / 1.256 GB, free: 4.598 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.362, allocations: 119.6 kB / 1.256 GB, free: 4.48 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001363/0.3621, allocations: 159.3 kB / 1.256 GB, free: 4.324 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0007679/0.3629, allocations: 0.7171 MB / 1.257 GB, free: 3.605 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3629, allocations: 0 / 1.257 GB, free: 3.605 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3629, allocations: 7.938 kB / 1.257 GB, free: 3.598 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.3629, allocations: 0 / 1.257 GB, free: 3.598 MB / 1.014 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.0007584/0.3637, allocations: 0.6466 MB / 1.258 GB, free: 2.902 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.3637, allocations: 8.031 kB / 1.258 GB, free: 2.895 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.92e-05/0.3638, allocations: 58.55 kB / 1.258 GB, free: 2.828 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/0.3648, allocations: 155.4 kB / 1.258 GB, free: 2.676 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004262/0.3652, allocations: 321.7 kB / 1.258 GB, free: 2.324 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.3653, allocations: 24.38 kB / 1.258 GB, free: 2.301 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.742e-05/0.3653, allocations: 16 kB / 1.258 GB, free: 2.285 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004083/0.3657, allocations: 283.4 kB / 1.259 GB, free: 1.984 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.3657, allocations: 0 / 1.259 GB, free: 1.984 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.3658, allocations: 12 kB / 1.259 GB, free: 1.973 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.3658, allocations: 4 kB / 1.259 GB, free: 1.969 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000374/0.3662, allocations: 203.7 kB / 1.259 GB, free: 1.77 MB / 1.014 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.001159/0.3673, allocations: 1.209 MB / 1.26 GB, free: 468 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002411/0.3676, allocations: 134.5 kB / 1.26 GB, free: 324 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/0.3678, allocations: 92.8 kB / 1.26 GB, free: 228 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4341/0.8019, allocations: 312.1 kB / 1.261 GB, free: 176.7 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.802, allocations: 33.39 kB / 1.261 GB, free: 176.7 MB / 1.014 GB Notification: Performance of pre-optimization done (n=15): time 2.134e-06/0.802, allocations: 0 / 1.261 GB, free: 176.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=15): time 0.0008373/0.8028, allocations: 280.9 kB / 1.261 GB, free: 176.6 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.211e-05/0.8028, allocations: 56.14 kB / 1.261 GB, free: 176.6 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003077/0.8032, allocations: 313.2 kB / 1.261 GB, free: 176.5 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.8032, allocations: 30.05 kB / 1.261 GB, free: 176.4 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 9.413e-05/0.8033, allocations: 180.7 kB / 1.261 GB, free: 176.4 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.501e-05/0.8033, allocations: 52.25 kB / 1.261 GB, free: 176.3 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.029e-05/0.8034, allocations: 46.14 kB / 1.261 GB, free: 176.3 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 6.552e-05/0.8035, allocations: 344.1 kB / 1.262 GB, free: 176 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.8036, allocations: 64.53 kB / 1.262 GB, free: 176 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/0.8038, allocations: 123.9 kB / 1.262 GB, free: 176 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003217/0.8042, allocations: 183.9 kB / 1.262 GB, free: 175.9 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.8042, allocations: 1.156 kB / 1.262 GB, free: 175.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004354/0.8046, allocations: 242.6 kB / 1.262 GB, free: 175.9 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.8047, allocations: 6.703 kB / 1.262 GB, free: 175.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.8047, allocations: 1.844 kB / 1.262 GB, free: 175.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.8047, allocations: 2 kB / 1.262 GB, free: 175.9 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/0.8049, allocations: 42.31 kB / 1.262 GB, free: 175.9 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.8049, allocations: 2.906 kB / 1.262 GB, free: 175.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001962/0.8051, allocations: 32.94 kB / 1.262 GB, free: 175.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.77e-05/0.8051, allocations: 13.02 kB / 1.262 GB, free: 175.9 MB / 1.014 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.0001134/0.8053, allocations: 149 kB / 1.263 GB, free: 175.7 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.939e-05/0.8053, allocations: 32 kB / 1.263 GB, free: 175.7 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004517/0.8058, allocations: 222.3 kB / 1.263 GB, free: 175.7 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.8058, allocations: 1.812 kB / 1.263 GB, free: 175.7 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.8058, allocations: 2.078 kB / 1.263 GB, free: 175.7 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.8058, allocations: 2.266 kB / 1.263 GB, free: 175.7 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009606/0.8068, allocations: 0.682 MB / 1.264 GB, free: 175.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.8068, allocations: 16.12 kB / 1.264 GB, free: 175.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.807, allocations: 28.89 kB / 1.264 GB, free: 175.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.807, allocations: 3.469 kB / 1.264 GB, free: 175.3 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.807, allocations: 8.5 kB / 1.264 GB, free: 175.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.807, allocations: 3.266 kB / 1.264 GB, free: 175.3 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.807, allocations: 6.516 kB / 1.264 GB, free: 175.3 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006034/0.8076, allocations: 427.3 kB / 1.264 GB, free: 175.1 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.824e-05/0.8077, allocations: 129.2 kB / 1.264 GB, free: 175 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.22e-05/0.8078, allocations: 6.297 kB / 1.264 GB, free: 175 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.8079, allocations: 10.23 kB / 1.264 GB, free: 175 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.148e-05/0.808, allocations: 18.03 kB / 1.264 GB, free: 175 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.808, allocations: 5.906 kB / 1.264 GB, free: 175 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002054/0.8082, allocations: 231.2 kB / 1.264 GB, free: 174.9 MB / 1.014 GB Notification: Performance of sort global known variables: time 6.61e-07/0.8082, allocations: 0.9688 kB / 1.264 GB, free: 174.9 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003902/0.8086, allocations: 84.92 kB / 1.264 GB, free: 174.9 MB / 1.014 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.0009768/0.8096, allocations: 1.026 MB / 1.265 GB, free: 174.1 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004133/0.81, allocations: 171.2 kB / 1.266 GB, free: 174.1 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.8101, allocations: 0 / 1.266 GB, free: 174.1 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001837/0.8102, allocations: 89.25 kB / 1.266 GB, free: 174.1 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008576/0.8111, allocations: 167.3 kB / 1.266 GB, free: 174 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003142/0.8143, allocations: 2.901 MB / 1.269 GB, free: 172.1 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.8145, allocations: 0.7778 MB / 1.269 GB, free: 171.4 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002002/0.8147, allocations: 70.59 kB / 1.27 GB, free: 171.4 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.8148, allocations: 88.67 kB / 1.27 GB, free: 171.3 MB / 1.014 GB Notification: Performance of SimCode: time 3.1e-07/0.8148, allocations: 0 / 1.27 GB, free: 171.3 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.194/5.009, allocations: 8.839 MB / 1.278 GB, free: 170.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/16, allocations: 6.469 kB / 1.278 GB, free: 170.5 MB / 1.014 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