Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008179/0.0008179, 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.001158/0.001158, 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.8802/0.8802, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.652/1.652, 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.EnthalpyFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.835e-06/2.835e-06, allocations: 0 / 0.9505 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.642e-05/1.926e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.484 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.6112/0.6112, allocations: 147.7 MB / 1.095 GB, free: 38.75 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.004664/0.6159, allocations: 5.992 MB / 1.101 GB, free: 37.46 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003584/0.6163, allocations: 16.62 kB / 1.101 GB, free: 37.46 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004832/0.6168, allocations: 181.1 kB / 1.101 GB, free: 37.36 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.00156/0.6183, allocations: 0.8626 MB / 1.102 GB, free: 37.12 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008054/0.6191, allocations: 371.4 kB / 1.102 GB, free: 36.99 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0009331/0.6201, allocations: 0.723 MB / 1.103 GB, free: 36.69 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005359/0.6206, allocations: 212.8 kB / 1.103 GB, free: 36.6 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001363/0.622, allocations: 0.6658 MB / 1.104 GB, free: 36.35 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004259/0.6224, allocations: 247.2 kB / 1.104 GB, free: 36.3 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 6.133e-05/0.6224, allocations: 22.56 kB / 1.104 GB, free: 36.3 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006973/0.6231, allocations: 310.7 kB / 1.104 GB, free: 36.22 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.6233, allocations: 115.6 kB / 1.104 GB, free: 36.18 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.6234, allocations: 109.6 kB / 1.104 GB, free: 36.14 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006242/0.624, allocations: 481.8 kB / 1.105 GB, free: 36 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.624, allocations: 4.688 kB / 1.105 GB, free: 36 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.693e-06/0.624, allocations: 0 / 1.105 GB, free: 36 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.624, allocations: 0.7969 kB / 1.105 GB, free: 36 MB / 0.9948 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.0006733/0.6247, allocations: 0.5467 MB / 1.105 GB, free: 35.57 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.6247, allocations: 9.969 kB / 1.105 GB, free: 35.57 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.02e-05/0.6248, allocations: 61.53 kB / 1.105 GB, free: 35.51 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002536/0.625, allocations: 63.56 kB / 1.105 GB, free: 35.49 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003828/0.6254, allocations: 265.6 kB / 1.106 GB, free: 35.29 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.6254, allocations: 18.72 kB / 1.106 GB, free: 35.29 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.661e-05/0.6254, allocations: 28.88 kB / 1.106 GB, free: 35.27 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004014/0.6259, allocations: 321.7 kB / 1.106 GB, free: 35.1 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.6259, allocations: 1.281 kB / 1.106 GB, free: 35.1 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.6259, allocations: 10.53 kB / 1.106 GB, free: 35.09 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.6259, allocations: 6.75 kB / 1.106 GB, free: 35.09 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002741/0.6262, allocations: 202.4 kB / 1.106 GB, free: 35.03 MB / 0.9948 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.0009608/0.6271, allocations: 1.196 MB / 1.107 GB, free: 34.1 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.6273, allocations: 114.2 kB / 1.108 GB, free: 34.04 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.6274, allocations: 85.95 kB / 1.108 GB, free: 34.02 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003004/0.6277, allocations: 75.31 kB / 1.108 GB, free: 34.01 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.612e-05/0.6277, allocations: 35.72 kB / 1.108 GB, free: 33.96 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=13): time 2.114e-06/0.6277, allocations: 0 / 1.108 GB, free: 33.96 MB / 0.9948 GB Notification: Performance of matching and sorting (n=13): time 0.0004936/0.6282, allocations: 278 kB / 1.108 GB, free: 33.86 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.43e-05/0.6283, allocations: 54.69 kB / 1.108 GB, free: 33.79 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002474/0.6285, allocations: 309.8 kB / 1.108 GB, free: 33.63 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.6285, allocations: 25.7 kB / 1.108 GB, free: 33.6 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 9.128e-05/0.6286, allocations: 189.3 kB / 1.109 GB, free: 33.45 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.6286, allocations: 44.72 kB / 1.109 GB, free: 33.41 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.118e-05/0.6287, allocations: 38.12 kB / 1.109 GB, free: 33.38 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.163e-05/0.6287, allocations: 338.9 kB / 1.109 GB, free: 33.06 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.469e-05/0.6288, allocations: 62.84 kB / 1.109 GB, free: 33.04 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.629, allocations: 187.6 kB / 1.109 GB, free: 32.88 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/0.6292, allocations: 170.9 kB / 1.109 GB, free: 32.79 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.6292, allocations: 0.9375 kB / 1.109 GB, free: 32.79 MB / 0.9948 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002989/0.6295, allocations: 226.4 kB / 1.11 GB, free: 32.68 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.6295, allocations: 5.453 kB / 1.11 GB, free: 32.68 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.6295, allocations: 2.344 kB / 1.11 GB, free: 32.68 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.6295, allocations: 4.312 kB / 1.11 GB, free: 32.68 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.6297, allocations: 30.7 kB / 1.11 GB, free: 32.68 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/0.6297, allocations: 3.062 kB / 1.11 GB, free: 32.68 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.6298, allocations: 37.17 kB / 1.11 GB, free: 32.66 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.029e-05/0.6298, allocations: 7.453 kB / 1.11 GB, free: 32.66 MB / 0.9948 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.0001137/0.6299, allocations: 152.6 kB / 1.11 GB, free: 32.52 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.61e-05/0.63, allocations: 32.38 kB / 1.11 GB, free: 32.5 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003736/0.6303, allocations: 209.9 kB / 1.11 GB, free: 32.41 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.6303, allocations: 2.438 kB / 1.11 GB, free: 32.41 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.6303, allocations: 0 / 1.11 GB, free: 32.41 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.6304, allocations: 1.359 kB / 1.11 GB, free: 32.41 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008399/0.6312, allocations: 0.6398 MB / 1.111 GB, free: 31.96 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.6312, allocations: 1.188 kB / 1.111 GB, free: 31.96 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.169e-05/0.6313, allocations: 26.45 kB / 1.111 GB, free: 31.96 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/0.6313, allocations: 3.438 kB / 1.111 GB, free: 31.96 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.6313, allocations: 11.28 kB / 1.111 GB, free: 31.95 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.436e-06/0.6313, allocations: 10.42 kB / 1.111 GB, free: 31.95 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.6313, allocations: 6.25 kB / 1.111 GB, free: 31.95 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003324/0.6316, allocations: 334.9 kB / 1.111 GB, free: 31.7 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.245e-05/0.6317, allocations: 39.89 kB / 1.111 GB, free: 31.68 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.966e-05/0.6317, allocations: 8.531 kB / 1.111 GB, free: 31.68 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.727e-05/0.6318, allocations: 7.938 kB / 1.111 GB, free: 31.68 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.469e-05/0.6319, allocations: 22.11 kB / 1.111 GB, free: 31.66 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.6319, allocations: 4.625 kB / 1.111 GB, free: 31.66 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001959/0.6321, allocations: 225.5 kB / 1.111 GB, free: 31.54 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.6321, allocations: 0 / 1.111 GB, free: 31.54 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003573/0.6325, allocations: 75.53 kB / 1.111 GB, free: 31.53 MB / 0.9948 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.0006978/0.6332, allocations: 0.9073 MB / 1.112 GB, free: 30.74 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0003391/0.6335, allocations: 148.4 kB / 1.112 GB, free: 30.7 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.6335, allocations: 1.188 kB / 1.112 GB, free: 30.7 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.6336, allocations: 84.55 kB / 1.113 GB, free: 30.67 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006504/0.6343, allocations: 147.4 kB / 1.113 GB, free: 30.64 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003405/0.6377, allocations: 2.812 MB / 1.115 GB, free: 28.74 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002222/0.6379, allocations: 182.7 kB / 1.116 GB, free: 28.65 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0002897/0.6382, allocations: 61.53 kB / 1.116 GB, free: 28.64 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.6383, allocations: 91.95 kB / 1.116 GB, free: 28.57 MB / 0.9948 GB Notification: Performance of SimCode: time 1.533e-06/0.6383, allocations: 0 / 1.116 GB, free: 28.57 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02966/0.668, allocations: 9.314 MB / 1.125 GB, free: 27.02 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.265/7.933, allocations: 8.594 kB / 1.125 GB, free: 27.02 MB / 0.9948 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.917495395988226]