Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008422/0.0008422, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001984/0.001984, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9524/0.9524, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.746/1.746, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 0.9505 GB, free: 3.484 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.432e-05/2.626e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.477 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.0164/0.01642, allocations: 21.44 MB / 0.9715 GB, free: 13.94 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.006355/0.02278, allocations: 4.745 MB / 0.9761 GB, free: 9.184 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001287/0.02407, allocations: 35.69 kB / 0.9761 GB, free: 9.148 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0009751/0.02504, allocations: 289.9 kB / 0.9764 GB, free: 8.863 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.002438/0.02748, allocations: 0.8568 MB / 0.9772 GB, free: 8.004 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.002018/0.0295, allocations: 0.8094 MB / 0.978 GB, free: 7.199 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.001968/0.03146, allocations: 1.652 MB / 0.9796 GB, free: 5.543 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005453/0.03201, allocations: 394 kB / 0.98 GB, free: 5.148 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001361/0.03337, allocations: 0.846 MB / 0.9808 GB, free: 4.305 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004562/0.03383, allocations: 402.7 kB / 0.9812 GB, free: 3.91 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 5.625e-05/0.03388, allocations: 48 kB / 0.9813 GB, free: 3.863 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007847/0.03467, allocations: 414.9 kB / 0.9817 GB, free: 3.457 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.03479, allocations: 159.3 kB / 0.9818 GB, free: 3.301 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0001775/0.03497, allocations: 215.5 kB / 0.982 GB, free: 3.09 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001042/0.03601, allocations: 0.9542 MB / 0.983 GB, free: 2.133 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.03602, allocations: 0 / 0.983 GB, free: 2.133 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.673e-06/0.03602, allocations: 3.938 kB / 0.983 GB, free: 2.129 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 7.134e-06/0.03603, allocations: 4 kB / 0.983 GB, free: 2.125 MB / 0.9323 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.001027/0.03705, allocations: 0.8121 MB / 0.9838 GB, free: 1.281 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.0371, allocations: 12.02 kB / 0.9838 GB, free: 1.27 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.567e-05/0.03716, allocations: 82.66 kB / 0.9839 GB, free: 1.18 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001574/0.03732, allocations: 64.56 kB / 0.9839 GB, free: 1.117 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007601/0.03808, allocations: 0.5224 MB / 0.9844 GB, free: 0.5664 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.0381, allocations: 29.38 kB / 0.9845 GB, free: 0.5391 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.936e-05/0.0382, allocations: 40.12 kB / 0.9845 GB, free: 0.5 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005436/0.03875, allocations: 0.5018 MB / 0.985 GB, free: 15.96 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.03877, allocations: 4 kB / 0.985 GB, free: 15.95 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.014e-05/0.0388, allocations: 16 kB / 0.985 GB, free: 15.94 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.349e-05/0.03882, allocations: 8 kB / 0.985 GB, free: 15.93 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003589/0.03918, allocations: 307.8 kB / 0.9853 GB, free: 15.63 MB / 0.948 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.001808/0.04099, allocations: 1.517 MB / 0.9868 GB, free: 14.05 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003954/0.04138, allocations: 242.8 kB / 0.987 GB, free: 13.81 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.0415, allocations: 112.8 kB / 0.9871 GB, free: 13.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002882/0.04179, allocations: 99.89 kB / 0.9872 GB, free: 13.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.04182, allocations: 42.5 kB / 0.9873 GB, free: 13.55 MB / 0.948 GB Notification: Performance of pre-optimization done (n=26): time 3.286e-06/0.04182, allocations: 0 / 0.9873 GB, free: 13.55 MB / 0.948 GB Notification: Performance of matching and sorting (n=26): time 0.0005267/0.04235, allocations: 375.1 kB / 0.9876 GB, free: 13.18 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.04238, allocations: 55.41 kB / 0.9877 GB, free: 13.11 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004034/0.04278, allocations: 482 kB / 0.9881 GB, free: 12.63 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.04281, allocations: 29.7 kB / 0.9882 GB, free: 12.59 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.04296, allocations: 268.4 kB / 0.9884 GB, free: 12.33 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.822e-05/0.04302, allocations: 95.17 kB / 0.9885 GB, free: 12.23 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.934e-05/0.0431, allocations: 70.02 kB / 0.9886 GB, free: 12.16 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.0432, allocations: 358.8 kB / 0.9889 GB, free: 11.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.04332, allocations: 96.61 kB / 0.989 GB, free: 11.71 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/0.0435, allocations: 261 kB / 0.9893 GB, free: 11.41 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000281/0.04378, allocations: 276 kB / 0.9895 GB, free: 11.12 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.04378, allocations: 3.938 kB / 0.9895 GB, free: 11.11 MB / 0.948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000584/0.04436, allocations: 369.3 kB / 0.9899 GB, free: 10.75 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.04438, allocations: 8 kB / 0.9899 GB, free: 10.74 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.04439, allocations: 4 kB / 0.9899 GB, free: 10.73 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.04442, allocations: 4 kB / 0.9899 GB, free: 10.73 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/0.04459, allocations: 75.89 kB / 0.99 GB, free: 10.66 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.0446, allocations: 7.938 kB / 0.99 GB, free: 10.65 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.04478, allocations: 39.61 kB / 0.99 GB, free: 10.61 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.665e-05/0.04481, allocations: 15.98 kB / 0.99 GB, free: 10.59 MB / 0.948 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.0001649/0.04497, allocations: 177.8 kB / 0.9902 GB, free: 10.41 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.214e-05/0.04503, allocations: 59.67 kB / 0.9902 GB, free: 10.35 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005855/0.04562, allocations: 479 kB / 0.9907 GB, free: 9.875 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.04563, allocations: 4 kB / 0.9907 GB, free: 9.871 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.04564, allocations: 0 / 0.9907 GB, free: 9.871 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004083/0.04605, allocations: 0.584 MB / 0.9913 GB, free: 9.219 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001232/0.04728, allocations: 1.006 MB / 0.9923 GB, free: 8.145 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.04728, allocations: 7.938 kB / 0.9923 GB, free: 8.137 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001547/0.04744, allocations: 55.91 kB / 0.9923 GB, free: 8.082 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/0.04744, allocations: 0 / 0.9923 GB, free: 8.082 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.04747, allocations: 12 kB / 0.9923 GB, free: 8.07 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.04747, allocations: 0 / 0.9923 GB, free: 8.07 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.04747, allocations: 7.938 kB / 0.9923 GB, free: 8.062 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006511/0.04813, allocations: 0.6761 MB / 0.993 GB, free: 7.352 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001512/0.04828, allocations: 103.5 kB / 0.9931 GB, free: 7.25 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.924e-05/0.04832, allocations: 8 kB / 0.9931 GB, free: 7.242 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.04849, allocations: 15.98 kB / 0.9931 GB, free: 7.227 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.554e-05/0.04853, allocations: 19.91 kB / 0.9931 GB, free: 7.207 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.879e-05/0.04856, allocations: 19.98 kB / 0.9932 GB, free: 7.188 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002905/0.04885, allocations: 346.8 kB / 0.9935 GB, free: 6.852 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.11e-07/0.04885, allocations: 0 / 0.9935 GB, free: 6.852 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005739/0.04942, allocations: 203.5 kB / 0.9937 GB, free: 6.652 MB / 0.948 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.001176/0.0506, allocations: 1.408 MB / 0.9951 GB, free: 5.199 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003832/0.05098, allocations: 279.8 kB / 0.9953 GB, free: 4.926 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.05098, allocations: 4 kB / 0.9953 GB, free: 4.922 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.05114, allocations: 153.5 kB / 0.9955 GB, free: 4.773 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009301/0.05207, allocations: 337.6 kB / 0.9958 GB, free: 4.445 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004176/0.05625, allocations: 4.173 MB / 0.9999 GB, free: 112 kB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/0.05645, allocations: 270.5 kB / 1 GB, free: 15.82 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.000367/0.05682, allocations: 128.6 kB / 1 GB, free: 15.69 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001997/0.05702, allocations: 192.4 kB / 1 GB, free: 15.5 MB / 0.9636 GB Notification: Performance of SimCode: time 1.583e-06/0.05702, allocations: 0 / 1 GB, free: 15.5 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03547/0.09249, allocations: 18.87 MB / 1.019 GB, free: 13.09 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.558/7.651, allocations: 8.062 kB / 1.019 GB, free: 13.09 MB / 0.9792 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_HeatMeter_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_HeatMeter.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_HeatMeter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.896798988804221]