Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001435/0.001435, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001577/0.001577, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.337/1.337, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 179] 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 2.945/2.945, allocations: 0.49 GB / 0.7951 GB, free: 33.39 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.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_12_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.001837/0.001837, allocations: 66.92 kB / 1.154 GB, free: 25.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.294, allocations: 176.1 MB / 1.326 GB, free: 1.898 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2056/0.4996, allocations: 183.2 MB / 1.505 GB, free: 9.973 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.009944/0.5096, allocations: 7.949 MB / 1.513 GB, free: 2 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000565/0.5101, allocations: 27.75 kB / 1.513 GB, free: 1.973 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0007546/0.5109, allocations: 242.2 kB / 1.513 GB, free: 1.734 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003129/0.514, allocations: 1.284 MB / 1.514 GB, free: 456 kB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001881/0.5159, allocations: 0.7782 MB / 1.515 GB, free: 15.67 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.00158/0.5175, allocations: 1.08 MB / 1.516 GB, free: 14.59 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006425/0.5181, allocations: 329.7 kB / 1.516 GB, free: 14.25 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003036/0.5211, allocations: 1.025 MB / 1.517 GB, free: 13.23 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007835/0.5219, allocations: 454.3 kB / 1.518 GB, free: 12.79 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 8.094e-05/0.522, allocations: 36 kB / 1.518 GB, free: 12.75 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001864/0.5239, allocations: 1.009 MB / 1.519 GB, free: 11.74 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0002187/0.5241, allocations: 163.5 kB / 1.519 GB, free: 11.58 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0003264/0.5244, allocations: 242.8 kB / 1.519 GB, free: 11.34 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.00187/0.5263, allocations: 0.9421 MB / 1.52 GB, free: 10.4 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.5263, allocations: 4 kB / 1.52 GB, free: 10.39 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.402e-06/0.5263, allocations: 0 / 1.52 GB, free: 10.39 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.22e-05/0.5263, allocations: 4 kB / 1.52 GB, free: 10.39 MB / 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.001458/0.5278, allocations: 0.7458 MB / 1.521 GB, free: 9.613 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.5278, allocations: 8.031 kB / 1.521 GB, free: 9.605 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001199/0.5279, allocations: 74.47 kB / 1.521 GB, free: 9.523 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.529, allocations: 159.5 kB / 1.521 GB, free: 9.367 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007434/0.5297, allocations: 340.5 kB / 1.521 GB, free: 9.008 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.827e-05/0.5297, allocations: 25 kB / 1.521 GB, free: 8.984 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.207e-05/0.5298, allocations: 43.94 kB / 1.521 GB, free: 8.941 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008244/0.5306, allocations: 446.4 kB / 1.522 GB, free: 8.48 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.5306, allocations: 3.938 kB / 1.522 GB, free: 8.477 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.271e-05/0.5307, allocations: 15.94 kB / 1.522 GB, free: 8.461 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.5307, allocations: 12 kB / 1.522 GB, free: 8.449 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006223/0.5313, allocations: 327.8 kB / 1.522 GB, free: 8.129 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00238/0.5337, allocations: 1.976 MB / 1.524 GB, free: 5.988 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004197/0.5341, allocations: 224.3 kB / 1.524 GB, free: 5.762 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002705/0.5344, allocations: 140.7 kB / 1.524 GB, free: 5.621 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004735/0.5348, allocations: 75.92 kB / 1.525 GB, free: 5.547 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.5349, allocations: 38.56 kB / 1.525 GB, free: 5.5 MB / 1.217 GB Notification: Performance of pre-optimization done (n=24): time 1.623e-06/0.5349, allocations: 0 / 1.525 GB, free: 5.5 MB / 1.217 GB Notification: Performance of matching and sorting (n=24): time 0.001046/0.5359, allocations: 455.1 kB / 1.525 GB, free: 5.051 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.536, allocations: 55.41 kB / 1.525 GB, free: 4.984 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004362/0.5364, allocations: 397.9 kB / 1.525 GB, free: 4.59 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.5364, allocations: 33.69 kB / 1.525 GB, free: 4.551 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.5366, allocations: 232.5 kB / 1.526 GB, free: 4.32 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 7.676e-05/0.5367, allocations: 87.22 kB / 1.526 GB, free: 4.234 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.5368, allocations: 57.69 kB / 1.526 GB, free: 4.172 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.537, allocations: 358.7 kB / 1.526 GB, free: 3.812 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002285/0.5372, allocations: 115.9 kB / 1.526 GB, free: 3.699 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002816/0.5375, allocations: 186.6 kB / 1.526 GB, free: 3.492 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004898/0.538, allocations: 304.9 kB / 1.527 GB, free: 3.172 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.538, allocations: 0 / 1.527 GB, free: 3.172 MB / 1.217 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006378/0.5386, allocations: 369 kB / 1.527 GB, free: 2.805 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.5386, allocations: 7.938 kB / 1.527 GB, free: 2.797 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.5386, allocations: 4 kB / 1.527 GB, free: 2.793 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.5386, allocations: 0 / 1.527 GB, free: 2.793 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002712/0.5389, allocations: 59.91 kB / 1.527 GB, free: 2.734 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.5389, allocations: 7.922 kB / 1.527 GB, free: 2.727 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002367/0.5392, allocations: 39.95 kB / 1.527 GB, free: 2.688 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.388e-05/0.5392, allocations: 19.98 kB / 1.527 GB, free: 2.668 MB / 1.217 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.0001848/0.5394, allocations: 165.7 kB / 1.527 GB, free: 2.496 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.952e-05/0.5394, allocations: 39.77 kB / 1.527 GB, free: 2.457 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006926/0.5401, allocations: 370.6 kB / 1.528 GB, free: 2.086 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.5401, allocations: 4 kB / 1.528 GB, free: 2.082 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.5401, allocations: 0 / 1.528 GB, free: 2.082 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.5402, allocations: 4 kB / 1.528 GB, free: 2.078 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001493/0.5416, allocations: 0.9143 MB / 1.529 GB, free: 1.094 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.5416, allocations: 3.938 kB / 1.529 GB, free: 1.09 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002429/0.5419, allocations: 55.91 kB / 1.529 GB, free: 1.035 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.5419, allocations: 3.938 kB / 1.529 GB, free: 1.031 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/0.5419, allocations: 8 kB / 1.529 GB, free: 1.023 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.239e-06/0.5419, allocations: 4 kB / 1.529 GB, free: 1.02 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.648e-06/0.5419, allocations: 7.938 kB / 1.529 GB, free: 1.012 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009243/0.5429, allocations: 0.6267 MB / 1.529 GB, free: 356 kB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/0.543, allocations: 67.67 kB / 1.529 GB, free: 288 kB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.371e-05/0.5431, allocations: 11.94 kB / 1.529 GB, free: 276 kB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/0.5433, allocations: 11.98 kB / 1.529 GB, free: 264 kB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.856e-05/0.5433, allocations: 15.97 kB / 1.529 GB, free: 248 kB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.5433, allocations: 12 kB / 1.529 GB, free: 236 kB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002981/0.5436, allocations: 283.1 kB / 1.53 GB, free: 15.96 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5436, allocations: 4.062 kB / 1.53 GB, free: 15.96 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0004355/0.5441, allocations: 111.8 kB / 1.53 GB, free: 15.85 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.001405/0.5455, allocations: 1.231 MB / 1.531 GB, free: 14.57 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0005789/0.5461, allocations: 279.6 kB / 1.531 GB, free: 14.3 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.5461, allocations: 0 / 1.531 GB, free: 14.3 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0002646/0.5463, allocations: 139.8 kB / 1.531 GB, free: 14.16 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.5473, allocations: 226.6 kB / 1.532 GB, free: 13.94 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004836/0.5522, allocations: 3.803 MB / 1.535 GB, free: 9.973 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004558/0.5526, allocations: 0.8233 MB / 1.536 GB, free: 9.117 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0002791/0.5529, allocations: 103.4 kB / 1.536 GB, free: 9.016 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002034/0.5531, allocations: 143.4 kB / 1.536 GB, free: 8.879 MB / 1.232 GB Notification: Performance of SimCode: time 4.21e-07/0.5531, allocations: 0 / 1.536 GB, free: 8.879 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0427/0.5958, allocations: 11.97 MB / 1.548 GB, free: 13.17 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/11.19, allocations: 8.812 kB / 1.548 GB, free: 13.17 MB / 1.248 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.19687330001034]