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.001506/0.001506, allocations: 103.3 kB / 16.45 MB, free: 6.5 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.001604/0.001604, allocations: 212.9 kB / 19.43 MB, free: 3.656 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.382/1.382, allocations: 230.6 MB / 252.8 MB, free: 8.984 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.051/3.051, allocations: 0.49 GB / 0.7916 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.00205/0.00205, allocations: 69.47 kB / 1.149 GB, free: 26.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.311, allocations: 176.1 MB / 1.321 GB, free: 3.324 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1856/0.4967, allocations: 164.8 MB / 1.482 GB, free: 13.93 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006022/0.5027, allocations: 4.587 MB / 1.486 GB, free: 9.332 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003261/0.503, allocations: 11.88 kB / 1.486 GB, free: 9.32 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0004196/0.5034, allocations: 127 kB / 1.486 GB, free: 9.195 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0008075/0.5042, allocations: 346.4 kB / 1.487 GB, free: 8.855 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007454/0.505, allocations: 282.5 kB / 1.487 GB, free: 8.582 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0006922/0.5057, allocations: 0.5573 MB / 1.487 GB, free: 8.023 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003153/0.506, allocations: 175 kB / 1.488 GB, free: 7.852 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00151/0.5075, allocations: 0.685 MB / 1.488 GB, free: 7.164 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000305/0.5078, allocations: 203.2 kB / 1.489 GB, free: 6.965 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 3.478e-05/0.5078, allocations: 16 kB / 1.489 GB, free: 6.949 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001992/0.508, allocations: 79.94 kB / 1.489 GB, free: 6.871 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.5082, allocations: 83.72 kB / 1.489 GB, free: 6.789 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.5083, allocations: 119.4 kB / 1.489 GB, free: 6.672 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0004478/0.5087, allocations: 302.8 kB / 1.489 GB, free: 6.375 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.5087, allocations: 0 / 1.489 GB, free: 6.375 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.243e-06/0.5087, allocations: 0 / 1.489 GB, free: 6.375 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.5088, allocations: 4 kB / 1.489 GB, free: 6.371 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.0008293/0.5096, allocations: 0.5409 MB / 1.49 GB, free: 5.781 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.5096, allocations: 11.98 kB / 1.49 GB, free: 5.77 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.094e-05/0.5097, allocations: 50.55 kB / 1.49 GB, free: 5.711 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.863e-05/0.5098, allocations: 31.8 kB / 1.49 GB, free: 5.68 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003931/0.5101, allocations: 291.5 kB / 1.49 GB, free: 5.355 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.5102, allocations: 23.94 kB / 1.49 GB, free: 5.332 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.776e-05/0.5102, allocations: 16 kB / 1.49 GB, free: 5.316 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004451/0.5107, allocations: 273.6 kB / 1.49 GB, free: 5.012 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.5107, allocations: 3.938 kB / 1.49 GB, free: 5.008 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.173e-05/0.5107, allocations: 8 kB / 1.49 GB, free: 5 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.5107, allocations: 4 kB / 1.49 GB, free: 4.996 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003422/0.511, allocations: 151.8 kB / 1.49 GB, free: 4.848 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/0.5124, allocations: 1.364 MB / 1.492 GB, free: 3.391 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003203/0.5128, allocations: 171.7 kB / 1.492 GB, free: 3.168 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001766/0.5129, allocations: 97.05 kB / 1.492 GB, free: 3.055 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003526/0.5133, allocations: 117 kB / 1.492 GB, free: 2.922 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.88e-05/0.5133, allocations: 50.44 kB / 1.492 GB, free: 2.863 MB / 1.186 GB Notification: Performance of pre-optimization done (n=10): time 1.502e-06/0.5133, allocations: 0 / 1.492 GB, free: 2.863 MB / 1.186 GB Notification: Performance of matching and sorting (n=10): time 0.0006289/0.514, allocations: 205.3 kB / 1.492 GB, free: 2.656 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.5141, allocations: 196.5 kB / 1.493 GB, free: 2.422 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002945/0.5144, allocations: 283 kB / 1.493 GB, free: 2.137 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.5144, allocations: 33.7 kB / 1.493 GB, free: 2.098 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.5145, allocations: 147.9 kB / 1.493 GB, free: 1.949 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/0.5145, allocations: 39.75 kB / 1.493 GB, free: 1.91 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.838e-05/0.5146, allocations: 37.7 kB / 1.493 GB, free: 1.867 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.5148, allocations: 334.8 kB / 1.493 GB, free: 1.531 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.5149, allocations: 43.97 kB / 1.493 GB, free: 1.488 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001977/0.5151, allocations: 119.6 kB / 1.494 GB, free: 1.344 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002954/0.5154, allocations: 150.8 kB / 1.494 GB, free: 1.172 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5154, allocations: 0 / 1.494 GB, free: 1.172 MB / 1.186 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003984/0.5158, allocations: 197.2 kB / 1.494 GB, free: 0.9727 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.5158, allocations: 8 kB / 1.494 GB, free: 0.9648 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.5158, allocations: 3.938 kB / 1.494 GB, free: 0.9609 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.5158, allocations: 4 kB / 1.494 GB, free: 0.957 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.516, allocations: 31.92 kB / 1.494 GB, free: 0.9258 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.516, allocations: 4 kB / 1.494 GB, free: 0.9219 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001671/0.5161, allocations: 35.98 kB / 1.494 GB, free: 0.8867 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.353e-05/0.5162, allocations: 8.312 kB / 1.494 GB, free: 0.8789 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.000139/0.5163, allocations: 145.8 kB / 1.494 GB, free: 0.7266 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.5164, allocations: 27.8 kB / 1.494 GB, free: 0.6992 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003416/0.5168, allocations: 135 kB / 1.494 GB, free: 0.5586 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.5168, allocations: 4 kB / 1.494 GB, free: 0.5547 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.5168, allocations: 4 kB / 1.494 GB, free: 0.5508 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.5168, allocations: 4 kB / 1.494 GB, free: 0.5469 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000891/0.5177, allocations: 0.769 MB / 1.495 GB, free: 15.7 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.5177, allocations: 4 kB / 1.495 GB, free: 15.7 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.5178, allocations: 28.14 kB / 1.495 GB, free: 15.67 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.5178, allocations: 4 kB / 1.495 GB, free: 15.67 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.5178, allocations: 0 / 1.495 GB, free: 15.67 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.5178, allocations: 4 kB / 1.495 GB, free: 15.66 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5178, allocations: 0 / 1.495 GB, free: 15.66 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005558/0.5184, allocations: 351.3 kB / 1.495 GB, free: 15.29 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 9.876e-05/0.5185, allocations: 109 kB / 1.496 GB, free: 15.16 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.781e-05/0.5185, allocations: 7.984 kB / 1.496 GB, free: 15.16 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.5187, allocations: 4 kB / 1.496 GB, free: 15.15 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.5187, allocations: 19.98 kB / 1.496 GB, free: 15.13 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.5187, allocations: 4 kB / 1.496 GB, free: 15.13 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.00021/0.5189, allocations: 209.9 kB / 1.496 GB, free: 14.92 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.5189, allocations: 0 / 1.496 GB, free: 14.92 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0003495/0.5193, allocations: 59.89 kB / 1.496 GB, free: 14.86 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.0009487/0.5202, allocations: 0.8921 MB / 1.497 GB, free: 13.93 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0003677/0.5206, allocations: 127.8 kB / 1.497 GB, free: 13.8 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.5206, allocations: 4 kB / 1.497 GB, free: 13.8 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.5207, allocations: 51.91 kB / 1.497 GB, free: 13.75 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007774/0.5215, allocations: 133 kB / 1.497 GB, free: 13.62 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003387/0.5249, allocations: 2.613 MB / 1.5 GB, free: 10.86 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.5253, allocations: 0.7558 MB / 1.5 GB, free: 10.07 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0001603/0.5254, allocations: 54.25 kB / 1.5 GB, free: 10.02 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.5255, allocations: 67.41 kB / 1.5 GB, free: 9.957 MB / 1.201 GB Notification: Performance of SimCode: time 6.01e-07/0.5255, allocations: 0 / 1.5 GB, free: 9.957 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03232/0.5579, allocations: 6.852 MB / 1.507 GB, free: 3.258 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.977/8.534, allocations: 4.594 kB / 1.507 GB, free: 3.254 MB / 1.201 GB " [Timeout remaining time 291] (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: 14.788482873002067]