Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007774/0.0007774, 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.0009274/0.0009274, allocations: 169.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.8328/0.8328, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.704/1.704, allocations: 377.8 MB / 0.6221 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.981 GB, free: 1.457 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.955e-05/2.119e-05, allocations: 2.281 kB / 0.981 GB, free: 1.453 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.01422/0.01424, allocations: 21.48 MB / 1.002 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.00519/0.01943, allocations: 4.76 MB / 1.007 GB, free: 7.125 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006784/0.02011, allocations: 39.62 kB / 1.007 GB, free: 7.086 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0006488/0.02076, allocations: 285.9 kB / 1.007 GB, free: 6.805 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001597/0.02236, allocations: 0.8506 MB / 1.008 GB, free: 5.949 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001279/0.02364, allocations: 0.8206 MB / 1.009 GB, free: 5.133 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001345/0.02498, allocations: 1.64 MB / 1.01 GB, free: 3.48 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004307/0.02541, allocations: 390.1 kB / 1.011 GB, free: 3.094 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001295/0.02671, allocations: 0.9367 MB / 1.011 GB, free: 2.156 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003792/0.02709, allocations: 390.7 kB / 1.012 GB, free: 1.773 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 5.124e-05/0.02714, allocations: 48 kB / 1.012 GB, free: 1.727 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006801/0.02782, allocations: 418.9 kB / 1.012 GB, free: 1.316 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.02793, allocations: 155.4 kB / 1.012 GB, free: 1.164 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001537/0.02808, allocations: 211.5 kB / 1.013 GB, free: 0.957 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0009443/0.02902, allocations: 0.9582 MB / 1.014 GB, free: 15.99 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.02903, allocations: 3.938 kB / 1.014 GB, free: 15.99 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.723e-06/0.02903, allocations: 0 / 1.014 GB, free: 15.99 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.02904, allocations: 0 / 1.014 GB, free: 15.99 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.0009151/0.02995, allocations: 0.8314 MB / 1.014 GB, free: 15.13 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.03, allocations: 12.03 kB / 1.014 GB, free: 15.12 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.134e-05/0.03006, allocations: 74.72 kB / 1.014 GB, free: 15.04 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001544/0.03021, allocations: 68.55 kB / 1.015 GB, free: 14.97 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006989/0.03091, allocations: 0.5107 MB / 1.015 GB, free: 14.44 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.03093, allocations: 29.38 kB / 1.015 GB, free: 14.41 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.584e-05/0.03098, allocations: 40.12 kB / 1.015 GB, free: 14.37 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000468/0.03144, allocations: 0.5095 MB / 1.016 GB, free: 13.82 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.03146, allocations: 0 / 1.016 GB, free: 13.82 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.652e-05/0.03148, allocations: 16 kB / 1.016 GB, free: 13.8 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.767e-05/0.0315, allocations: 8 kB / 1.016 GB, free: 13.79 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003448/0.03185, allocations: 299.8 kB / 1.016 GB, free: 13.5 MB / 0.9323 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.001533/0.03338, allocations: 1.525 MB / 1.017 GB, free: 11.91 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003908/0.03377, allocations: 254.7 kB / 1.018 GB, free: 11.66 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.03388, allocations: 108.8 kB / 1.018 GB, free: 11.55 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002464/0.03413, allocations: 103.9 kB / 1.018 GB, free: 11.45 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.03415, allocations: 42.55 kB / 1.018 GB, free: 11.39 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=26): time 2.284e-06/0.03416, allocations: 0 / 1.018 GB, free: 11.39 MB / 0.9323 GB Notification: Performance of matching and sorting (n=26): time 0.0004652/0.03462, allocations: 371.5 kB / 1.018 GB, free: 11.03 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.03465, allocations: 55.41 kB / 1.018 GB, free: 10.96 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003622/0.03501, allocations: 489.9 kB / 1.019 GB, free: 10.47 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.03504, allocations: 29.7 kB / 1.019 GB, free: 10.44 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.03517, allocations: 256.5 kB / 1.019 GB, free: 10.18 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 5.137e-05/0.03522, allocations: 99.11 kB / 1.019 GB, free: 10.09 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.076e-05/0.03529, allocations: 73.97 kB / 1.019 GB, free: 10.01 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.023e-05/0.03538, allocations: 358.8 kB / 1.02 GB, free: 9.648 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.03548, allocations: 96.61 kB / 1.02 GB, free: 9.555 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.03565, allocations: 249.2 kB / 1.02 GB, free: 9.27 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002627/0.03591, allocations: 287.2 kB / 1.02 GB, free: 8.965 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.03591, allocations: 4 kB / 1.02 GB, free: 8.961 MB / 0.9323 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000364/0.03628, allocations: 365 kB / 1.02 GB, free: 8.598 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.03629, allocations: 4.219 kB / 1.02 GB, free: 8.594 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.0363, allocations: 8 kB / 1.02 GB, free: 8.586 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.03631, allocations: 4 kB / 1.02 GB, free: 8.582 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.03646, allocations: 71.84 kB / 1.021 GB, free: 8.512 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.03647, allocations: 4 kB / 1.021 GB, free: 8.508 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.03661, allocations: 43.66 kB / 1.021 GB, free: 8.465 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/0.03663, allocations: 12 kB / 1.021 GB, free: 8.453 MB / 0.9323 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.0001479/0.03678, allocations: 185.7 kB / 1.021 GB, free: 8.262 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.454e-05/0.03683, allocations: 55.67 kB / 1.021 GB, free: 8.207 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006005/0.03743, allocations: 483 kB / 1.021 GB, free: 7.727 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.03744, allocations: 4 kB / 1.021 GB, free: 7.723 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.03745, allocations: 0 / 1.021 GB, free: 7.723 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003643/0.03781, allocations: 0.5765 MB / 1.022 GB, free: 7.078 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.03885, allocations: 1.014 MB / 1.023 GB, free: 5.996 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.03886, allocations: 7.938 kB / 1.023 GB, free: 5.988 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/0.03898, allocations: 55.91 kB / 1.023 GB, free: 5.934 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.03899, allocations: 0 / 1.023 GB, free: 5.934 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.039, allocations: 19.92 kB / 1.023 GB, free: 5.914 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.03901, allocations: 0 / 1.023 GB, free: 5.914 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.03901, allocations: 4 kB / 1.023 GB, free: 5.91 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005759/0.03958, allocations: 0.6684 MB / 1.024 GB, free: 5.207 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.03971, allocations: 103.5 kB / 1.024 GB, free: 5.105 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.01e-05/0.03975, allocations: 8 kB / 1.024 GB, free: 5.098 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.03988, allocations: 16.14 kB / 1.024 GB, free: 5.082 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.888e-05/0.03991, allocations: 27.88 kB / 1.024 GB, free: 5.055 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/0.03993, allocations: 19.98 kB / 1.024 GB, free: 5.035 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002479/0.04018, allocations: 342.9 kB / 1.024 GB, free: 4.703 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6e-08/0.04018, allocations: 0 / 1.024 GB, free: 4.703 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0004366/0.04062, allocations: 211.5 kB / 1.024 GB, free: 4.496 MB / 0.9323 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.001032/0.04165, allocations: 1.388 MB / 1.026 GB, free: 3.062 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0003428/0.04199, allocations: 287.7 kB / 1.026 GB, free: 2.781 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.042, allocations: 4 kB / 1.026 GB, free: 2.777 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.04214, allocations: 146.6 kB / 1.026 GB, free: 2.637 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008323/0.04297, allocations: 343.5 kB / 1.026 GB, free: 2.312 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.395/0.438, allocations: 4.169 MB / 1.03 GB, free: 57.85 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.4382, allocations: 266.8 kB / 1.031 GB, free: 57.76 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0003833/0.4386, allocations: 116.6 kB / 1.031 GB, free: 57.75 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002039/0.4388, allocations: 196 kB / 1.031 GB, free: 57.74 MB / 0.9323 GB Notification: Performance of SimCode: time 1.463e-06/0.4388, allocations: 0 / 1.031 GB, free: 57.74 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.038/0.4768, allocations: 18.88 MB / 1.049 GB, free: 55.36 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.86/7.337, allocations: 8.172 kB / 1.049 GB, free: 55.35 MB / 0.9323 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sensors_Examples_HeatMeter_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sensors_Examples_HeatMeter.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_HeatMeter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.171483643352985]