Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.001216/0.001216, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001354/0.001354, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.32/1.32, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 179] 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.934/2.934, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 177] 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.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",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.001885/0.001885, allocations: 67.78 kB / 1.186 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3103, allocations: 181.9 MB / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1892/0.4996, allocations: 158.5 MB / 1.518 GB, free: 14.9 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.009629/0.5092, allocations: 7.215 MB / 1.525 GB, free: 7.66 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004872/0.5097, allocations: 27.75 kB / 1.525 GB, free: 7.633 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0006914/0.5104, allocations: 250.2 kB / 1.526 GB, free: 7.387 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002975/0.5134, allocations: 1.221 MB / 1.527 GB, free: 6.16 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.00175/0.5151, allocations: 0.7635 MB / 1.527 GB, free: 5.398 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001327/0.5164, allocations: 1.076 MB / 1.529 GB, free: 4.32 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005619/0.517, allocations: 329.9 kB / 1.529 GB, free: 3.988 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002712/0.5197, allocations: 1 MB / 1.53 GB, free: 2.996 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006822/0.5204, allocations: 434.3 kB / 1.53 GB, free: 2.57 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 7.365e-05/0.5205, allocations: 36 kB / 1.53 GB, free: 2.535 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001363/0.5218, allocations: 0.7754 MB / 1.531 GB, free: 1.758 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0001957/0.522, allocations: 171.5 kB / 1.531 GB, free: 1.59 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0002576/0.5223, allocations: 199.1 kB / 1.531 GB, free: 1.395 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.00144/0.5237, allocations: 0.9187 MB / 1.532 GB, free: 484 kB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.5237, allocations: 0 / 1.532 GB, free: 484 kB / 1.217 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5237, allocations: 4 kB / 1.532 GB, free: 480 kB / 1.217 GB Notification: Performance of Transformations before backend: time 1.538e-05/0.5237, allocations: 0 / 1.532 GB, free: 480 kB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001229/0.525, allocations: 0.7381 MB / 1.533 GB, free: 15.7 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.525, allocations: 12.03 kB / 1.533 GB, free: 15.69 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001023/0.5251, allocations: 82.45 kB / 1.533 GB, free: 15.6 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008946/0.526, allocations: 147.6 kB / 1.533 GB, free: 15.45 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000647/0.5266, allocations: 348.4 kB / 1.534 GB, free: 15.09 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.326e-05/0.5267, allocations: 29 kB / 1.534 GB, free: 15.06 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.467e-05/0.5267, allocations: 36 kB / 1.534 GB, free: 15.03 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007405/0.5275, allocations: 446.4 kB / 1.534 GB, free: 14.57 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.5275, allocations: 4 kB / 1.534 GB, free: 14.56 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.799e-05/0.5275, allocations: 23.94 kB / 1.534 GB, free: 14.54 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.5275, allocations: 8 kB / 1.534 GB, free: 14.53 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006244/0.5282, allocations: 319.7 kB / 1.534 GB, free: 14.22 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002132/0.5303, allocations: 1.489 MB / 1.536 GB, free: 12.66 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000429/0.5307, allocations: 222.4 kB / 1.536 GB, free: 12.44 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002676/0.531, allocations: 137.2 kB / 1.536 GB, free: 12.3 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004907/0.5315, allocations: 79.78 kB / 1.536 GB, free: 12.22 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.5315, allocations: 34.56 kB / 1.536 GB, free: 12.18 MB / 1.232 GB Notification: Performance of pre-optimization done (n=24): time 1.453e-06/0.5315, allocations: 0 / 1.536 GB, free: 12.18 MB / 1.232 GB Notification: Performance of matching and sorting (n=24): time 0.001049/0.5326, allocations: 463.2 kB / 1.537 GB, free: 11.72 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.235e-05/0.5326, allocations: 59.34 kB / 1.537 GB, free: 11.65 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004412/0.5331, allocations: 401.8 kB / 1.537 GB, free: 11.25 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 3.738e-05/0.5331, allocations: 29.7 kB / 1.537 GB, free: 11.22 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/0.5333, allocations: 228.6 kB / 1.537 GB, free: 10.99 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 8.218e-05/0.5334, allocations: 95.2 kB / 1.538 GB, free: 10.9 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.546e-05/0.5335, allocations: 57.69 kB / 1.538 GB, free: 10.84 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.5336, allocations: 350.7 kB / 1.538 GB, free: 10.48 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002453/0.5339, allocations: 123.9 kB / 1.538 GB, free: 10.36 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003521/0.5342, allocations: 255.9 kB / 1.538 GB, free: 10.07 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005324/0.5348, allocations: 304 kB / 1.539 GB, free: 9.75 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.5348, allocations: 4 kB / 1.539 GB, free: 9.746 MB / 1.232 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006821/0.5355, allocations: 366 kB / 1.539 GB, free: 9.383 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.5355, allocations: 7.984 kB / 1.539 GB, free: 9.375 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.5355, allocations: 4 kB / 1.539 GB, free: 9.371 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.5355, allocations: 4 kB / 1.539 GB, free: 9.367 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002742/0.5358, allocations: 60.12 kB / 1.539 GB, free: 9.309 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.5358, allocations: 4 kB / 1.539 GB, free: 9.305 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000246/0.536, allocations: 39.72 kB / 1.539 GB, free: 9.266 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.573e-05/0.5361, allocations: 12 kB / 1.539 GB, free: 9.254 MB / 1.232 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 (31): * Single equations (assignments): 31 * 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.0001929/0.5363, allocations: 165.7 kB / 1.539 GB, free: 9.082 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.964e-05/0.5363, allocations: 39.77 kB / 1.539 GB, free: 9.043 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007098/0.537, allocations: 370.8 kB / 1.54 GB, free: 8.672 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.537, allocations: 3.938 kB / 1.54 GB, free: 8.668 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.537, allocations: 8 kB / 1.54 GB, free: 8.66 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.5371, allocations: 3.984 kB / 1.54 GB, free: 8.656 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001486/0.5385, allocations: 0.8712 MB / 1.54 GB, free: 7.715 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.5385, allocations: 3.938 kB / 1.54 GB, free: 7.711 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/0.5388, allocations: 52.12 kB / 1.541 GB, free: 7.66 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.5388, allocations: 7.938 kB / 1.541 GB, free: 7.652 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.377e-05/0.5388, allocations: 8 kB / 1.541 GB, free: 7.645 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.116e-06/0.5388, allocations: 11.97 kB / 1.541 GB, free: 7.633 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.5388, allocations: 0 / 1.541 GB, free: 7.633 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009829/0.5398, allocations: 0.6289 MB / 1.541 GB, free: 6.969 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000167/0.54, allocations: 79.62 kB / 1.541 GB, free: 6.891 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.087e-05/0.54, allocations: 8.062 kB / 1.541 GB, free: 6.883 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002078/0.5402, allocations: 12 kB / 1.541 GB, free: 6.871 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.488e-05/0.5403, allocations: 23.95 kB / 1.541 GB, free: 6.848 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.5403, allocations: 8 kB / 1.541 GB, free: 6.84 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.000301/0.5406, allocations: 283.1 kB / 1.542 GB, free: 6.57 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.5406, allocations: 3.938 kB / 1.542 GB, free: 6.566 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0004293/0.5411, allocations: 111.8 kB / 1.542 GB, free: 6.457 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.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 (24): * Single equations (assignments): 24 * 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.001472/0.5425, allocations: 1.227 MB / 1.543 GB, free: 5.184 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0005973/0.5431, allocations: 275.6 kB / 1.543 GB, free: 4.914 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5431, allocations: 0 / 1.543 GB, free: 4.914 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0002799/0.5434, allocations: 148.5 kB / 1.543 GB, free: 4.77 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.5444, allocations: 216.7 kB / 1.543 GB, free: 4.559 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005023/0.5494, allocations: 3.793 MB / 1.547 GB, free: 0.6055 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.5497, allocations: 232 kB / 1.547 GB, free: 364 kB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0002987/0.55, allocations: 95.41 kB / 1.547 GB, free: 268 kB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002173/0.5502, allocations: 139.4 kB / 1.548 GB, free: 128 kB / 1.232 GB Notification: Performance of SimCode: time 6.62e-07/0.5502, allocations: 0 / 1.548 GB, free: 128 kB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04338/0.5936, allocations: 13.07 MB / 1.56 GB, free: 3.395 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.47/11.07, allocations: 6.953 kB / 1.56 GB, free: 3.395 MB / 1.248 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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: 17.143481514882296]