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.001613/0.001613, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001866/0.001866, allocations: 218.5 kB / 23.03 MB, free: 4.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.408/1.408, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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 3.08/3.08, allocations: 0.49 GB / 0.7959 GB, free: 35.4 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_12_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.001897/0.001897, allocations: 63.75 kB / 1.155 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3051, allocations: 176.1 MB / 1.327 GB, free: 1.523 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1866/0.4918, allocations: 142.1 MB / 1.465 GB, free: 2.863 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.006287/0.498, allocations: 4.187 MB / 1.469 GB, free: 14.67 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003166/0.4984, allocations: 15.88 kB / 1.47 GB, free: 14.65 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004248/0.4988, allocations: 131 kB / 1.47 GB, free: 14.52 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0009399/0.4997, allocations: 338.5 kB / 1.47 GB, free: 14.19 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007546/0.5005, allocations: 286.9 kB / 1.47 GB, free: 13.91 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0007159/0.5012, allocations: 0.5651 MB / 1.471 GB, free: 13.35 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004047/0.5016, allocations: 173.3 kB / 1.471 GB, free: 13.17 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001735/0.5033, allocations: 0.6578 MB / 1.472 GB, free: 12.51 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003108/0.5036, allocations: 207.2 kB / 1.472 GB, free: 12.31 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.428e-05/0.5037, allocations: 16 kB / 1.472 GB, free: 12.29 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001911/0.5039, allocations: 75.94 kB / 1.472 GB, free: 12.22 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.504, allocations: 91.72 kB / 1.472 GB, free: 12.13 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001579/0.5042, allocations: 103.5 kB / 1.472 GB, free: 12.03 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0004522/0.5046, allocations: 306.7 kB / 1.472 GB, free: 11.73 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.5046, allocations: 0 / 1.472 GB, free: 11.73 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5046, allocations: 4 kB / 1.472 GB, free: 11.72 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.5046, allocations: 0 / 1.472 GB, free: 11.72 MB / 1.17 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.0008333/0.5055, allocations: 472.8 kB / 1.473 GB, free: 11.23 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.5055, allocations: 12.03 kB / 1.473 GB, free: 11.22 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.501e-05/0.5055, allocations: 4 kB / 1.473 GB, free: 11.21 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.856e-05/0.5056, allocations: 58.42 kB / 1.473 GB, free: 11.15 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.9e-05/0.5057, allocations: 27.86 kB / 1.473 GB, free: 11.12 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000396/0.5061, allocations: 229.6 kB / 1.473 GB, free: 10.87 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.5061, allocations: 12 kB / 1.473 GB, free: 10.86 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.366e-05/0.5061, allocations: 24 kB / 1.473 GB, free: 10.84 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005102/0.5066, allocations: 261.6 kB / 1.473 GB, free: 10.54 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.5066, allocations: 0 / 1.473 GB, free: 10.54 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/0.5067, allocations: 11.94 kB / 1.473 GB, free: 10.53 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.5067, allocations: 8 kB / 1.473 GB, free: 10.52 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00048/0.5072, allocations: 155.7 kB / 1.474 GB, free: 10.37 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001515/0.5087, allocations: 1.289 MB / 1.475 GB, free: 8.996 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003266/0.509, allocations: 175.7 kB / 1.475 GB, free: 8.77 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001745/0.5092, allocations: 93.11 kB / 1.475 GB, free: 8.66 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003373/0.5095, allocations: 43.88 kB / 1.475 GB, free: 8.617 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.176e-05/0.5096, allocations: 46.44 kB / 1.475 GB, free: 8.562 MB / 1.17 GB Notification: Performance of pre-optimization done (n=10): time 1.693e-06/0.5096, allocations: 0 / 1.475 GB, free: 8.562 MB / 1.17 GB Notification: Performance of matching and sorting (n=10): time 0.000629/0.5102, allocations: 209.2 kB / 1.475 GB, free: 8.352 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.5103, allocations: 187.9 kB / 1.476 GB, free: 8.125 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003185/0.5106, allocations: 284.2 kB / 1.476 GB, free: 7.84 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.5106, allocations: 33.7 kB / 1.476 GB, free: 7.801 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.5108, allocations: 148.5 kB / 1.476 GB, free: 7.652 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 3.559e-05/0.5108, allocations: 39.75 kB / 1.476 GB, free: 7.613 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.985e-05/0.5109, allocations: 45.7 kB / 1.476 GB, free: 7.562 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002281/0.5111, allocations: 334.8 kB / 1.476 GB, free: 7.227 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.5112, allocations: 43.97 kB / 1.476 GB, free: 7.184 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002925/0.5115, allocations: 224.7 kB / 1.477 GB, free: 6.914 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002908/0.5118, allocations: 158.7 kB / 1.477 GB, free: 6.734 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.5118, allocations: 0 / 1.477 GB, free: 6.734 MB / 1.17 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004314/0.5122, allocations: 189.5 kB / 1.477 GB, free: 6.543 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.5123, allocations: 8.219 kB / 1.477 GB, free: 6.535 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.5123, allocations: 4.062 kB / 1.477 GB, free: 6.531 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.5123, allocations: 4 kB / 1.477 GB, free: 6.527 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.5124, allocations: 35.92 kB / 1.477 GB, free: 6.492 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.5124, allocations: 4 kB / 1.477 GB, free: 6.488 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.5126, allocations: 27.77 kB / 1.477 GB, free: 6.461 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.449e-05/0.5126, allocations: 12 kB / 1.477 GB, free: 6.449 MB / 1.17 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.000148/0.5128, allocations: 153.7 kB / 1.477 GB, free: 6.289 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.5129, allocations: 27.8 kB / 1.477 GB, free: 6.262 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003385/0.5133, allocations: 127.1 kB / 1.477 GB, free: 6.125 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.5133, allocations: 8.031 kB / 1.477 GB, free: 6.117 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.5133, allocations: 4 kB / 1.477 GB, free: 6.113 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.5133, allocations: 0 / 1.477 GB, free: 6.113 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008843/0.5142, allocations: 0.7369 MB / 1.478 GB, free: 5.309 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.5142, allocations: 0 / 1.478 GB, free: 5.309 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.5143, allocations: 28.14 kB / 1.478 GB, free: 5.281 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.5143, allocations: 0 / 1.478 GB, free: 5.281 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.5143, allocations: 4 kB / 1.478 GB, free: 5.277 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.5143, allocations: 4 kB / 1.478 GB, free: 5.273 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.5143, allocations: 7.875 kB / 1.478 GB, free: 5.266 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005376/0.5149, allocations: 343.4 kB / 1.478 GB, free: 4.898 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 7.495e-05/0.5149, allocations: 31.88 kB / 1.479 GB, free: 4.867 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.625e-05/0.515, allocations: 4 kB / 1.479 GB, free: 4.863 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/0.5152, allocations: 16.05 kB / 1.479 GB, free: 4.848 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.5152, allocations: 11.92 kB / 1.479 GB, free: 4.836 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.5152, allocations: 8.062 kB / 1.479 GB, free: 4.828 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002087/0.5154, allocations: 211.1 kB / 1.479 GB, free: 4.625 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.5154, allocations: 0 / 1.479 GB, free: 4.625 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0003621/0.5158, allocations: 51.94 kB / 1.479 GB, free: 4.574 MB / 1.17 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.001094/0.5169, allocations: 0.8998 MB / 1.48 GB, free: 3.633 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0003557/0.5172, allocations: 115.8 kB / 1.48 GB, free: 3.52 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.5172, allocations: 0 / 1.48 GB, free: 3.52 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.5174, allocations: 56.66 kB / 1.48 GB, free: 3.465 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007355/0.5181, allocations: 132.1 kB / 1.48 GB, free: 3.34 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003783/0.5219, allocations: 2.607 MB / 1.483 GB, free: 0.582 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000145/0.5221, allocations: 150.2 kB / 1.483 GB, free: 428 kB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001567/0.5222, allocations: 50.25 kB / 1.483 GB, free: 376 kB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.5223, allocations: 75.41 kB / 1.483 GB, free: 300 kB / 1.17 GB Notification: Performance of SimCode: time 5.21e-07/0.5223, allocations: 0 / 1.483 GB, free: 300 kB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03136/0.5537, allocations: 7.473 MB / 1.49 GB, free: 9.105 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.71, allocations: 7.312 kB / 1.49 GB, free: 9.102 MB / 1.186 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.225237822975032]