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.001769/0.001769, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.002185/0.002185, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.555/1.555, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.878/2.878, allocations: 476.7 MB / 0.7678 GB, free: 9.336 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="cs",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.002081/0.002081, allocations: 67.91 kB / 1.113 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.1/1.102, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2427/1.345, allocations: 171 MB / 1.446 GB, free: 0.8867 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.009243/1.354, allocations: 6.587 MB / 1.452 GB, free: 10.28 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005285/1.354, allocations: 15.88 kB / 1.452 GB, free: 10.27 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0006182/1.355, allocations: 166.7 kB / 1.453 GB, free: 10.1 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002337/1.357, allocations: 0.8752 MB / 1.453 GB, free: 9.223 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009985/1.358, allocations: 331 kB / 1.454 GB, free: 8.902 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.00101/1.359, allocations: 0.7174 MB / 1.454 GB, free: 8.184 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004316/1.36, allocations: 237.4 kB / 1.455 GB, free: 7.957 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0014/1.361, allocations: 0.5721 MB / 1.455 GB, free: 7.383 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004846/1.362, allocations: 283 kB / 1.455 GB, free: 7.105 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 4.551e-05/1.362, allocations: 27.92 kB / 1.456 GB, free: 7.078 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007605/1.363, allocations: 363.1 kB / 1.456 GB, free: 6.723 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001497/1.363, allocations: 111.7 kB / 1.456 GB, free: 6.613 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001931/1.363, allocations: 159.2 kB / 1.456 GB, free: 6.457 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0007771/1.364, allocations: 478.2 kB / 1.457 GB, free: 5.988 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/1.364, allocations: 0 / 1.457 GB, free: 5.988 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.273e-06/1.364, allocations: 4 kB / 1.457 GB, free: 5.984 MB / 1.139 GB Notification: Performance of Transformations before backend: time 8.525e-06/1.364, allocations: 0 / 1.457 GB, free: 5.984 MB / 1.139 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.0009462/1.365, allocations: 0.6268 MB / 1.457 GB, free: 5.305 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/1.365, allocations: 12.03 kB / 1.457 GB, free: 5.293 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.717e-05/1.365, allocations: 4.562 kB / 1.457 GB, free: 5.289 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8e-05/1.365, allocations: 62.53 kB / 1.457 GB, free: 5.219 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003047/1.365, allocations: 63.67 kB / 1.457 GB, free: 5.156 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005419/1.366, allocations: 329.4 kB / 1.458 GB, free: 4.797 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.677e-05/1.366, allocations: 24.5 kB / 1.458 GB, free: 4.773 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/1.366, allocations: 24 kB / 1.458 GB, free: 4.75 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005686/1.366, allocations: 315.7 kB / 1.458 GB, free: 4.418 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/1.366, allocations: 0 / 1.458 GB, free: 4.418 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/1.366, allocations: 12 kB / 1.458 GB, free: 4.406 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/1.366, allocations: 11.98 kB / 1.458 GB, free: 4.395 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004903/1.367, allocations: 205.5 kB / 1.458 GB, free: 4.191 MB / 1.139 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.001681/1.369, allocations: 1.535 MB / 1.46 GB, free: 2.523 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002663/1.369, allocations: 118.5 kB / 1.46 GB, free: 2.398 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/1.369, allocations: 88.73 kB / 1.46 GB, free: 2.309 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006711/1.37, allocations: 303.2 kB / 1.46 GB, free: 1.957 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/1.37, allocations: 30.56 kB / 1.46 GB, free: 1.918 MB / 1.139 GB Notification: Performance of pre-optimization done (n=13): time 1.193e-06/1.37, allocations: 0 / 1.46 GB, free: 1.918 MB / 1.139 GB Notification: Performance of matching and sorting (n=13): time 0.0007753/1.37, allocations: 273.6 kB / 1.46 GB, free: 1.645 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.617e-05/1.37, allocations: 55.41 kB / 1.461 GB, free: 1.578 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003376/1.371, allocations: 316.5 kB / 1.461 GB, free: 1.258 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/1.371, allocations: 25.7 kB / 1.461 GB, free: 1.227 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/1.371, allocations: 184.3 kB / 1.461 GB, free: 1.043 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 4.633e-05/1.371, allocations: 47.58 kB / 1.461 GB, free: 0.9961 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.303e-05/1.371, allocations: 37.7 kB / 1.461 GB, free: 0.9531 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001753/1.371, allocations: 342.8 kB / 1.461 GB, free: 0.6094 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/1.371, allocations: 67.8 kB / 1.461 GB, free: 0.543 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/1.372, allocations: 109.1 kB / 1.462 GB, free: 428 kB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003507/1.372, allocations: 173 kB / 1.462 GB, free: 236 kB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/1.372, allocations: 0 / 1.462 GB, free: 236 kB / 1.139 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000482/1.373, allocations: 233.2 kB / 1.462 GB, free: 15.99 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/1.373, allocations: 6.5 kB / 1.462 GB, free: 15.99 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/1.373, allocations: 4 kB / 1.462 GB, free: 15.98 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/1.373, allocations: 0 / 1.462 GB, free: 15.98 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001911/1.373, allocations: 35.92 kB / 1.462 GB, free: 15.95 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/1.373, allocations: 0 / 1.462 GB, free: 15.95 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001747/1.373, allocations: 31.83 kB / 1.462 GB, free: 15.92 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.726e-05/1.373, allocations: 8.156 kB / 1.462 GB, free: 15.91 MB / 1.154 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.0001612/1.373, allocations: 161.6 kB / 1.462 GB, free: 15.74 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.49e-05/1.373, allocations: 27.81 kB / 1.462 GB, free: 15.71 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004888/1.374, allocations: 205 kB / 1.462 GB, free: 15.5 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/1.374, allocations: 0 / 1.462 GB, free: 15.5 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/1.374, allocations: 4 kB / 1.462 GB, free: 15.5 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/1.374, allocations: 3.984 kB / 1.462 GB, free: 15.5 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/1.375, allocations: 0.676 MB / 1.463 GB, free: 14.74 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/1.375, allocations: 4.031 kB / 1.463 GB, free: 14.74 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001378/1.375, allocations: 35.86 kB / 1.463 GB, free: 14.7 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/1.375, allocations: 0 / 1.463 GB, free: 14.7 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/1.375, allocations: 11.94 kB / 1.463 GB, free: 14.69 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/1.375, allocations: 4 kB / 1.463 GB, free: 14.69 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.375, allocations: 0 / 1.463 GB, free: 14.69 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005077/1.376, allocations: 338.6 kB / 1.463 GB, free: 14.32 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/1.376, allocations: 124.8 kB / 1.464 GB, free: 14.18 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.001e-05/1.376, allocations: 7.938 kB / 1.464 GB, free: 14.17 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/1.376, allocations: 16.05 kB / 1.464 GB, free: 14.16 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.05e-05/1.376, allocations: 23.86 kB / 1.464 GB, free: 14.13 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/1.376, allocations: 8 kB / 1.464 GB, free: 14.12 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002478/1.376, allocations: 223 kB / 1.464 GB, free: 13.91 MB / 1.154 GB Notification: Performance of sort global known variables: time 6e-08/1.376, allocations: 0 / 1.464 GB, free: 13.91 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0004044/1.377, allocations: 71.89 kB / 1.464 GB, free: 13.84 MB / 1.154 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.001119/1.378, allocations: 0.9171 MB / 1.465 GB, free: 12.87 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0004438/1.378, allocations: 151.8 kB / 1.465 GB, free: 12.72 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/1.378, allocations: 0 / 1.465 GB, free: 12.72 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002036/1.378, allocations: 83.81 kB / 1.465 GB, free: 12.64 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008838/1.379, allocations: 145 kB / 1.465 GB, free: 12.51 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004276/1.384, allocations: 2.82 MB / 1.468 GB, free: 9.539 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005231/1.384, allocations: 0.7834 MB / 1.469 GB, free: 8.73 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0002279/1.384, allocations: 54.94 kB / 1.469 GB, free: 8.672 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001643/1.384, allocations: 91.41 kB / 1.469 GB, free: 8.582 MB / 1.154 GB Notification: Performance of SimCode: time 8.42e-07/1.384, allocations: 0 / 1.469 GB, free: 8.582 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03112/1.416, allocations: 8.157 MB / 1.477 GB, free: 0.6172 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.918/10.33, allocations: 6.625 kB / 1.477 GB, free: 0.6133 MB / 1.154 GB " [Timeout remaining time 290] (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/jenkins1/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: 16.970504948985763]