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.002038/0.002038, allocations: 102.6 kB / 16.45 MB, free: 6.445 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.002252/0.002252, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.598/1.598, allocations: 225.6 MB / 247.8 MB, free: 3.75 MB / 190.1 MB " [Timeout remaining time 178] 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.661/2.661, allocations: 443.5 MB / 0.7287 GB, free: 14.6 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.001937/0.001937, allocations: 63.91 kB / 1.056 GB, free: 2.5 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3533, allocations: 160.7 MB / 1.213 GB, free: 1.469 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.8781/1.231, allocations: 168.1 MB / 1.377 GB, free: 10.91 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.009125/1.24, allocations: 6.578 MB / 1.383 GB, free: 6.207 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006179/1.241, allocations: 12.12 kB / 1.384 GB, free: 6.203 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006314/1.242, allocations: 166.6 kB / 1.384 GB, free: 6.094 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002512/1.244, allocations: 0.8791 MB / 1.385 GB, free: 5.633 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001115/1.245, allocations: 326.3 kB / 1.385 GB, free: 5.477 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001308/1.247, allocations: 0.722 MB / 1.386 GB, free: 5.152 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004963/1.247, allocations: 237.6 kB / 1.386 GB, free: 5.043 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001487/1.249, allocations: 0.5679 MB / 1.386 GB, free: 4.688 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004826/1.249, allocations: 284.1 kB / 1.387 GB, free: 4.523 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.723e-05/1.249, allocations: 22.97 kB / 1.387 GB, free: 4.523 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008226/1.25, allocations: 366.7 kB / 1.387 GB, free: 4.324 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001341/1.25, allocations: 109.6 kB / 1.387 GB, free: 4.25 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001894/1.25, allocations: 162.3 kB / 1.387 GB, free: 4.148 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007227/1.251, allocations: 473.1 kB / 1.388 GB, free: 3.852 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/1.251, allocations: 1.062 kB / 1.388 GB, free: 3.852 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.272e-06/1.251, allocations: 7.938 kB / 1.388 GB, free: 3.844 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.574e-06/1.251, allocations: 0 / 1.388 GB, free: 3.844 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.001075/1.252, allocations: 0.625 MB / 1.388 GB, free: 3.277 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/1.252, allocations: 9.719 kB / 1.388 GB, free: 3.277 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.686e-05/1.252, allocations: 59.7 kB / 1.388 GB, free: 3.219 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003164/1.253, allocations: 66.38 kB / 1.388 GB, free: 3.184 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005707/1.253, allocations: 331.5 kB / 1.389 GB, free: 2.871 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/1.253, allocations: 19.81 kB / 1.389 GB, free: 2.863 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.076e-05/1.253, allocations: 25.75 kB / 1.389 GB, free: 2.855 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005652/1.254, allocations: 321.3 kB / 1.389 GB, free: 2.629 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/1.254, allocations: 0 / 1.389 GB, free: 2.629 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.834e-05/1.254, allocations: 15.47 kB / 1.389 GB, free: 2.617 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/1.254, allocations: 9.922 kB / 1.389 GB, free: 2.613 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004269/1.254, allocations: 197.4 kB / 1.389 GB, free: 2.527 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.001834/1.256, allocations: 1.537 MB / 1.391 GB, free: 1.074 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002536/1.256, allocations: 114.7 kB / 1.391 GB, free: 1.004 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001688/1.256, allocations: 83.72 kB / 1.391 GB, free: 0.9609 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006132/1.257, allocations: 310.4 kB / 1.391 GB, free: 0.6445 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/1.257, allocations: 31.69 kB / 1.391 GB, free: 0.6055 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/1.257, allocations: 0 / 1.391 GB, free: 0.6055 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0007625/1.258, allocations: 281.2 kB / 1.392 GB, free: 468 kB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/1.258, allocations: 53.53 kB / 1.392 GB, free: 404 kB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000347/1.258, allocations: 310.3 kB / 1.392 GB, free: 196 kB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/1.258, allocations: 26.98 kB / 1.392 GB, free: 164 kB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000159/1.258, allocations: 185 kB / 1.392 GB, free: 15.99 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.696e-05/1.259, allocations: 46.02 kB / 1.392 GB, free: 15.95 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.46e-05/1.259, allocations: 46.38 kB / 1.392 GB, free: 15.91 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000166/1.259, allocations: 334.3 kB / 1.393 GB, free: 15.58 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/1.259, allocations: 62.92 kB / 1.393 GB, free: 15.55 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/1.259, allocations: 109.1 kB / 1.393 GB, free: 15.47 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003655/1.259, allocations: 177.5 kB / 1.393 GB, free: 15.35 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/1.259, allocations: 3.75 kB / 1.393 GB, free: 15.35 MB / 1.076 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004291/1.26, allocations: 220.2 kB / 1.393 GB, free: 15.22 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/1.26, allocations: 6.5 kB / 1.393 GB, free: 15.22 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/1.26, allocations: 1.188 kB / 1.393 GB, free: 15.22 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/1.26, allocations: 2.594 kB / 1.393 GB, free: 15.22 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/1.26, allocations: 38.61 kB / 1.393 GB, free: 15.21 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/1.26, allocations: 1.844 kB / 1.393 GB, free: 15.21 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/1.26, allocations: 30.8 kB / 1.393 GB, free: 15.19 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.829e-05/1.26, allocations: 6.625 kB / 1.393 GB, free: 15.19 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.000165/1.261, allocations: 159.5 kB / 1.393 GB, free: 15.04 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.696e-05/1.261, allocations: 33.59 kB / 1.393 GB, free: 15.02 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000478/1.261, allocations: 203 kB / 1.394 GB, free: 14.9 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/1.261, allocations: 1.688 kB / 1.394 GB, free: 14.9 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/1.261, allocations: 1.062 kB / 1.394 GB, free: 14.9 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/1.261, allocations: 4 kB / 1.394 GB, free: 14.89 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/1.262, allocations: 0.681 MB / 1.394 GB, free: 14.32 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/1.262, allocations: 2.156 kB / 1.394 GB, free: 14.32 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001318/1.262, allocations: 33.59 kB / 1.394 GB, free: 14.3 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/1.262, allocations: 2.891 kB / 1.394 GB, free: 14.3 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/1.262, allocations: 12.02 kB / 1.394 GB, free: 14.3 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/1.262, allocations: 2.812 kB / 1.394 GB, free: 14.3 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.262, allocations: 1.469 kB / 1.394 GB, free: 14.3 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004481/1.263, allocations: 341.4 kB / 1.395 GB, free: 14.02 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001557/1.263, allocations: 131.3 kB / 1.395 GB, free: 13.88 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.035e-05/1.263, allocations: 6.719 kB / 1.395 GB, free: 13.88 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/1.263, allocations: 9.016 kB / 1.395 GB, free: 13.88 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.848e-05/1.263, allocations: 18.36 kB / 1.395 GB, free: 13.86 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/1.263, allocations: 8.312 kB / 1.395 GB, free: 13.86 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002306/1.264, allocations: 221.9 kB / 1.395 GB, free: 13.72 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.264, allocations: 0 / 1.395 GB, free: 13.72 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003879/1.264, allocations: 77.69 kB / 1.395 GB, free: 13.7 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.001096/1.265, allocations: 0.923 MB / 1.396 GB, free: 12.87 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000409/1.265, allocations: 153.9 kB / 1.396 GB, free: 12.8 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/1.265, allocations: 0 / 1.396 GB, free: 12.8 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001835/1.266, allocations: 91.44 kB / 1.396 GB, free: 12.75 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009333/1.267, allocations: 149.6 kB / 1.396 GB, free: 12.68 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004403/1.271, allocations: 2.804 MB / 1.399 GB, free: 10.55 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006573/1.272, allocations: 0.7852 MB / 1.4 GB, free: 9.805 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002579/1.272, allocations: 65.17 kB / 1.4 GB, free: 9.77 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/1.272, allocations: 91.34 kB / 1.4 GB, free: 9.695 MB / 1.076 GB Notification: Performance of SimCode: time 1.012e-06/1.272, allocations: 3.938 kB / 1.4 GB, free: 9.691 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03873/1.311, allocations: 8.187 MB / 1.408 GB, free: 5.629 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.717/10.03, allocations: 5.859 kB / 1.408 GB, free: 5.625 MB / 1.076 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.31302776420489]