Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 108.8 kB / 16.45 MB, free: 6.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 191.7 kB / 19.41 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.667/2.667, allocations: 443.5 MB / 0.7287 GB, free: 13.24 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.HeatMeter,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 67.89 kB / 1.056 GB, free: 5.879 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9257/0.9277, allocations: 160.7 MB / 1.213 GB, free: 3.852 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.0315/0.9592, allocations: 23.41 MB / 1.236 GB, free: 0.7695 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.009466/0.9686, allocations: 5.109 MB / 1.241 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001388/0.97, allocations: 27.81 kB / 1.241 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.9711, allocations: 286 kB / 1.241 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002808/0.9739, allocations: 0.828 MB / 1.242 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002256/0.9761, allocations: 0.7791 MB / 1.243 GB, free: 9.73 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002798/0.9789, allocations: 1.613 MB / 1.244 GB, free: 8.113 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009618/0.9799, allocations: 413.6 kB / 1.245 GB, free: 7.707 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002242/0.9821, allocations: 0.6315 MB / 1.245 GB, free: 7.074 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001076/0.9832, allocations: 474 kB / 1.246 GB, free: 6.609 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001639/0.9834, allocations: 44 kB / 1.246 GB, free: 6.566 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001571/0.985, allocations: 0.4991 MB / 1.246 GB, free: 6.066 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000278/0.9852, allocations: 151.3 kB / 1.246 GB, free: 5.918 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0006152/0.9858, allocations: 306.5 kB / 1.247 GB, free: 5.617 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002263/0.9881, allocations: 0.9361 MB / 1.248 GB, free: 4.68 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.9881, allocations: 0 / 1.248 GB, free: 4.68 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.964e-06/0.9881, allocations: 0 / 1.248 GB, free: 4.68 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.575e-05/0.9881, allocations: 0 / 1.248 GB, free: 4.68 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001692/0.9898, allocations: 0.9029 MB / 1.248 GB, free: 3.727 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/0.9899, allocations: 12.62 kB / 1.248 GB, free: 3.715 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.723e-05/0.99, allocations: 78.72 kB / 1.249 GB, free: 3.629 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002546/0.9902, allocations: 68.56 kB / 1.249 GB, free: 3.562 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/0.9914, allocations: 0.5807 MB / 1.249 GB, free: 2.941 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.075e-05/0.9914, allocations: 29 kB / 1.249 GB, free: 2.91 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.941e-05/0.9915, allocations: 36 kB / 1.249 GB, free: 2.875 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007793/0.9923, allocations: 440.7 kB / 1.25 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.9923, allocations: 0 / 1.25 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.272e-05/0.9924, allocations: 16 kB / 1.25 GB, free: 2.41 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.972e-05/0.9924, allocations: 15.98 kB / 1.25 GB, free: 2.395 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005489/0.9929, allocations: 303.8 kB / 1.25 GB, free: 2.098 MB / 0.9512 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.003126/0.9961, allocations: 1.912 MB / 1.252 GB, free: 56 kB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006093/0.9967, allocations: 242.8 kB / 1.252 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/0.9969, allocations: 124.8 kB / 1.252 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009944/0.9979, allocations: 0.8389 MB / 1.253 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.45e-05/0.9979, allocations: 46.48 kB / 1.253 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=26): time 2.825e-06/0.9979, allocations: 0 / 1.253 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of matching and sorting (n=26): time 0.0008287/0.9987, allocations: 376.3 kB / 1.253 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.9988, allocations: 59.41 kB / 1.253 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006215/0.9994, allocations: 481.9 kB / 1.254 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.976e-05/0.9995, allocations: 37.64 kB / 1.254 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000236/0.9997, allocations: 260.4 kB / 1.254 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.884e-05/0.9998, allocations: 99.16 kB / 1.254 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.9999, allocations: 73.97 kB / 1.254 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001969/1, allocations: 358.8 kB / 1.255 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/1, allocations: 104.6 kB / 1.255 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002794/1.001, allocations: 164.1 kB / 1.255 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004952/1.001, allocations: 276 kB / 1.255 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/1.001, allocations: 0 / 1.255 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007318/1.002, allocations: 369.3 kB / 1.256 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/1.002, allocations: 10.34 kB / 1.256 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/1.002, allocations: 4 kB / 1.256 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/1.002, allocations: 7.938 kB / 1.256 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002979/1.002, allocations: 75.89 kB / 1.256 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/1.002, allocations: 4 kB / 1.256 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002927/1.002, allocations: 39.62 kB / 1.256 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.02e-05/1.003, allocations: 19.98 kB / 1.256 GB, free: 11.74 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (39): * Single equations (assignments): 39 * 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.0003037/1.003, allocations: 177.7 kB / 1.256 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/1.003, allocations: 51.72 kB / 1.256 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008736/1.004, allocations: 470.6 kB / 1.256 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/1.004, allocations: 7.938 kB / 1.256 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/1.004, allocations: 8 kB / 1.256 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000695/1.004, allocations: 0.5684 MB / 1.257 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002023/1.007, allocations: 1.148 MB / 1.258 GB, free: 9.152 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/1.007, allocations: 0 / 1.258 GB, free: 9.152 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002334/1.007, allocations: 51.86 kB / 1.258 GB, free: 9.102 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.003e-05/1.007, allocations: 8.031 kB / 1.258 GB, free: 9.094 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.217e-05/1.007, allocations: 15.98 kB / 1.258 GB, free: 9.078 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.239e-06/1.007, allocations: 4 kB / 1.258 GB, free: 9.074 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/1.007, allocations: 3.938 kB / 1.258 GB, free: 9.07 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009436/1.008, allocations: 0.6652 MB / 1.259 GB, free: 8.371 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002774/1.008, allocations: 176.6 kB / 1.259 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.043e-05/1.008, allocations: 8 kB / 1.259 GB, free: 8.172 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002666/1.008, allocations: 19.98 kB / 1.259 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.576e-05/1.008, allocations: 27.84 kB / 1.259 GB, free: 8.125 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.079e-05/1.008, allocations: 23.92 kB / 1.259 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004566/1.009, allocations: 342.9 kB / 1.259 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9.1e-08/1.009, allocations: 0 / 1.259 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0007019/1.01, allocations: 199.6 kB / 1.26 GB, free: 7.574 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (vol.dynBal.U,senT.T,senHeaFlo.T) * 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 (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.001896/1.012, allocations: 1.41 MB / 1.261 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005756/1.012, allocations: 267.8 kB / 1.261 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/1.012, allocations: 448 / 1.261 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002437/1.012, allocations: 159.7 kB / 1.261 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001614/1.014, allocations: 337.1 kB / 1.262 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006313/1.02, allocations: 4.224 MB / 1.266 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005416/1.021, allocations: 0.8627 MB / 1.267 GB, free: 120 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0004862/1.021, allocations: 124.6 kB / 1.267 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003034/1.022, allocations: 191.4 kB / 1.267 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of SimCode: time 1.703e-06/1.022, allocations: 0 / 1.267 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05253/1.074, allocations: 17.06 MB / 1.284 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.165/10.24, allocations: 8.578 kB / 1.284 GB, free: 15.02 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sensors_Examples_HeatMeter_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sensors_Examples_HeatMeter.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_HeatMeter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.26104752905667]