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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 109.1 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.116/3.116, allocations: 497.2 MB / 0.7812 GB, free: 33.66 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 69.12 kB / 1.134 GB, free: 33.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3228, allocations: 173.9 MB / 1.304 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2268/0.5496, allocations: 180 MB / 1.48 GB, free: 12.77 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01107/0.5607, allocations: 7.877 MB / 1.487 GB, free: 4.867 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007219/0.5614, allocations: 19.88 kB / 1.488 GB, free: 4.848 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0008381/0.5623, allocations: 254.2 kB / 1.488 GB, free: 4.598 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.00365/0.5659, allocations: 1.264 MB / 1.489 GB, free: 3.328 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002333/0.5682, allocations: 0.7398 MB / 1.49 GB, free: 2.59 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001739/0.57, allocations: 1.068 MB / 1.491 GB, free: 1.52 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007015/0.5707, allocations: 345.3 kB / 1.491 GB, free: 1.176 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003241/0.5739, allocations: 1.005 MB / 1.492 GB, free: 184 kB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009174/0.5748, allocations: 450.4 kB / 1.492 GB, free: 15.74 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 8.577e-05/0.5749, allocations: 36 kB / 1.493 GB, free: 15.7 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002097/0.577, allocations: 0.9937 MB / 1.493 GB, free: 14.71 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002373/0.5773, allocations: 163.5 kB / 1.494 GB, free: 14.55 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0003344/0.5776, allocations: 238.8 kB / 1.494 GB, free: 14.31 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001989/0.5796, allocations: 0.9421 MB / 1.495 GB, free: 13.37 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.5796, allocations: 4 kB / 1.495 GB, free: 13.36 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5796, allocations: 0 / 1.495 GB, free: 13.36 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.863e-05/0.5796, allocations: 0 / 1.495 GB, free: 13.36 MB / 1.201 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.001362/0.581, allocations: 0.8211 MB / 1.496 GB, free: 12.49 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.581, allocations: 8.922 kB / 1.496 GB, free: 12.48 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.712e-05/0.5811, allocations: 78.47 kB / 1.496 GB, free: 12.39 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009819/0.5821, allocations: 155.5 kB / 1.496 GB, free: 12.24 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007128/0.5828, allocations: 403.7 kB / 1.496 GB, free: 11.81 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.381e-05/0.5828, allocations: 36.92 kB / 1.496 GB, free: 11.78 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.229e-05/0.5829, allocations: 40 kB / 1.496 GB, free: 11.74 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007664/0.5837, allocations: 442.4 kB / 1.497 GB, free: 11.29 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.5837, allocations: 3.938 kB / 1.497 GB, free: 11.28 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.725e-05/0.5837, allocations: 19.94 kB / 1.497 GB, free: 11.26 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.5837, allocations: 12 kB / 1.497 GB, free: 11.25 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006494/0.5844, allocations: 315.8 kB / 1.497 GB, free: 10.94 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002531/0.5869, allocations: 2.02 MB / 1.499 GB, free: 8.746 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004423/0.5874, allocations: 227.9 kB / 1.499 GB, free: 8.516 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002587/0.5876, allocations: 136.8 kB / 1.499 GB, free: 8.379 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006427/0.5883, allocations: 307.2 kB / 1.5 GB, free: 8.023 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.5883, allocations: 38.56 kB / 1.5 GB, free: 7.977 MB / 1.201 GB Notification: Performance of pre-optimization done (n=24): time 2.134e-06/0.5883, allocations: 0 / 1.5 GB, free: 7.977 MB / 1.201 GB Notification: Performance of matching and sorting (n=24): time 0.001068/0.5894, allocations: 452.5 kB / 1.5 GB, free: 7.531 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.5894, allocations: 59.39 kB / 1.5 GB, free: 7.461 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004504/0.5899, allocations: 394 kB / 1.501 GB, free: 7.07 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.566e-05/0.5899, allocations: 33.7 kB / 1.501 GB, free: 7.031 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002016/0.5901, allocations: 232.5 kB / 1.501 GB, free: 6.801 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.5902, allocations: 87.22 kB / 1.501 GB, free: 6.715 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.5903, allocations: 53.7 kB / 1.501 GB, free: 6.656 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.5905, allocations: 362.7 kB / 1.501 GB, free: 6.293 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002463/0.5907, allocations: 111.9 kB / 1.501 GB, free: 6.184 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003081/0.591, allocations: 186.6 kB / 1.502 GB, free: 5.977 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000532/0.5916, allocations: 302.6 kB / 1.502 GB, free: 5.656 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.5916, allocations: 0 / 1.502 GB, free: 5.656 MB / 1.201 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006567/0.5922, allocations: 371.9 kB / 1.502 GB, free: 5.289 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.5922, allocations: 10.34 kB / 1.502 GB, free: 5.281 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.5923, allocations: 0 / 1.502 GB, free: 5.281 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.5923, allocations: 7.938 kB / 1.502 GB, free: 5.273 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002791/0.5926, allocations: 55.91 kB / 1.502 GB, free: 5.219 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.5926, allocations: 7.938 kB / 1.502 GB, free: 5.211 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/0.5928, allocations: 43.66 kB / 1.502 GB, free: 5.168 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.831e-05/0.5928, allocations: 16.19 kB / 1.502 GB, free: 5.152 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 (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.000188/0.593, allocations: 173.7 kB / 1.503 GB, free: 4.973 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.096e-05/0.5931, allocations: 35.77 kB / 1.503 GB, free: 4.938 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007589/0.5939, allocations: 369 kB / 1.503 GB, free: 4.57 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.5939, allocations: 4 kB / 1.503 GB, free: 4.566 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.5939, allocations: 0 / 1.503 GB, free: 4.566 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.5939, allocations: 0 / 1.503 GB, free: 4.566 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001568/0.5954, allocations: 0.9409 MB / 1.504 GB, free: 3.547 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.5954, allocations: 8.219 kB / 1.504 GB, free: 3.539 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002516/0.5957, allocations: 51.91 kB / 1.504 GB, free: 3.488 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.5957, allocations: 3.938 kB / 1.504 GB, free: 3.484 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.5957, allocations: 12 kB / 1.504 GB, free: 3.473 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.752e-06/0.5957, allocations: 3.938 kB / 1.504 GB, free: 3.469 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.5957, allocations: 4 kB / 1.504 GB, free: 3.465 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009807/0.5967, allocations: 0.6278 MB / 1.505 GB, free: 2.801 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001933/0.5969, allocations: 148.7 kB / 1.505 GB, free: 2.637 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.457e-05/0.597, allocations: 12.06 kB / 1.505 GB, free: 2.625 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002023/0.5972, allocations: 7.984 kB / 1.505 GB, free: 2.617 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.5973, allocations: 19.97 kB / 1.505 GB, free: 2.598 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/0.5973, allocations: 12 kB / 1.505 GB, free: 2.586 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0003298/0.5976, allocations: 279.1 kB / 1.505 GB, free: 2.316 MB / 1.201 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5976, allocations: 0 / 1.505 GB, free: 2.316 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004674/0.5981, allocations: 111.8 kB / 1.505 GB, free: 2.207 MB / 1.201 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.001648/0.5998, allocations: 1.255 MB / 1.506 GB, free: 0.9102 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0006042/0.6004, allocations: 281 kB / 1.507 GB, free: 0.6367 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.6004, allocations: 3.938 kB / 1.507 GB, free: 0.6328 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003261/0.6007, allocations: 135.8 kB / 1.507 GB, free: 0.5 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.6017, allocations: 215.8 kB / 1.507 GB, free: 300 kB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005255/0.607, allocations: 3.812 MB / 1.511 GB, free: 12.31 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004764/0.6074, allocations: 0.8272 MB / 1.511 GB, free: 11.45 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0003279/0.6078, allocations: 95.41 kB / 1.512 GB, free: 11.36 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002047/0.608, allocations: 139.4 kB / 1.512 GB, free: 11.22 MB / 1.217 GB Notification: Performance of SimCode: time 9.02e-07/0.608, allocations: 0 / 1.512 GB, free: 11.22 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04028/0.6483, allocations: 11.77 MB / 1.523 GB, free: 15.7 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.705/9.354, allocations: 12.59 kB / 1.523 GB, free: 15.69 MB / 1.232 GB " [Timeout remaining time 291] (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_2/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: 15.877346377819777]