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.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.001462/0.001462, allocations: 114.3 kB / 18.94 MB, free: 2.957 MB / 14.72 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.001653/0.001653, allocations: 217.8 kB / 22.26 MB, free: 5.117 MB / 14.72 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 1.322/1.322, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.917/2.917, allocations: 0.505 GB / 0.8101 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 73.91 kB / 1.177 GB, free: 17.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.3009, allocations: 180.2 MB / 1.353 GB, free: 8.527 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1893/0.4903, allocations: 171.2 MB / 1.52 GB, free: 12.69 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.008225/0.4985, allocations: 6.65 MB / 1.527 GB, free: 6.02 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000408/0.4989, allocations: 15.88 kB / 1.527 GB, free: 6.004 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0006047/0.4995, allocations: 170.7 kB / 1.527 GB, free: 5.836 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002183/0.5017, allocations: 0.8829 MB / 1.528 GB, free: 4.949 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009844/0.5027, allocations: 352.7 kB / 1.528 GB, free: 4.609 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001046/0.5037, allocations: 0.729 MB / 1.529 GB, free: 3.879 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000454/0.5042, allocations: 219.2 kB / 1.529 GB, free: 3.664 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001546/0.5057, allocations: 0.7356 MB / 1.53 GB, free: 2.926 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004701/0.5062, allocations: 274.9 kB / 1.53 GB, free: 2.656 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 5.018e-05/0.5063, allocations: 24 kB / 1.53 GB, free: 2.633 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006685/0.5069, allocations: 359.2 kB / 1.53 GB, free: 2.281 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.000157/0.5071, allocations: 107.6 kB / 1.53 GB, free: 2.176 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0002333/0.5073, allocations: 167.1 kB / 1.53 GB, free: 2.012 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.0007254/0.508, allocations: 474.2 kB / 1.531 GB, free: 1.547 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.508, allocations: 0 / 1.531 GB, free: 1.547 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.202e-06/0.508, allocations: 0 / 1.531 GB, free: 1.547 MB / 1.217 GB Notification: Performance of Transformations before backend: time 8.886e-06/0.5081, allocations: 0 / 1.531 GB, free: 1.547 MB / 1.217 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.0008554/0.5089, allocations: 0.5517 MB / 1.531 GB, free: 0.9648 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.5089, allocations: 8.031 kB / 1.531 GB, free: 0.957 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.771e-05/0.509, allocations: 70.47 kB / 1.532 GB, free: 0.8789 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002822/0.5093, allocations: 59.67 kB / 1.532 GB, free: 0.8203 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004866/0.5098, allocations: 259.6 kB / 1.532 GB, free: 0.543 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.5098, allocations: 20.66 kB / 1.532 GB, free: 0.5195 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.728e-05/0.5099, allocations: 28 kB / 1.532 GB, free: 0.4922 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005167/0.5104, allocations: 316.9 kB / 1.532 GB, free: 156 kB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.5104, allocations: 0 / 1.532 GB, free: 156 kB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.5104, allocations: 12 kB / 1.532 GB, free: 144 kB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.5104, allocations: 8 kB / 1.532 GB, free: 136 kB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004255/0.5109, allocations: 209.4 kB / 1.532 GB, free: 15.93 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001556/0.5124, allocations: 1.511 MB / 1.534 GB, free: 14.29 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002371/0.5127, allocations: 110.5 kB / 1.534 GB, free: 14.17 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002168/0.5129, allocations: 84.8 kB / 1.534 GB, free: 14.08 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004476/0.5133, allocations: 71.92 kB / 1.534 GB, free: 14.01 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.5133, allocations: 30.56 kB / 1.534 GB, free: 13.97 MB / 1.232 GB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.5133, allocations: 0 / 1.534 GB, free: 13.97 MB / 1.232 GB Notification: Performance of matching and sorting (n=13): time 0.0007351/0.5141, allocations: 285.5 kB / 1.534 GB, free: 13.69 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.5141, allocations: 51.41 kB / 1.534 GB, free: 13.62 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003111/0.5144, allocations: 308.5 kB / 1.535 GB, free: 13.31 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.5145, allocations: 29.7 kB / 1.535 GB, free: 13.28 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.5146, allocations: 180.2 kB / 1.535 GB, free: 13.1 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 4.263e-05/0.5146, allocations: 47.58 kB / 1.535 GB, free: 13.05 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.576e-05/0.5147, allocations: 41.66 kB / 1.535 GB, free: 13 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.5149, allocations: 338.8 kB / 1.535 GB, free: 12.66 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.515, allocations: 59.95 kB / 1.535 GB, free: 12.61 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.5152, allocations: 111 kB / 1.536 GB, free: 12.48 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003224/0.5155, allocations: 180.9 kB / 1.536 GB, free: 12.29 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.5155, allocations: 0 / 1.536 GB, free: 12.29 MB / 1.232 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004564/0.516, allocations: 225.3 kB / 1.536 GB, free: 12.06 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 7.153e-05/0.5161, allocations: 8 kB / 1.536 GB, free: 12.05 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.5161, allocations: 0 / 1.536 GB, free: 12.05 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.5161, allocations: 4 kB / 1.536 GB, free: 12.05 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.5162, allocations: 27.98 kB / 1.536 GB, free: 12.02 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.5162, allocations: 4 kB / 1.536 GB, free: 12.02 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001576/0.5164, allocations: 27.83 kB / 1.536 GB, free: 11.99 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.5164, allocations: 11.94 kB / 1.536 GB, free: 11.98 MB / 1.232 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.0001506/0.5166, allocations: 157.8 kB / 1.536 GB, free: 11.81 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.967e-05/0.5166, allocations: 27.81 kB / 1.536 GB, free: 11.79 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004281/0.5171, allocations: 212.2 kB / 1.536 GB, free: 11.57 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/0.5171, allocations: 4 kB / 1.536 GB, free: 11.57 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.5171, allocations: 0 / 1.536 GB, free: 11.57 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.5171, allocations: 3.984 kB / 1.536 GB, free: 11.56 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.5181, allocations: 0.6514 MB / 1.537 GB, free: 10.84 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.5181, allocations: 0 / 1.537 GB, free: 10.84 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001301/0.5182, allocations: 36.14 kB / 1.537 GB, free: 10.8 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.5182, allocations: 7.984 kB / 1.537 GB, free: 10.8 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.5182, allocations: 7.938 kB / 1.537 GB, free: 10.79 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.5182, allocations: 0 / 1.537 GB, free: 10.79 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5182, allocations: 4 kB / 1.537 GB, free: 10.79 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004519/0.5187, allocations: 343.2 kB / 1.537 GB, free: 10.41 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.5188, allocations: 43.72 kB / 1.537 GB, free: 10.37 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.506e-05/0.5188, allocations: 11.94 kB / 1.537 GB, free: 10.36 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.519, allocations: 15.94 kB / 1.537 GB, free: 10.34 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.519, allocations: 15.97 kB / 1.537 GB, free: 10.33 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-06/0.519, allocations: 4 kB / 1.537 GB, free: 10.32 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0002179/0.5193, allocations: 223.1 kB / 1.538 GB, free: 10.11 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.5193, allocations: 0 / 1.538 GB, free: 10.11 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0003466/0.5196, allocations: 71.88 kB / 1.538 GB, free: 10.04 MB / 1.232 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.0008615/0.5205, allocations: 0.9132 MB / 1.539 GB, free: 9.074 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0003651/0.5208, allocations: 148 kB / 1.539 GB, free: 8.93 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5208, allocations: 0 / 1.539 GB, free: 8.93 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0001659/0.521, allocations: 79.88 kB / 1.539 GB, free: 8.852 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007592/0.5218, allocations: 156.8 kB / 1.539 GB, free: 8.703 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003597/0.5254, allocations: 2.809 MB / 1.542 GB, free: 5.742 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004067/0.5258, allocations: 0.7756 MB / 1.543 GB, free: 4.938 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0001791/0.5259, allocations: 66.88 kB / 1.543 GB, free: 4.871 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.5261, allocations: 91.41 kB / 1.543 GB, free: 4.781 MB / 1.232 GB Notification: Performance of SimCode: time 7.92e-07/0.5261, allocations: 0 / 1.543 GB, free: 4.781 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03749/0.5636, allocations: 8.32 MB / 1.551 GB, free: 12.67 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/11.01, allocations: 15.8 kB / 1.551 GB, free: 12.66 MB / 1.248 GB " [Timeout remaining time 289] (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 --stepSize=0.024 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.98312580003403]