Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00145/0.00145, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001455/0.001455, allocations: 209.5 kB / 23.04 MB, free: 5.07 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.834/2.834, allocations: 476.7 MB / 0.7715 GB, free: 4.293 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",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.002065/0.002065, allocations: 64.53 kB / 1.118 GB, free: 40.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3457, allocations: 170 MB / 1.284 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2476/0.5933, allocations: 183.2 MB / 1.463 GB, free: 3.859 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01091/0.6042, allocations: 7.961 MB / 1.471 GB, free: 11.88 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005775/0.6048, allocations: 23.81 kB / 1.471 GB, free: 11.85 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007085/0.6055, allocations: 246.2 kB / 1.471 GB, free: 11.61 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003218/0.6087, allocations: 1.291 MB / 1.472 GB, free: 10.31 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001994/0.6107, allocations: 0.7666 MB / 1.473 GB, free: 9.547 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001558/0.6123, allocations: 1.099 MB / 1.474 GB, free: 8.441 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006764/0.6129, allocations: 337.4 kB / 1.474 GB, free: 8.109 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002798/0.6157, allocations: 0.8653 MB / 1.475 GB, free: 7.254 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009212/0.6167, allocations: 466.3 kB / 1.476 GB, free: 6.797 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.6168, allocations: 36 kB / 1.476 GB, free: 6.762 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002208/0.619, allocations: 1.025 MB / 1.477 GB, free: 5.734 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0002327/0.6192, allocations: 163.5 kB / 1.477 GB, free: 5.574 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0003866/0.6196, allocations: 242.8 kB / 1.477 GB, free: 5.336 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002024/0.6216, allocations: 0.9499 MB / 1.478 GB, free: 4.383 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.6216, allocations: 0 / 1.478 GB, free: 4.383 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.344e-06/0.6216, allocations: 3.938 kB / 1.478 GB, free: 4.379 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.587e-05/0.6216, allocations: 0 / 1.478 GB, free: 4.379 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001617/0.6233, allocations: 0.7381 MB / 1.479 GB, free: 3.609 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.6233, allocations: 12.03 kB / 1.479 GB, free: 3.598 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.162e-05/0.6233, allocations: 12.94 kB / 1.479 GB, free: 3.582 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.932e-05/0.6234, allocations: 74.53 kB / 1.479 GB, free: 3.5 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.6245, allocations: 155.5 kB / 1.479 GB, free: 3.348 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007912/0.6253, allocations: 340.4 kB / 1.479 GB, free: 2.988 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.636e-05/0.6253, allocations: 36.94 kB / 1.479 GB, free: 2.953 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.111e-05/0.6254, allocations: 36 kB / 1.479 GB, free: 2.918 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000835/0.6263, allocations: 454.4 kB / 1.48 GB, free: 2.449 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.6263, allocations: 3.938 kB / 1.48 GB, free: 2.445 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.893e-05/0.6263, allocations: 16 kB / 1.48 GB, free: 2.43 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/0.6263, allocations: 12 kB / 1.48 GB, free: 2.418 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006765/0.627, allocations: 319.7 kB / 1.48 GB, free: 2.105 MB / 1.17 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00261/0.6296, allocations: 1.976 MB / 1.482 GB, free: 15.96 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004558/0.6301, allocations: 228.3 kB / 1.482 GB, free: 15.73 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002738/0.6303, allocations: 140.8 kB / 1.483 GB, free: 15.59 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005178/0.6309, allocations: 75.91 kB / 1.483 GB, free: 15.52 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.6309, allocations: 38.95 kB / 1.483 GB, free: 15.47 MB / 1.186 GB Notification: Performance of pre-optimization done (n=24): time 1.863e-06/0.6309, allocations: 4 kB / 1.483 GB, free: 15.47 MB / 1.186 GB Notification: Performance of matching and sorting (n=24): time 0.00112/0.632, allocations: 456.8 kB / 1.483 GB, free: 15.02 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.6321, allocations: 51.41 kB / 1.483 GB, free: 14.95 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004614/0.6325, allocations: 405.9 kB / 1.484 GB, free: 14.54 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.493e-05/0.6326, allocations: 29.7 kB / 1.484 GB, free: 14.51 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.6327, allocations: 232.6 kB / 1.484 GB, free: 14.28 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 9.646e-05/0.6328, allocations: 87.22 kB / 1.484 GB, free: 14.19 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.6329, allocations: 53.7 kB / 1.484 GB, free: 14.13 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.6331, allocations: 358.7 kB / 1.484 GB, free: 13.77 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002439/0.6333, allocations: 107.9 kB / 1.484 GB, free: 13.67 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003186/0.6337, allocations: 187.3 kB / 1.485 GB, free: 13.46 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005464/0.6342, allocations: 305.5 kB / 1.485 GB, free: 13.14 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.6342, allocations: 4 kB / 1.485 GB, free: 13.14 MB / 1.186 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007108/0.6349, allocations: 373.7 kB / 1.485 GB, free: 12.77 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.6349, allocations: 4 kB / 1.485 GB, free: 12.76 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.635, allocations: 4 kB / 1.485 GB, free: 12.76 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.635, allocations: 0 / 1.485 GB, free: 12.76 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000282/0.6353, allocations: 63.91 kB / 1.485 GB, free: 12.7 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.6353, allocations: 0 / 1.485 GB, free: 12.7 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002538/0.6355, allocations: 43.72 kB / 1.485 GB, free: 12.65 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.209e-05/0.6355, allocations: 8 kB / 1.485 GB, free: 12.64 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 (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.0002084/0.6358, allocations: 169.7 kB / 1.485 GB, free: 12.47 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.074e-05/0.6358, allocations: 39.77 kB / 1.486 GB, free: 12.43 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007931/0.6366, allocations: 375 kB / 1.486 GB, free: 12.06 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.6366, allocations: 4 kB / 1.486 GB, free: 12.05 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.6366, allocations: 0 / 1.486 GB, free: 12.05 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.6366, allocations: 3.984 kB / 1.486 GB, free: 12.05 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001547/0.6382, allocations: 0.9089 MB / 1.487 GB, free: 11.07 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.6382, allocations: 11.88 kB / 1.487 GB, free: 11.06 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002562/0.6385, allocations: 52.06 kB / 1.487 GB, free: 11.01 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.6385, allocations: 4 kB / 1.487 GB, free: 11 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.336e-05/0.6385, allocations: 8 kB / 1.487 GB, free: 11 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.565e-06/0.6385, allocations: 7.984 kB / 1.487 GB, free: 10.99 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.6385, allocations: 4 kB / 1.487 GB, free: 10.98 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.6395, allocations: 0.6325 MB / 1.487 GB, free: 10.32 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001643/0.6397, allocations: 71.72 kB / 1.488 GB, free: 10.25 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.456e-05/0.6398, allocations: 4 kB / 1.488 GB, free: 10.24 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/0.64, allocations: 12.06 kB / 1.488 GB, free: 10.23 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.591e-05/0.64, allocations: 23.88 kB / 1.488 GB, free: 10.21 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/0.6401, allocations: 11.98 kB / 1.488 GB, free: 10.2 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0003307/0.6404, allocations: 283.1 kB / 1.488 GB, free: 9.922 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.6404, allocations: 0 / 1.488 GB, free: 9.922 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004982/0.6409, allocations: 115.7 kB / 1.488 GB, free: 9.809 MB / 1.186 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.001581/0.6425, allocations: 1.224 MB / 1.489 GB, free: 8.539 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0006379/0.6431, allocations: 277.2 kB / 1.489 GB, free: 8.27 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.6431, allocations: 4.438 kB / 1.489 GB, free: 8.266 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002966/0.6434, allocations: 143.8 kB / 1.49 GB, free: 8.125 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.6446, allocations: 230.9 kB / 1.49 GB, free: 7.902 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005789/0.6504, allocations: 3.799 MB / 1.493 GB, free: 3.934 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005479/0.6509, allocations: 0.8389 MB / 1.494 GB, free: 3.062 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0003753/0.6513, allocations: 91.41 kB / 1.494 GB, free: 2.973 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002367/0.6515, allocations: 139.4 kB / 1.495 GB, free: 2.836 MB / 1.186 GB Notification: Performance of SimCode: time 1.412e-06/0.6516, allocations: 0 / 1.495 GB, free: 2.836 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04061/0.6922, allocations: 12 MB / 1.506 GB, free: 7.121 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/12.89, allocations: 0.5625 kB / 1.506 GB, free: 7.121 MB / 1.201 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 19.77328572899569]