Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001221/0.001221, 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.001308/0.001308, allocations: 210.2 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.432/1.432, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.946/2.946, allocations: 0.5003 GB / 0.8026 GB, free: 6.73 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",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.001966/0.001966, allocations: 63.91 kB / 1.165 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8398/0.8418, allocations: 178.9 MB / 1.34 GB, free: 16.26 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.21/1.052, allocations: 164.8 MB / 1.501 GB, free: 3.434 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.006047/1.058, allocations: 4.585 MB / 1.506 GB, free: 14.84 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003566/1.058, allocations: 11.88 kB / 1.506 GB, free: 14.82 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0004768/1.059, allocations: 131.1 kB / 1.506 GB, free: 14.7 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.000845/1.06, allocations: 346.4 kB / 1.506 GB, free: 14.36 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007821/1.06, allocations: 280.2 kB / 1.506 GB, free: 14.09 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0006896/1.061, allocations: 0.5573 MB / 1.507 GB, free: 13.53 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000312/1.061, allocations: 177.2 kB / 1.507 GB, free: 13.35 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001486/1.063, allocations: 0.6772 MB / 1.508 GB, free: 12.67 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002933/1.063, allocations: 207.1 kB / 1.508 GB, free: 12.47 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 3.161e-05/1.063, allocations: 16 kB / 1.508 GB, free: 12.45 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001846/1.063, allocations: 79.94 kB / 1.508 GB, free: 12.38 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001146/1.063, allocations: 95.7 kB / 1.508 GB, free: 12.28 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001334/1.064, allocations: 119.4 kB / 1.508 GB, free: 12.16 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0004203/1.064, allocations: 296.8 kB / 1.508 GB, free: 11.88 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/1.064, allocations: 3.984 kB / 1.508 GB, free: 11.87 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.493e-06/1.064, allocations: 0 / 1.508 GB, free: 11.87 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.292e-06/1.064, allocations: 0 / 1.508 GB, free: 11.87 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.0009145/1.065, allocations: 0.5466 MB / 1.509 GB, free: 11.28 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/1.065, allocations: 12.03 kB / 1.509 GB, free: 11.27 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.007e-05/1.065, allocations: 4 kB / 1.509 GB, free: 11.26 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.907e-05/1.065, allocations: 54.48 kB / 1.509 GB, free: 11.2 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.544e-05/1.065, allocations: 27.81 kB / 1.509 GB, free: 11.17 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004307/1.066, allocations: 291.5 kB / 1.509 GB, free: 10.85 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/1.066, allocations: 16 kB / 1.509 GB, free: 10.83 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.905e-05/1.066, allocations: 16 kB / 1.509 GB, free: 10.82 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005146/1.066, allocations: 269.7 kB / 1.51 GB, free: 10.52 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/1.066, allocations: 0 / 1.51 GB, free: 10.52 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.273e-05/1.066, allocations: 12 kB / 1.51 GB, free: 10.5 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/1.066, allocations: 4 kB / 1.51 GB, free: 10.5 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003611/1.067, allocations: 143.8 kB / 1.51 GB, free: 10.36 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001436/1.068, allocations: 1.368 MB / 1.511 GB, free: 8.902 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003255/1.068, allocations: 175.7 kB / 1.511 GB, free: 8.676 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001923/1.069, allocations: 97.11 kB / 1.511 GB, free: 8.562 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003596/1.069, allocations: 125 kB / 1.511 GB, free: 8.422 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/1.069, allocations: 42.5 kB / 1.512 GB, free: 8.371 MB / 1.186 GB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/1.069, allocations: 0 / 1.512 GB, free: 8.371 MB / 1.186 GB Notification: Performance of matching and sorting (n=10): time 0.0006432/1.07, allocations: 205.3 kB / 1.512 GB, free: 8.164 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/1.07, allocations: 187.9 kB / 1.512 GB, free: 7.938 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003148/1.07, allocations: 291.6 kB / 1.512 GB, free: 7.652 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/1.07, allocations: 29.7 kB / 1.512 GB, free: 7.617 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/1.07, allocations: 151.9 kB / 1.512 GB, free: 7.465 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 3.634e-05/1.07, allocations: 31.7 kB / 1.512 GB, free: 7.434 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.793e-05/1.07, allocations: 41.64 kB / 1.512 GB, free: 7.387 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001784/1.07, allocations: 338.8 kB / 1.513 GB, free: 7.047 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/1.071, allocations: 43.95 kB / 1.513 GB, free: 7.004 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/1.071, allocations: 125.6 kB / 1.513 GB, free: 6.855 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003102/1.071, allocations: 150.7 kB / 1.513 GB, free: 6.684 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/1.071, allocations: 0 / 1.513 GB, free: 6.684 MB / 1.186 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004059/1.071, allocations: 201.3 kB / 1.513 GB, free: 6.48 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/1.071, allocations: 4 kB / 1.513 GB, free: 6.477 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/1.071, allocations: 4 kB / 1.513 GB, free: 6.473 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/1.072, allocations: 0 / 1.513 GB, free: 6.473 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/1.072, allocations: 31.92 kB / 1.513 GB, free: 6.441 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/1.072, allocations: 7.984 kB / 1.513 GB, free: 6.434 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/1.072, allocations: 27.84 kB / 1.513 GB, free: 6.406 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/1.072, allocations: 7.984 kB / 1.513 GB, free: 6.398 MB / 1.186 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.0001502/1.072, allocations: 151.7 kB / 1.513 GB, free: 6.242 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/1.072, allocations: 27.8 kB / 1.513 GB, free: 6.215 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00037/1.072, allocations: 127.3 kB / 1.514 GB, free: 6.082 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/1.072, allocations: 8.047 kB / 1.514 GB, free: 6.074 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.667e-06/1.073, allocations: 7.984 kB / 1.514 GB, free: 6.066 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/1.073, allocations: 3.984 kB / 1.514 GB, free: 6.062 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009102/1.073, allocations: 0.773 MB / 1.514 GB, free: 5.215 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/1.073, allocations: 0 / 1.514 GB, free: 5.215 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/1.074, allocations: 23.92 kB / 1.514 GB, free: 5.191 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.77e-06/1.074, allocations: 4 kB / 1.514 GB, free: 5.188 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/1.074, allocations: 7.984 kB / 1.514 GB, free: 5.18 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/1.074, allocations: 8.156 kB / 1.514 GB, free: 5.172 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/1.074, allocations: 0 / 1.514 GB, free: 5.172 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005684/1.074, allocations: 339.5 kB / 1.515 GB, free: 4.809 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/1.074, allocations: 112.9 kB / 1.515 GB, free: 4.68 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.044e-05/1.074, allocations: 4 kB / 1.515 GB, free: 4.676 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/1.074, allocations: 7.984 kB / 1.515 GB, free: 4.668 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.73e-05/1.074, allocations: 15.94 kB / 1.515 GB, free: 4.652 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/1.074, allocations: 4 kB / 1.515 GB, free: 4.648 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002235/1.075, allocations: 210 kB / 1.515 GB, free: 4.441 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/1.075, allocations: 0 / 1.515 GB, free: 4.441 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0003434/1.075, allocations: 67.81 kB / 1.515 GB, free: 4.375 MB / 1.186 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.0009738/1.076, allocations: 0.8921 MB / 1.516 GB, free: 3.441 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0003692/1.076, allocations: 120.2 kB / 1.516 GB, free: 3.324 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/1.076, allocations: 0 / 1.516 GB, free: 3.324 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001448/1.077, allocations: 55.91 kB / 1.516 GB, free: 3.27 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000731/1.077, allocations: 131.4 kB / 1.516 GB, free: 3.145 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003307/1.081, allocations: 2.621 MB / 1.519 GB, free: 380 kB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004301/1.081, allocations: 0.7597 MB / 1.52 GB, free: 15.59 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0001338/1.081, allocations: 50.25 kB / 1.52 GB, free: 15.54 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/1.081, allocations: 67.42 kB / 1.52 GB, free: 15.47 MB / 1.201 GB Notification: Performance of SimCode: time 2.7e-07/1.081, allocations: 0 / 1.52 GB, free: 15.47 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02732/1.109, allocations: 6.895 MB / 1.526 GB, free: 8.746 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.312/9.42, allocations: 18.28 kB / 1.526 GB, free: 8.73 MB / 1.201 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.732206782966387]