Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 112.1 kB / 17.54 MB, free: 4.738 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.001189/0.001189, allocations: 186.7 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.297/1.297, allocations: 225.6 MB / 249.3 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.368/2.368, allocations: 443.5 MB / 0.7304 GB, free: 13.88 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.EnthalpyFlowRate,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 71.89 kB / 1.059 GB, free: 0.9062 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2567, allocations: 160.7 MB / 1.216 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.6803/0.937, allocations: 168.3 MB / 1.38 GB, free: 9.773 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.007856/0.9449, allocations: 6.621 MB / 1.386 GB, free: 5.059 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004389/0.9453, allocations: 17.19 kB / 1.386 GB, free: 5.051 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005379/0.9458, allocations: 170.2 kB / 1.387 GB, free: 4.938 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00207/0.9479, allocations: 0.8716 MB / 1.387 GB, free: 4.484 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009284/0.9488, allocations: 333.4 kB / 1.388 GB, free: 4.297 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0009697/0.9498, allocations: 0.7289 MB / 1.388 GB, free: 3.875 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004462/0.9503, allocations: 230 kB / 1.389 GB, free: 3.723 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001155/0.9514, allocations: 0.5712 MB / 1.389 GB, free: 3.363 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004779/0.9519, allocations: 277.1 kB / 1.389 GB, free: 3.207 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.212e-05/0.9519, allocations: 22.81 kB / 1.389 GB, free: 3.207 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006724/0.9526, allocations: 366 kB / 1.39 GB, free: 3.008 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000155/0.9528, allocations: 110.5 kB / 1.39 GB, free: 2.934 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002223/0.953, allocations: 165.4 kB / 1.39 GB, free: 2.828 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00071/0.9537, allocations: 476 kB / 1.391 GB, free: 2.527 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.9537, allocations: 1.062 kB / 1.391 GB, free: 2.527 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.352e-06/0.9537, allocations: 3.938 kB / 1.391 GB, free: 2.523 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.137e-05/0.9537, allocations: 0 / 1.391 GB, free: 2.523 MB / 1.061 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.0009572/0.9547, allocations: 0.6129 MB / 1.391 GB, free: 1.969 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.9547, allocations: 9.844 kB / 1.391 GB, free: 1.969 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.776e-05/0.9548, allocations: 63.59 kB / 1.391 GB, free: 1.906 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003065/0.9551, allocations: 66.08 kB / 1.391 GB, free: 1.871 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005047/0.9556, allocations: 336.8 kB / 1.392 GB, free: 1.555 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.9556, allocations: 19.88 kB / 1.392 GB, free: 1.547 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.659e-05/0.9557, allocations: 29.16 kB / 1.392 GB, free: 1.535 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005181/0.9562, allocations: 321.5 kB / 1.392 GB, free: 1.305 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.9562, allocations: 3.984 kB / 1.392 GB, free: 1.301 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/0.9562, allocations: 10.59 kB / 1.392 GB, free: 1.293 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/0.9562, allocations: 11.53 kB / 1.392 GB, free: 1.289 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000395/0.9566, allocations: 197.2 kB / 1.392 GB, free: 1.203 MB / 1.061 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.001486/0.9581, allocations: 1.533 MB / 1.394 GB, free: 15.75 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000238/0.9583, allocations: 118.1 kB / 1.394 GB, free: 15.68 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00017/0.9585, allocations: 83.42 kB / 1.394 GB, free: 15.64 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005574/0.9591, allocations: 299.3 kB / 1.394 GB, free: 15.33 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.9591, allocations: 39.56 kB / 1.394 GB, free: 15.29 MB / 1.076 GB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/0.9591, allocations: 0 / 1.394 GB, free: 15.29 MB / 1.076 GB Notification: Performance of matching and sorting (n=13): time 0.0006997/0.9598, allocations: 270.2 kB / 1.394 GB, free: 15.14 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.9598, allocations: 52.69 kB / 1.394 GB, free: 15.08 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003053/0.9601, allocations: 310.2 kB / 1.395 GB, free: 14.88 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.9602, allocations: 31.05 kB / 1.395 GB, free: 14.84 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.9603, allocations: 185.1 kB / 1.395 GB, free: 14.67 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.113e-05/0.9603, allocations: 53.19 kB / 1.395 GB, free: 14.62 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.757e-05/0.9604, allocations: 43.25 kB / 1.395 GB, free: 14.59 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.9605, allocations: 337.6 kB / 1.395 GB, free: 14.26 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.9607, allocations: 55.67 kB / 1.395 GB, free: 14.23 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001934/0.9609, allocations: 117 kB / 1.396 GB, free: 14.14 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003218/0.9612, allocations: 180.4 kB / 1.396 GB, free: 14.02 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.9612, allocations: 5.25 kB / 1.396 GB, free: 14.02 MB / 1.076 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004254/0.9616, allocations: 208.7 kB / 1.396 GB, free: 13.9 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.9616, allocations: 5.094 kB / 1.396 GB, free: 13.9 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.9616, allocations: 1.5 kB / 1.396 GB, free: 13.9 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.9617, allocations: 3.094 kB / 1.396 GB, free: 13.9 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.9618, allocations: 41.8 kB / 1.396 GB, free: 13.89 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.936e-06/0.9618, allocations: 7.266 kB / 1.396 GB, free: 13.88 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.962, allocations: 20.94 kB / 1.396 GB, free: 13.87 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.862e-05/0.962, allocations: 15.61 kB / 1.396 GB, free: 13.86 MB / 1.076 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.0001409/0.9622, allocations: 155.1 kB / 1.396 GB, free: 13.72 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.281e-05/0.9622, allocations: 29.34 kB / 1.396 GB, free: 13.7 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004304/0.9626, allocations: 204.1 kB / 1.396 GB, free: 13.58 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.9626, allocations: 1.156 kB / 1.396 GB, free: 13.58 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.9627, allocations: 4.484 kB / 1.396 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.9627, allocations: 5.062 kB / 1.396 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009711/0.9636, allocations: 0.681 MB / 1.397 GB, free: 12.99 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.9636, allocations: 2.406 kB / 1.397 GB, free: 12.99 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.9638, allocations: 28.61 kB / 1.397 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.9638, allocations: 2.781 kB / 1.397 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.9638, allocations: 4.75 kB / 1.397 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-06/0.9638, allocations: 7.031 kB / 1.397 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.9638, allocations: 9.125 kB / 1.397 GB, free: 12.97 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004339/0.9642, allocations: 336.2 kB / 1.397 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.9643, allocations: 124.1 kB / 1.398 GB, free: 12.57 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.455e-05/0.9644, allocations: 3.062 kB / 1.398 GB, free: 12.57 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.9645, allocations: 17.08 kB / 1.398 GB, free: 12.56 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/0.9646, allocations: 14.05 kB / 1.398 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.9646, allocations: 11.97 kB / 1.398 GB, free: 12.55 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002111/0.9648, allocations: 225.5 kB / 1.398 GB, free: 12.4 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.9648, allocations: 0 / 1.398 GB, free: 12.4 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003539/0.9651, allocations: 70.14 kB / 1.398 GB, free: 12.39 MB / 1.076 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.0009812/0.9661, allocations: 0.9295 MB / 1.399 GB, free: 11.55 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003761/0.9665, allocations: 154.3 kB / 1.399 GB, free: 11.48 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.9665, allocations: 9.125 kB / 1.399 GB, free: 11.47 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001735/0.9667, allocations: 78.67 kB / 1.399 GB, free: 11.44 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000757/0.9674, allocations: 148.6 kB / 1.399 GB, free: 11.37 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003273/0.9707, allocations: 2.819 MB / 1.402 GB, free: 9.223 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.9711, allocations: 0.7805 MB / 1.403 GB, free: 8.48 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001806/0.9712, allocations: 64.34 kB / 1.403 GB, free: 8.445 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.9714, allocations: 91.22 kB / 1.403 GB, free: 8.371 MB / 1.076 GB Notification: Performance of SimCode: time 7.41e-07/0.9714, allocations: 1.375 kB / 1.403 GB, free: 8.371 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03136/1.003, allocations: 8.177 MB / 1.411 GB, free: 4.316 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.396/8.399, allocations: 2.641 kB / 1.411 GB, free: 4.316 MB / 1.076 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_10_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable senM_flow.m_flow in file Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.csv. Warning: Get data of variable senM_flow.m_flow from file Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.610063517997332]