Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.EnthalpyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",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.00478/0.00478, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001337/0.001337, allocations: 202.8 kB / 16.68 MB, free: 5.969 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.239/1.239, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.512/2.512, allocations: 482.6 MB / 0.755 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 71.89 kB / 1.083 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2566, allocations: 162.3 MB / 1.242 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.6165/0.8731, allocations: 167.6 MB / 1.406 GB, free: 8.148 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.006848/0.88, allocations: 6.542 MB / 1.412 GB, free: 2.848 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001913/0.8802, allocations: 20.81 kB / 1.412 GB, free: 2.836 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0004153/0.8807, allocations: 169 kB / 1.412 GB, free: 2.688 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001547/0.8822, allocations: 0.8263 MB / 1.413 GB, free: 2.062 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006921/0.8829, allocations: 330.6 kB / 1.413 GB, free: 1.82 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0006651/0.8836, allocations: 0.7105 MB / 1.414 GB, free: 1.41 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003638/0.884, allocations: 279.9 kB / 1.414 GB, free: 1.242 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00112/0.8851, allocations: 0.6944 MB / 1.415 GB, free: 0.8008 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003146/0.8854, allocations: 257.3 kB / 1.415 GB, free: 0.6562 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 3.775e-05/0.8855, allocations: 22.16 kB / 1.415 GB, free: 0.6562 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004965/0.886, allocations: 341.5 kB / 1.415 GB, free: 488 kB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.8861, allocations: 102 kB / 1.416 GB, free: 420 kB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001524/0.8862, allocations: 162.6 kB / 1.416 GB, free: 316 kB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0005466/0.8868, allocations: 474.3 kB / 1.416 GB, free: 12 kB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.8868, allocations: 0 / 1.416 GB, free: 12 kB / 1.107 GB Notification: Performance of FrontEnd: time 2.706e-06/0.8868, allocations: 0 / 1.416 GB, free: 12 kB / 1.107 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.8868, allocations: 4.906 kB / 1.416 GB, free: 8 kB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0007643/0.8876, allocations: 0.6241 MB / 1.417 GB, free: 15.44 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.8876, allocations: 13.61 kB / 1.417 GB, free: 15.44 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.744e-05/0.8877, allocations: 59.86 kB / 1.417 GB, free: 15.38 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002464/0.8879, allocations: 58.39 kB / 1.417 GB, free: 15.35 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004147/0.8884, allocations: 336.6 kB / 1.417 GB, free: 15.04 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.8884, allocations: 18.97 kB / 1.417 GB, free: 15.03 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.202e-05/0.8884, allocations: 25.72 kB / 1.417 GB, free: 15.02 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004805/0.8889, allocations: 324.8 kB / 1.418 GB, free: 14.79 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.8889, allocations: 0.9062 kB / 1.418 GB, free: 14.79 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.889, allocations: 11.34 kB / 1.418 GB, free: 14.78 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.889, allocations: 6.594 kB / 1.418 GB, free: 14.78 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003717/0.8893, allocations: 197.2 kB / 1.418 GB, free: 14.7 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/0.8908, allocations: 1.532 MB / 1.419 GB, free: 13.25 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000232/0.891, allocations: 127 kB / 1.419 GB, free: 13.17 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/0.8912, allocations: 95.19 kB / 1.419 GB, free: 13.12 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005203/0.8917, allocations: 298.8 kB / 1.42 GB, free: 12.81 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.8918, allocations: 35.78 kB / 1.42 GB, free: 12.77 MB / 1.123 GB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.8918, allocations: 0 / 1.42 GB, free: 12.77 MB / 1.123 GB Notification: Performance of matching and sorting (n=13): time 0.0006435/0.8924, allocations: 272.7 kB / 1.42 GB, free: 12.63 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.8925, allocations: 57.75 kB / 1.42 GB, free: 12.56 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000278/0.8927, allocations: 309.1 kB / 1.42 GB, free: 12.36 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.8928, allocations: 31.7 kB / 1.42 GB, free: 12.32 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.8929, allocations: 180.9 kB / 1.421 GB, free: 12.16 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 4.102e-05/0.893, allocations: 49.06 kB / 1.421 GB, free: 12.11 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.775e-05/0.893, allocations: 44.55 kB / 1.421 GB, free: 12.08 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.8932, allocations: 345.6 kB / 1.421 GB, free: 11.74 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.8933, allocations: 54.8 kB / 1.421 GB, free: 11.71 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/0.8935, allocations: 116.3 kB / 1.421 GB, free: 11.62 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003063/0.8938, allocations: 170.4 kB / 1.421 GB, free: 11.51 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.8939, allocations: 3.938 kB / 1.421 GB, free: 11.51 MB / 1.123 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003883/0.8942, allocations: 220.6 kB / 1.422 GB, free: 11.38 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.8943, allocations: 6.344 kB / 1.422 GB, free: 11.38 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.8943, allocations: 1.688 kB / 1.422 GB, free: 11.38 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.8943, allocations: 2.469 kB / 1.422 GB, free: 11.38 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.8944, allocations: 37.55 kB / 1.422 GB, free: 11.37 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.8945, allocations: 2.656 kB / 1.422 GB, free: 11.37 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001623/0.8946, allocations: 31.05 kB / 1.422 GB, free: 11.35 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.599e-05/0.8947, allocations: 14.95 kB / 1.422 GB, free: 11.34 MB / 1.123 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 (17): * Single equations (assignments): 17 * 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.0001369/0.8948, allocations: 158.9 kB / 1.422 GB, free: 11.2 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.744e-05/0.8949, allocations: 28.91 kB / 1.422 GB, free: 11.18 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004013/0.8953, allocations: 204.1 kB / 1.422 GB, free: 11.05 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.8953, allocations: 1.344 kB / 1.422 GB, free: 11.05 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.8953, allocations: 1.312 kB / 1.422 GB, free: 11.05 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.8953, allocations: 3.984 kB / 1.422 GB, free: 11.05 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009062/0.8962, allocations: 0.6828 MB / 1.423 GB, free: 10.47 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.8962, allocations: 5.594 kB / 1.423 GB, free: 10.47 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.8963, allocations: 25.98 kB / 1.423 GB, free: 10.46 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.8963, allocations: 2.75 kB / 1.423 GB, free: 10.46 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.8964, allocations: 2.75 kB / 1.423 GB, free: 10.46 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.534e-06/0.8964, allocations: 6.688 kB / 1.423 GB, free: 10.46 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.8964, allocations: 5.312 kB / 1.423 GB, free: 10.46 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004031/0.8968, allocations: 336.6 kB / 1.423 GB, free: 10.18 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.8969, allocations: 119 kB / 1.423 GB, free: 10.06 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.255e-05/0.8969, allocations: 3.75 kB / 1.423 GB, free: 10.06 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.8971, allocations: 20.89 kB / 1.423 GB, free: 10.04 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.785e-05/0.8971, allocations: 14.55 kB / 1.423 GB, free: 10.04 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.8971, allocations: 5.031 kB / 1.423 GB, free: 10.04 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0001979/0.8973, allocations: 225.6 kB / 1.423 GB, free: 9.891 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8973, allocations: 0 / 1.423 GB, free: 9.891 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0003091/0.8977, allocations: 74.84 kB / 1.424 GB, free: 9.875 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.000919/0.8986, allocations: 0.9366 MB / 1.424 GB, free: 9.027 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0003524/0.8989, allocations: 158.1 kB / 1.425 GB, free: 8.957 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.899, allocations: 3.938 kB / 1.425 GB, free: 8.953 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0001648/0.8991, allocations: 85.44 kB / 1.425 GB, free: 8.914 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007075/0.8998, allocations: 154.2 kB / 1.425 GB, free: 8.84 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003016/0.9029, allocations: 2.81 MB / 1.428 GB, free: 6.699 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.9032, allocations: 0.7809 MB / 1.428 GB, free: 5.957 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001415/0.9034, allocations: 57.03 kB / 1.428 GB, free: 5.934 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.9035, allocations: 95.12 kB / 1.428 GB, free: 5.855 MB / 1.123 GB Notification: Performance of SimCode: time 2.4e-07/0.9035, allocations: 0 / 1.428 GB, free: 5.855 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.588/4.491, allocations: 8.131 MB / 1.436 GB, free: 15.6 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/15.57, allocations: 17.08 kB / 1.436 GB, free: 15.59 MB / 1.139 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches