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.001785/0.001785, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.002238/0.002238, allocations: 215 kB / 20.13 MB, free: 2.949 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.618/1.618, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 3.043/3.043, allocations: 476.7 MB / 0.7678 GB, free: 9.383 MB / 0.6075 GB " [Timeout remaining time 176] 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.002071/0.002071, allocations: 63.91 kB / 1.113 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.088/1.09, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.256/1.346, allocations: 182.9 MB / 1.458 GB, free: 4.91 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01174/1.358, allocations: 7.884 MB / 1.465 GB, free: 13.01 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009944/1.359, allocations: 27.75 kB / 1.465 GB, free: 12.98 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.00091/1.36, allocations: 250.2 kB / 1.466 GB, free: 12.73 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003992/1.364, allocations: 1.26 MB / 1.467 GB, free: 11.47 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002163/1.366, allocations: 0.7436 MB / 1.468 GB, free: 10.73 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001617/1.368, allocations: 1.087 MB / 1.469 GB, free: 9.637 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006269/1.368, allocations: 345.5 kB / 1.469 GB, free: 9.293 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002866/1.371, allocations: 0.8622 MB / 1.47 GB, free: 8.438 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008104/1.372, allocations: 454.4 kB / 1.47 GB, free: 7.992 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 6.602e-05/1.372, allocations: 43.94 kB / 1.47 GB, free: 7.949 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002111/1.374, allocations: 1.005 MB / 1.471 GB, free: 6.941 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002113/1.374, allocations: 163.5 kB / 1.471 GB, free: 6.781 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0003311/1.375, allocations: 242.8 kB / 1.472 GB, free: 6.543 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001798/1.376, allocations: 0.9421 MB / 1.473 GB, free: 5.598 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.383e-06/1.376, allocations: 3.984 kB / 1.473 GB, free: 5.594 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.874e-06/1.376, allocations: 0 / 1.473 GB, free: 5.594 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.045e-05/1.376, allocations: 0 / 1.473 GB, free: 5.594 MB / 1.154 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.001386/1.378, allocations: 0.8211 MB / 1.473 GB, free: 4.719 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/1.378, allocations: 12.03 kB / 1.473 GB, free: 4.707 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.748e-05/1.378, allocations: 12.94 kB / 1.473 GB, free: 4.695 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.554e-05/1.378, allocations: 74.53 kB / 1.473 GB, free: 4.613 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009848/1.379, allocations: 155.5 kB / 1.474 GB, free: 4.461 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006744/1.38, allocations: 403.6 kB / 1.474 GB, free: 4.027 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.455e-05/1.38, allocations: 29 kB / 1.474 GB, free: 4 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.737e-05/1.38, allocations: 36 kB / 1.474 GB, free: 3.965 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008015/1.381, allocations: 454.4 kB / 1.474 GB, free: 3.496 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/1.381, allocations: 3.938 kB / 1.474 GB, free: 3.492 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.171e-05/1.381, allocations: 19.94 kB / 1.474 GB, free: 3.473 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/1.381, allocations: 8 kB / 1.474 GB, free: 3.465 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006798/1.381, allocations: 327.8 kB / 1.475 GB, free: 3.145 MB / 1.154 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.002373/1.384, allocations: 2.012 MB / 1.477 GB, free: 0.957 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004389/1.384, allocations: 222.5 kB / 1.477 GB, free: 0.7305 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003574/1.385, allocations: 136.8 kB / 1.477 GB, free: 0.5938 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006698/1.385, allocations: 319.2 kB / 1.477 GB, free: 232 kB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/1.385, allocations: 30.97 kB / 1.477 GB, free: 192 kB / 1.154 GB Notification: Performance of pre-optimization done (n=24): time 1.844e-06/1.385, allocations: 0 / 1.477 GB, free: 192 kB / 1.154 GB Notification: Performance of matching and sorting (n=24): time 0.001148/1.386, allocations: 456.2 kB / 1.478 GB, free: 15.74 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.741e-05/1.386, allocations: 63.39 kB / 1.478 GB, free: 15.66 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004503/1.387, allocations: 394 kB / 1.478 GB, free: 15.28 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.489e-05/1.387, allocations: 33.7 kB / 1.478 GB, free: 15.24 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002057/1.387, allocations: 228.5 kB / 1.479 GB, free: 15.01 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 8.739e-05/1.387, allocations: 91.22 kB / 1.479 GB, free: 14.92 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/1.387, allocations: 53.7 kB / 1.479 GB, free: 14.86 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001882/1.388, allocations: 354.7 kB / 1.479 GB, free: 14.51 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002487/1.388, allocations: 115.9 kB / 1.479 GB, free: 14.39 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003257/1.388, allocations: 186.7 kB / 1.479 GB, free: 14.19 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005554/1.389, allocations: 298.7 kB / 1.48 GB, free: 13.87 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.389, allocations: 3.938 kB / 1.48 GB, free: 13.87 MB / 1.17 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000712/1.389, allocations: 371 kB / 1.48 GB, free: 13.5 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/1.389, allocations: 11.94 kB / 1.48 GB, free: 13.49 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/1.389, allocations: 0 / 1.48 GB, free: 13.49 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/1.389, allocations: 4 kB / 1.48 GB, free: 13.48 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002969/1.39, allocations: 59.91 kB / 1.48 GB, free: 13.43 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/1.39, allocations: 4 kB / 1.48 GB, free: 13.42 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002818/1.39, allocations: 47.94 kB / 1.48 GB, free: 13.38 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.016e-05/1.39, allocations: 12 kB / 1.48 GB, free: 13.36 MB / 1.17 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.0002178/1.39, allocations: 179.8 kB / 1.48 GB, free: 13.18 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.148e-05/1.39, allocations: 35.77 kB / 1.48 GB, free: 13.14 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007863/1.391, allocations: 369.7 kB / 1.481 GB, free: 12.77 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/1.391, allocations: 0 / 1.481 GB, free: 12.77 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/1.391, allocations: 4 kB / 1.481 GB, free: 12.77 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/1.391, allocations: 4 kB / 1.481 GB, free: 12.77 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001615/1.393, allocations: 0.9372 MB / 1.482 GB, free: 11.75 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/1.393, allocations: 0 / 1.482 GB, free: 11.75 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002773/1.393, allocations: 55.84 kB / 1.482 GB, free: 11.7 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/1.393, allocations: 0 / 1.482 GB, free: 11.7 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.542e-05/1.393, allocations: 8 kB / 1.482 GB, free: 11.69 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-06/1.393, allocations: 4 kB / 1.482 GB, free: 11.68 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/1.393, allocations: 7.938 kB / 1.482 GB, free: 11.68 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/1.394, allocations: 0.6313 MB / 1.482 GB, free: 11.01 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001822/1.394, allocations: 148.8 kB / 1.482 GB, free: 10.84 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.304e-05/1.394, allocations: 4 kB / 1.482 GB, free: 10.84 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/1.395, allocations: 15.98 kB / 1.482 GB, free: 10.82 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.066e-05/1.395, allocations: 27.81 kB / 1.482 GB, free: 10.8 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/1.395, allocations: 11.94 kB / 1.482 GB, free: 10.79 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0003231/1.395, allocations: 283.1 kB / 1.483 GB, free: 10.52 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/1.395, allocations: 0 / 1.483 GB, free: 10.52 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0005051/1.395, allocations: 119.8 kB / 1.483 GB, free: 10.4 MB / 1.17 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.001641/1.397, allocations: 1.232 MB / 1.484 GB, free: 9.117 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0006441/1.398, allocations: 286.1 kB / 1.484 GB, free: 8.84 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/1.398, allocations: 0 / 1.484 GB, free: 8.84 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0003008/1.398, allocations: 139.8 kB / 1.484 GB, free: 8.703 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/1.399, allocations: 219.9 kB / 1.485 GB, free: 8.488 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005374/1.405, allocations: 3.796 MB / 1.488 GB, free: 4.527 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005096/1.405, allocations: 0.835 MB / 1.489 GB, free: 3.66 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0003431/1.405, allocations: 95.41 kB / 1.489 GB, free: 3.562 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002234/1.406, allocations: 135.4 kB / 1.489 GB, free: 3.43 MB / 1.17 GB Notification: Performance of SimCode: time 1.683e-06/1.406, allocations: 4 kB / 1.489 GB, free: 3.426 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03566/1.441, allocations: 11.76 MB / 1.501 GB, free: 7.926 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.193/10.63, allocations: 4.062 kB / 1.501 GB, free: 7.922 MB / 1.186 GB " [Timeout remaining time 289] (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: 17.38770275999559]