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.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.001413/0.001413, allocations: 109 kB / 17.54 MB, free: 4.746 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.001419/0.001419, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.294/1.294, allocations: 225.6 MB / 249.3 MB, free: 3.184 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.515/2.515, allocations: 476.7 MB / 0.7628 GB, free: 15.2 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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 0.001782/0.001782, allocations: 71.89 kB / 1.107 GB, free: 5.152 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7448/0.7465, allocations: 168.7 MB / 1.271 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02233/0.7689, allocations: 23.64 MB / 1.294 GB, free: 6.93 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.007465/0.7763, allocations: 5.131 MB / 1.299 GB, free: 3.289 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008154/0.7772, allocations: 28.75 kB / 1.3 GB, free: 3.277 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0007974/0.778, allocations: 287.1 kB / 1.3 GB, free: 3.105 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002056/0.78, allocations: 0.8275 MB / 1.301 GB, free: 2.617 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001897/0.7819, allocations: 0.774 MB / 1.301 GB, free: 2.207 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002048/0.784, allocations: 1.621 MB / 1.303 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006031/0.7846, allocations: 395.6 kB / 1.303 GB, free: 1.27 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001402/0.786, allocations: 0.6304 MB / 1.304 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006454/0.7866, allocations: 482.7 kB / 1.304 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.7867, allocations: 45.78 kB / 1.304 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001342/0.788, allocations: 0.4927 MB / 1.305 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001771/0.7882, allocations: 145.3 kB / 1.305 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003227/0.7885, allocations: 312.5 kB / 1.305 GB, free: 336 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001377/0.7899, allocations: 0.9263 MB / 1.306 GB, free: 15.98 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.7899, allocations: 1.438 kB / 1.306 GB, free: 15.98 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7899, allocations: 0 / 1.306 GB, free: 15.98 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.788e-06/0.7899, allocations: 0 / 1.306 GB, free: 15.98 MB / 1.029 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.001314/0.7913, allocations: 0.9014 MB / 1.307 GB, free: 15.29 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.7913, allocations: 14.86 kB / 1.307 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.765e-05/0.7914, allocations: 77.02 kB / 1.307 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002145/0.7916, allocations: 72.59 kB / 1.307 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009344/0.7925, allocations: 0.5719 MB / 1.308 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.985e-05/0.7926, allocations: 29.62 kB / 1.308 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.99e-05/0.7926, allocations: 50.45 kB / 1.308 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006551/0.7933, allocations: 440.1 kB / 1.308 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.7933, allocations: 0 / 1.308 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.48e-05/0.7933, allocations: 16.19 kB / 1.308 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.859e-05/0.7934, allocations: 10.11 kB / 1.308 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004833/0.7938, allocations: 302.9 kB / 1.309 GB, free: 14.45 MB / 1.029 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.002605/0.7964, allocations: 1.913 MB / 1.311 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004726/0.7969, allocations: 245.1 kB / 1.311 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001703/0.7971, allocations: 110.8 kB / 1.311 GB, free: 12.94 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008307/0.7979, allocations: 0.8481 MB / 1.312 GB, free: 11.99 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.7979, allocations: 36.59 kB / 1.312 GB, free: 11.95 MB / 1.029 GB Notification: Performance of pre-optimization done (n=26): time 1.343e-06/0.7979, allocations: 5.344 kB / 1.312 GB, free: 11.94 MB / 1.029 GB Notification: Performance of matching and sorting (n=26): time 0.0006858/0.7986, allocations: 383.4 kB / 1.312 GB, free: 11.78 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.7987, allocations: 55.31 kB / 1.312 GB, free: 11.71 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005337/0.7992, allocations: 483.4 kB / 1.313 GB, free: 11.48 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.155e-05/0.7992, allocations: 31.89 kB / 1.313 GB, free: 11.45 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/0.7994, allocations: 260.1 kB / 1.313 GB, free: 11.23 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.82e-05/0.7995, allocations: 99.73 kB / 1.313 GB, free: 11.16 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.7996, allocations: 70.97 kB / 1.313 GB, free: 11.12 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.7998, allocations: 356.1 kB / 1.313 GB, free: 10.79 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.7999, allocations: 101.2 kB / 1.314 GB, free: 10.75 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002281/0.8002, allocations: 174 kB / 1.314 GB, free: 10.64 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003868/0.8006, allocations: 282.9 kB / 1.314 GB, free: 10.47 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.8006, allocations: 1.062 kB / 1.314 GB, free: 10.47 MB / 1.029 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005538/0.8011, allocations: 366.1 kB / 1.314 GB, free: 10.31 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.8011, allocations: 8.25 kB / 1.314 GB, free: 10.31 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.8011, allocations: 1.469 kB / 1.314 GB, free: 10.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.8012, allocations: 8.422 kB / 1.314 GB, free: 10.31 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002593/0.8014, allocations: 73.25 kB / 1.314 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.8014, allocations: 8.125 kB / 1.314 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002784/0.8017, allocations: 36.19 kB / 1.314 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.224e-05/0.8017, allocations: 17.34 kB / 1.314 GB, free: 10.27 MB / 1.029 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.0001951/0.8019, allocations: 183.7 kB / 1.315 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.461e-05/0.802, allocations: 52.33 kB / 1.315 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007688/0.8028, allocations: 474.2 kB / 1.315 GB, free: 9.895 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/0.8028, allocations: 13.11 kB / 1.315 GB, free: 9.887 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.8028, allocations: 0 / 1.315 GB, free: 9.887 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005791/0.8034, allocations: 0.5703 MB / 1.316 GB, free: 9.438 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001724/0.8051, allocations: 1.15 MB / 1.317 GB, free: 8.715 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.8051, allocations: 5.094 kB / 1.317 GB, free: 8.711 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000216/0.8053, allocations: 51.03 kB / 1.317 GB, free: 8.707 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.8053, allocations: 2.812 kB / 1.317 GB, free: 8.707 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.491e-05/0.8054, allocations: 10.73 kB / 1.317 GB, free: 8.703 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.8054, allocations: 6.797 kB / 1.317 GB, free: 8.699 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.8054, allocations: 2.312 kB / 1.317 GB, free: 8.699 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008568/0.8062, allocations: 0.677 MB / 1.318 GB, free: 8.301 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002038/0.8064, allocations: 179.6 kB / 1.318 GB, free: 8.148 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.601e-05/0.8065, allocations: 12 kB / 1.318 GB, free: 8.141 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002708/0.8068, allocations: 15.14 kB / 1.318 GB, free: 8.133 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/0.8068, allocations: 24.59 kB / 1.318 GB, free: 8.129 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.161e-05/0.8068, allocations: 18.45 kB / 1.318 GB, free: 8.125 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003993/0.8072, allocations: 344.1 kB / 1.318 GB, free: 7.965 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.8072, allocations: 0 / 1.318 GB, free: 7.965 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006587/0.8079, allocations: 199.1 kB / 1.318 GB, free: 7.922 MB / 1.029 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.001619/0.8095, allocations: 1.398 MB / 1.32 GB, free: 6.938 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004863/0.81, allocations: 270.8 kB / 1.32 GB, free: 6.859 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.81, allocations: 4.125 kB / 1.32 GB, free: 6.855 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002191/0.8102, allocations: 152.8 kB / 1.32 GB, free: 6.805 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/0.8117, allocations: 334.4 kB / 1.32 GB, free: 6.703 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005419/0.8171, allocations: 4.234 MB / 1.325 GB, free: 4.125 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00047/0.8176, allocations: 0.8666 MB / 1.325 GB, free: 3.41 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004444/0.8181, allocations: 119.2 kB / 1.325 GB, free: 3.379 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002638/0.8183, allocations: 188.9 kB / 1.326 GB, free: 3.25 MB / 1.029 GB Notification: Performance of SimCode: time 1.021e-06/0.8183, allocations: 0 / 1.326 GB, free: 3.25 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04642/0.8648, allocations: 17.11 MB / 1.342 GB, free: 14.93 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.002/8.866, allocations: 8.422 kB / 1.342 GB, free: 14.93 MB / 1.045 GB " [Timeout remaining time 291] (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 --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/jenkins1/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: 14.177002806000019]