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.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.001756/0.001756, allocations: 110 kB / 16.45 MB, free: 6.504 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.002053/0.002053, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.463/1.463, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.792/2.792, allocations: 476.7 MB / 0.7611 GB, free: 11.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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 0.001942/0.001942, allocations: 75.88 kB / 1.104 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9213/0.9233, allocations: 168.7 MB / 1.269 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2252/1.148, allocations: 168.1 MB / 1.433 GB, free: 12.5 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.008938/1.157, allocations: 6.579 MB / 1.439 GB, free: 5.898 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005687/1.158, allocations: 11.94 kB / 1.439 GB, free: 5.887 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0006054/1.159, allocations: 174.7 kB / 1.44 GB, free: 5.715 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002426/1.161, allocations: 0.8791 MB / 1.44 GB, free: 4.832 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001029/1.162, allocations: 324.7 kB / 1.441 GB, free: 4.516 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0009881/1.163, allocations: 0.7173 MB / 1.441 GB, free: 3.793 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004346/1.163, allocations: 241.2 kB / 1.442 GB, free: 3.555 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001241/1.165, allocations: 0.5721 MB / 1.442 GB, free: 2.98 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004168/1.165, allocations: 275 kB / 1.442 GB, free: 2.711 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 4.316e-05/1.165, allocations: 24 kB / 1.442 GB, free: 2.688 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007564/1.166, allocations: 367.1 kB / 1.443 GB, free: 2.328 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001437/1.166, allocations: 107.6 kB / 1.443 GB, free: 2.223 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001882/1.166, allocations: 167.2 kB / 1.443 GB, free: 2.059 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.000756/1.167, allocations: 470.2 kB / 1.444 GB, free: 1.598 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/1.167, allocations: 0 / 1.444 GB, free: 1.598 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.593e-06/1.167, allocations: 0 / 1.444 GB, free: 1.598 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.044e-05/1.167, allocations: 0 / 1.444 GB, free: 1.598 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.001035/1.168, allocations: 0.6297 MB / 1.444 GB, free: 0.9219 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/1.168, allocations: 8.031 kB / 1.444 GB, free: 0.9141 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001043/1.168, allocations: 62.53 kB / 1.444 GB, free: 0.8438 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003757/1.169, allocations: 71.67 kB / 1.444 GB, free: 0.7734 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006538/1.169, allocations: 329.3 kB / 1.445 GB, free: 420 kB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/1.169, allocations: 20.56 kB / 1.445 GB, free: 400 kB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.827e-05/1.169, allocations: 28 kB / 1.445 GB, free: 372 kB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006243/1.17, allocations: 315.7 kB / 1.445 GB, free: 32 kB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/1.17, allocations: 4 kB / 1.445 GB, free: 28 kB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.538e-05/1.17, allocations: 8 kB / 1.445 GB, free: 20 kB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/1.17, allocations: 15.98 kB / 1.445 GB, free: 4 kB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004668/1.17, allocations: 205.4 kB / 1.445 GB, free: 15.8 MB / 1.154 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.001976/1.172, allocations: 1.527 MB / 1.447 GB, free: 14.14 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002855/1.173, allocations: 118.5 kB / 1.447 GB, free: 14.02 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002079/1.173, allocations: 80.81 kB / 1.447 GB, free: 13.93 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006806/1.174, allocations: 303.2 kB / 1.447 GB, free: 13.58 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/1.174, allocations: 34.56 kB / 1.447 GB, free: 13.54 MB / 1.154 GB Notification: Performance of pre-optimization done (n=13): time 1.824e-06/1.174, allocations: 0 / 1.447 GB, free: 13.54 MB / 1.154 GB Notification: Performance of matching and sorting (n=13): time 0.0008928/1.175, allocations: 276.4 kB / 1.447 GB, free: 13.27 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.358e-05/1.175, allocations: 55.41 kB / 1.447 GB, free: 13.2 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003909/1.175, allocations: 312.5 kB / 1.448 GB, free: 12.89 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.348e-05/1.175, allocations: 33.7 kB / 1.448 GB, free: 12.85 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001859/1.175, allocations: 184.3 kB / 1.448 GB, free: 12.66 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.645e-05/1.175, allocations: 51.5 kB / 1.448 GB, free: 12.61 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.445e-05/1.175, allocations: 45.66 kB / 1.448 GB, free: 12.56 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.00018/1.176, allocations: 330.8 kB / 1.448 GB, free: 12.23 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/1.176, allocations: 59.95 kB / 1.448 GB, free: 12.17 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/1.176, allocations: 120.9 kB / 1.449 GB, free: 12.04 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000363/1.176, allocations: 177 kB / 1.449 GB, free: 11.84 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.176, allocations: 0 / 1.449 GB, free: 11.84 MB / 1.154 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004409/1.177, allocations: 221.2 kB / 1.449 GB, free: 11.62 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/1.177, allocations: 4 kB / 1.449 GB, free: 11.62 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/1.177, allocations: 4 kB / 1.449 GB, free: 11.61 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/1.177, allocations: 160 / 1.449 GB, free: 11.61 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/1.177, allocations: 43.92 kB / 1.449 GB, free: 11.57 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/1.177, allocations: 3.938 kB / 1.449 GB, free: 11.57 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/1.177, allocations: 23.88 kB / 1.449 GB, free: 11.54 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.022e-05/1.177, allocations: 8 kB / 1.449 GB, free: 11.54 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.0001714/1.177, allocations: 157.6 kB / 1.449 GB, free: 11.37 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.576e-05/1.177, allocations: 31.8 kB / 1.449 GB, free: 11.34 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004607/1.178, allocations: 208.3 kB / 1.449 GB, free: 11.12 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/1.178, allocations: 4 kB / 1.449 GB, free: 11.12 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.178, allocations: 0 / 1.449 GB, free: 11.12 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/1.178, allocations: 0 / 1.449 GB, free: 11.12 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001193/1.179, allocations: 0.6796 MB / 1.45 GB, free: 10.36 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/1.179, allocations: 8.062 kB / 1.45 GB, free: 10.36 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/1.179, allocations: 27.97 kB / 1.45 GB, free: 10.33 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/1.179, allocations: 4.047 kB / 1.45 GB, free: 10.32 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/1.179, allocations: 7.922 kB / 1.45 GB, free: 10.32 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/1.179, allocations: 4.219 kB / 1.45 GB, free: 10.31 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/1.179, allocations: 11.94 kB / 1.45 GB, free: 10.3 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004658/1.18, allocations: 333.3 kB / 1.45 GB, free: 9.938 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001577/1.18, allocations: 124.8 kB / 1.451 GB, free: 9.797 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.808e-05/1.18, allocations: 7.938 kB / 1.451 GB, free: 9.789 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/1.18, allocations: 11.92 kB / 1.451 GB, free: 9.777 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.581e-05/1.18, allocations: 11.98 kB / 1.451 GB, free: 9.766 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/1.18, allocations: 12 kB / 1.451 GB, free: 9.754 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002288/1.18, allocations: 219.1 kB / 1.451 GB, free: 9.543 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/1.18, allocations: 0 / 1.451 GB, free: 9.543 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0003878/1.181, allocations: 75.88 kB / 1.451 GB, free: 9.469 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.001089/1.182, allocations: 0.9265 MB / 1.452 GB, free: 8.5 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0004313/1.182, allocations: 152 kB / 1.452 GB, free: 8.352 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/1.182, allocations: 4.062 kB / 1.452 GB, free: 8.348 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.000185/1.182, allocations: 87.81 kB / 1.452 GB, free: 8.262 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008074/1.183, allocations: 149.9 kB / 1.452 GB, free: 8.121 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003805/1.187, allocations: 2.801 MB / 1.455 GB, free: 5.164 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004791/1.188, allocations: 0.7832 MB / 1.456 GB, free: 4.352 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0002264/1.188, allocations: 62.94 kB / 1.456 GB, free: 4.289 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/1.188, allocations: 91.41 kB / 1.456 GB, free: 4.203 MB / 1.154 GB Notification: Performance of SimCode: time 7.52e-07/1.188, allocations: 0 / 1.456 GB, free: 4.203 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03529/1.223, allocations: 8.178 MB / 1.464 GB, free: 12.21 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.358/9.582, allocations: 6.062 kB / 1.464 GB, free: 12.21 MB / 1.17 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_2/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: 15.652403725776821]