Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.001188/0.001188, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001334/0.001334, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.306/1.306, allocations: 230.6 MB / 256 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.83/2.83, allocations: 0.49 GB / 0.7951 GB, free: 33.34 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.SpecificEnthalpy,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",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.001873/0.001873, allocations: 69.22 kB / 1.154 GB, free: 25.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3107, allocations: 176.1 MB / 1.326 GB, free: 1.965 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1792/0.4899, allocations: 164.9 MB / 1.487 GB, free: 12.42 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.005443/0.4953, allocations: 4.616 MB / 1.491 GB, free: 7.797 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003035/0.4956, allocations: 15.88 kB / 1.491 GB, free: 7.781 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0004055/0.496, allocations: 127 kB / 1.492 GB, free: 7.656 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0007776/0.4968, allocations: 346.4 kB / 1.492 GB, free: 7.316 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007225/0.4975, allocations: 305.6 kB / 1.492 GB, free: 7.023 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0006396/0.4982, allocations: 0.569 MB / 1.493 GB, free: 6.453 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002856/0.4985, allocations: 153.5 kB / 1.493 GB, free: 6.297 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001351/0.4998, allocations: 0.6889 MB / 1.494 GB, free: 5.605 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002995/0.5001, allocations: 207.2 kB / 1.494 GB, free: 5.402 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 3.193e-05/0.5001, allocations: 16 kB / 1.494 GB, free: 5.387 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001681/0.5003, allocations: 87.92 kB / 1.494 GB, free: 5.301 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.5004, allocations: 91.7 kB / 1.494 GB, free: 5.211 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.5005, allocations: 115.4 kB / 1.494 GB, free: 5.098 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0003915/0.5009, allocations: 298.8 kB / 1.494 GB, free: 4.805 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.5009, allocations: 0 / 1.494 GB, free: 4.805 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5009, allocations: 0 / 1.494 GB, free: 4.805 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.5009, allocations: 0 / 1.494 GB, free: 4.805 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0007777/0.5017, allocations: 484.7 kB / 1.495 GB, free: 4.301 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.5018, allocations: 12.03 kB / 1.495 GB, free: 4.289 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.346e-05/0.5018, allocations: 50.48 kB / 1.495 GB, free: 4.23 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.857e-05/0.5019, allocations: 31.8 kB / 1.495 GB, free: 4.199 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003871/0.5023, allocations: 233.6 kB / 1.495 GB, free: 3.945 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.5023, allocations: 12 kB / 1.495 GB, free: 3.934 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.351e-05/0.5023, allocations: 16 kB / 1.495 GB, free: 3.918 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004329/0.5027, allocations: 269.6 kB / 1.495 GB, free: 3.617 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.5027, allocations: 3.938 kB / 1.495 GB, free: 3.613 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.5028, allocations: 8 kB / 1.495 GB, free: 3.605 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.5028, allocations: 4 kB / 1.495 GB, free: 3.602 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003187/0.5031, allocations: 147.8 kB / 1.496 GB, free: 3.457 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/0.5044, allocations: 1.332 MB / 1.497 GB, free: 2.039 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002926/0.5047, allocations: 171.7 kB / 1.497 GB, free: 1.816 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.5049, allocations: 93.11 kB / 1.497 GB, free: 1.707 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002922/0.5052, allocations: 43.94 kB / 1.497 GB, free: 1.664 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.5052, allocations: 54.42 kB / 1.497 GB, free: 1.602 MB / 1.186 GB Notification: Performance of pre-optimization done (n=10): time 1.253e-06/0.5052, allocations: 0 / 1.497 GB, free: 1.602 MB / 1.186 GB Notification: Performance of matching and sorting (n=10): time 0.0005705/0.5058, allocations: 217.2 kB / 1.497 GB, free: 1.383 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/0.5059, allocations: 183.9 kB / 1.498 GB, free: 1.16 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002857/0.5062, allocations: 288.8 kB / 1.498 GB, free: 0.8711 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/0.5062, allocations: 29.7 kB / 1.498 GB, free: 0.8359 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.5063, allocations: 151.9 kB / 1.498 GB, free: 0.6836 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 3.508e-05/0.5064, allocations: 39.69 kB / 1.498 GB, free: 0.6445 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.184e-05/0.5064, allocations: 29.72 kB / 1.498 GB, free: 0.6094 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.5066, allocations: 334.8 kB / 1.498 GB, free: 280 kB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.5067, allocations: 47.95 kB / 1.499 GB, free: 232 kB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001852/0.5069, allocations: 121.3 kB / 1.499 GB, free: 84 kB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002949/0.5072, allocations: 154.7 kB / 1.499 GB, free: 15.91 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.5072, allocations: 0 / 1.499 GB, free: 15.91 MB / 1.201 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003503/0.5075, allocations: 189.4 kB / 1.499 GB, free: 15.71 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.5075, allocations: 11.94 kB / 1.499 GB, free: 15.7 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.5075, allocations: 0 / 1.499 GB, free: 15.7 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.5076, allocations: 4 kB / 1.499 GB, free: 15.7 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.5077, allocations: 39.91 kB / 1.499 GB, free: 15.66 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.5077, allocations: 4 kB / 1.499 GB, free: 15.66 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.5078, allocations: 27.77 kB / 1.499 GB, free: 15.63 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.5079, allocations: 12 kB / 1.499 GB, free: 15.62 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (15): * Single equations (assignments): 15 * 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.0001338/0.508, allocations: 149.8 kB / 1.499 GB, free: 15.46 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.5081, allocations: 27.8 kB / 1.499 GB, free: 15.43 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003036/0.5084, allocations: 135.4 kB / 1.499 GB, free: 15.29 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.5084, allocations: 4 kB / 1.499 GB, free: 15.29 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.5084, allocations: 3.938 kB / 1.499 GB, free: 15.28 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.5084, allocations: 4 kB / 1.499 GB, free: 15.28 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008481/0.5093, allocations: 0.7525 MB / 1.5 GB, free: 14.46 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.5093, allocations: 0 / 1.5 GB, free: 14.46 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.5094, allocations: 19.98 kB / 1.5 GB, free: 14.44 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.5094, allocations: 4 kB / 1.5 GB, free: 14.43 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.5094, allocations: 0 / 1.5 GB, free: 14.43 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.5094, allocations: 4 kB / 1.5 GB, free: 14.43 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.5094, allocations: 8.141 kB / 1.5 GB, free: 14.42 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005024/0.5099, allocations: 343.5 kB / 1.5 GB, free: 14.05 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 7.152e-05/0.51, allocations: 35.83 kB / 1.5 GB, free: 14.02 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.017e-05/0.51, allocations: 0 / 1.5 GB, free: 14.02 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.5101, allocations: 8 kB / 1.5 GB, free: 14.01 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.571e-05/0.5102, allocations: 15.92 kB / 1.501 GB, free: 14 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.383e-06/0.5102, allocations: 4 kB / 1.501 GB, free: 13.99 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002/0.5104, allocations: 207.1 kB / 1.501 GB, free: 13.79 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.5104, allocations: 4.062 kB / 1.501 GB, free: 13.79 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0003201/0.5107, allocations: 63.88 kB / 1.501 GB, free: 13.73 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * 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.0008769/0.5116, allocations: 0.8959 MB / 1.502 GB, free: 12.79 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0003193/0.5119, allocations: 112.2 kB / 1.502 GB, free: 12.68 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.5119, allocations: 4.062 kB / 1.502 GB, free: 12.68 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.512, allocations: 55.91 kB / 1.502 GB, free: 12.62 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006881/0.5127, allocations: 130 kB / 1.502 GB, free: 12.5 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003185/0.5159, allocations: 2.615 MB / 1.504 GB, free: 9.73 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.5163, allocations: 0.7558 MB / 1.505 GB, free: 8.949 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0001493/0.5164, allocations: 58.23 kB / 1.505 GB, free: 8.895 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.539e-05/0.5165, allocations: 67.42 kB / 1.505 GB, free: 8.828 MB / 1.201 GB Notification: Performance of SimCode: time 4.31e-07/0.5165, allocations: 0 / 1.505 GB, free: 8.828 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03561/0.5522, allocations: 7.027 MB / 1.512 GB, free: 1.996 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.06/10.61, allocations: 9.609 kB / 1.512 GB, free: 1.988 MB / 1.201 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv --start-time 0 --stop-time 60 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_12_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable senStr.port_a.m_flow in file Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv. Warning: Get data of variable senStr.port_a.m_flow from file Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv failed! Error: Could not read variable senFloSou.h_out in file Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv. Warning: Get data of variable senFloSou.h_out from file Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.48530805900009]