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.001452/0.001452, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001613/0.001613, allocations: 217.8 kB / 23.04 MB, free: 5.074 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.341/1.341, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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.84/2.84, allocations: 0.49 GB / 0.7959 GB, free: 33.43 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_12_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.001823/0.001823, allocations: 60.81 kB / 1.155 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2854, allocations: 176.1 MB / 1.327 GB, free: 1.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1892/0.4746, allocations: 183.2 MB / 1.506 GB, free: 10.04 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.009198/0.4838, allocations: 7.949 MB / 1.513 GB, free: 2.062 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004369/0.4842, allocations: 27.75 kB / 1.513 GB, free: 2.035 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0006067/0.4848, allocations: 238.2 kB / 1.514 GB, free: 1.801 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002877/0.4877, allocations: 1.28 MB / 1.515 GB, free: 0.5156 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001772/0.4895, allocations: 0.774 MB / 1.516 GB, free: 15.74 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001281/0.4908, allocations: 1.083 MB / 1.517 GB, free: 14.66 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005154/0.4913, allocations: 341.6 kB / 1.517 GB, free: 14.31 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0027/0.494, allocations: 1.02 MB / 1.518 GB, free: 13.3 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006782/0.4947, allocations: 446.4 kB / 1.518 GB, free: 12.86 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 6.004e-05/0.4947, allocations: 40 kB / 1.518 GB, free: 12.82 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001696/0.4964, allocations: 1.013 MB / 1.519 GB, free: 11.8 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0001661/0.4966, allocations: 163.5 kB / 1.52 GB, free: 11.64 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0002388/0.4968, allocations: 238.8 kB / 1.52 GB, free: 11.41 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001316/0.4981, allocations: 0.9499 MB / 1.521 GB, free: 10.46 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4981, allocations: 0 / 1.521 GB, free: 10.46 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4981, allocations: 0 / 1.521 GB, free: 10.46 MB / 1.217 GB Notification: Performance of Transformations before backend: time 8.846e-06/0.4982, allocations: 0 / 1.521 GB, free: 10.46 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.001124/0.4993, allocations: 0.7497 MB / 1.522 GB, free: 9.676 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.4993, allocations: 8.031 kB / 1.522 GB, free: 9.668 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.678e-05/0.4993, allocations: 16.94 kB / 1.522 GB, free: 9.652 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.636e-05/0.4994, allocations: 78.52 kB / 1.522 GB, free: 9.566 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008997/0.5003, allocations: 151.6 kB / 1.522 GB, free: 9.418 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005731/0.5009, allocations: 340.4 kB / 1.522 GB, free: 9.059 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.127e-05/0.5009, allocations: 29 kB / 1.522 GB, free: 9.027 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.879e-05/0.501, allocations: 39.98 kB / 1.522 GB, free: 8.988 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006998/0.5017, allocations: 446.4 kB / 1.523 GB, free: 8.527 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.5017, allocations: 7.875 kB / 1.523 GB, free: 8.52 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.377e-05/0.5017, allocations: 16 kB / 1.523 GB, free: 8.504 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.5017, allocations: 8 kB / 1.523 GB, free: 8.496 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005944/0.5023, allocations: 323.8 kB / 1.523 GB, free: 8.18 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002138/0.5045, allocations: 1.972 MB / 1.525 GB, free: 6.047 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003887/0.5049, allocations: 228.8 kB / 1.525 GB, free: 5.816 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000242/0.5051, allocations: 136.8 kB / 1.525 GB, free: 5.68 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004508/0.5056, allocations: 79.91 kB / 1.525 GB, free: 5.602 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.5056, allocations: 34.56 kB / 1.525 GB, free: 5.559 MB / 1.217 GB Notification: Performance of pre-optimization done (n=24): time 1.513e-06/0.5056, allocations: 7.875 kB / 1.525 GB, free: 5.551 MB / 1.217 GB Notification: Performance of matching and sorting (n=24): time 0.0009897/0.5066, allocations: 456.5 kB / 1.526 GB, free: 5.102 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.5066, allocations: 59.41 kB / 1.526 GB, free: 5.031 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004166/0.507, allocations: 401.9 kB / 1.526 GB, free: 4.633 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.5071, allocations: 33.7 kB / 1.526 GB, free: 4.594 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001653/0.5072, allocations: 228.5 kB / 1.526 GB, free: 4.363 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 7.915e-05/0.5073, allocations: 87.22 kB / 1.527 GB, free: 4.277 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.5074, allocations: 61.69 kB / 1.527 GB, free: 4.211 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.5076, allocations: 350.7 kB / 1.527 GB, free: 3.859 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/0.5078, allocations: 115.9 kB / 1.527 GB, free: 3.746 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002837/0.5081, allocations: 186.6 kB / 1.527 GB, free: 3.539 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004934/0.5086, allocations: 304.5 kB / 1.527 GB, free: 3.219 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.5086, allocations: 0 / 1.527 GB, free: 3.219 MB / 1.217 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006177/0.5092, allocations: 365 kB / 1.528 GB, free: 2.855 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.5092, allocations: 8 kB / 1.528 GB, free: 2.848 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.5092, allocations: 0 / 1.528 GB, free: 2.848 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.5092, allocations: 4 kB / 1.528 GB, free: 2.844 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002563/0.5095, allocations: 55.91 kB / 1.528 GB, free: 2.789 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.5095, allocations: 11.92 kB / 1.528 GB, free: 2.777 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002194/0.5097, allocations: 39.95 kB / 1.528 GB, free: 2.738 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.591e-05/0.5097, allocations: 19.98 kB / 1.528 GB, free: 2.719 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.0001704/0.5099, allocations: 165.7 kB / 1.528 GB, free: 2.547 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.431e-05/0.51, allocations: 39.72 kB / 1.528 GB, free: 2.508 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006798/0.5107, allocations: 374.7 kB / 1.529 GB, free: 2.137 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.5107, allocations: 0 / 1.529 GB, free: 2.137 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.5107, allocations: 4 kB / 1.529 GB, free: 2.133 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.5107, allocations: 4 kB / 1.529 GB, free: 2.129 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001375/0.512, allocations: 0.9187 MB / 1.529 GB, free: 1.141 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.512, allocations: 0 / 1.529 GB, free: 1.141 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002318/0.5123, allocations: 47.91 kB / 1.529 GB, free: 1.094 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.5123, allocations: 4 kB / 1.529 GB, free: 1.09 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.202e-05/0.5123, allocations: 8 kB / 1.529 GB, free: 1.082 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.154e-06/0.5123, allocations: 7.938 kB / 1.529 GB, free: 1.074 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5123, allocations: 48 / 1.529 GB, free: 1.074 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009014/0.5132, allocations: 0.6431 MB / 1.53 GB, free: 404 kB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.5134, allocations: 67.72 kB / 1.53 GB, free: 336 kB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.411e-05/0.5134, allocations: 11.98 kB / 1.53 GB, free: 324 kB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.5136, allocations: 12 kB / 1.53 GB, free: 312 kB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.321e-05/0.5137, allocations: 19.97 kB / 1.53 GB, free: 292 kB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.5137, allocations: 8 kB / 1.53 GB, free: 284 kB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002767/0.514, allocations: 283.1 kB / 1.53 GB, free: 0 / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.514, allocations: 64 / 1.53 GB, free: 0 / 1.217 GB Notification: Performance of remove unused functions: time 0.0004305/0.5144, allocations: 123.8 kB / 1.531 GB, free: 15.88 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.001351/0.5157, allocations: 1.222 MB / 1.532 GB, free: 14.61 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.000556/0.5163, allocations: 279.6 kB / 1.532 GB, free: 14.34 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.5163, allocations: 0 / 1.532 GB, free: 14.34 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0002651/0.5166, allocations: 143.8 kB / 1.532 GB, free: 14.2 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.5176, allocations: 220.5 kB / 1.532 GB, free: 13.98 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004635/0.5222, allocations: 3.801 MB / 1.536 GB, free: 10.02 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004157/0.5226, allocations: 0.8311 MB / 1.537 GB, free: 9.156 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0002707/0.5229, allocations: 99.39 kB / 1.537 GB, free: 9.059 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002089/0.5231, allocations: 135.4 kB / 1.537 GB, free: 8.93 MB / 1.232 GB Notification: Performance of SimCode: time 6.11e-07/0.5231, allocations: 8 kB / 1.537 GB, free: 8.922 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03457/0.5577, allocations: 12 MB / 1.549 GB, free: 13.21 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.34, allocations: 13.17 kB / 1.549 GB, free: 13.2 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.394004822999705]