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.001652/0.001652, 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.001945/0.001945, allocations: 216.5 kB / 22.25 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.602/1.602, allocations: 230.6 MB / 256 MB, free: 7.965 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.914/2.914, allocations: 476.7 MB / 0.7707 GB, free: 4.266 MB / 0.6231 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_11_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.002076/0.002076, allocations: 60.92 kB / 1.117 GB, free: 8.957 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4108/0.4128, allocations: 169.9 MB / 1.283 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2379/0.6508, allocations: 183.2 MB / 1.462 GB, free: 11.85 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01151/0.6623, allocations: 7.932 MB / 1.47 GB, free: 3.891 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007264/0.663, allocations: 27.75 kB / 1.47 GB, free: 3.863 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007664/0.6638, allocations: 250.2 kB / 1.47 GB, free: 3.617 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003612/0.6674, allocations: 1.291 MB / 1.472 GB, free: 2.32 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001995/0.6694, allocations: 0.7717 MB / 1.472 GB, free: 1.551 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001563/0.6709, allocations: 1.095 MB / 1.473 GB, free: 464 kB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005635/0.6715, allocations: 329.9 kB / 1.474 GB, free: 128 kB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002551/0.674, allocations: 0.8809 MB / 1.475 GB, free: 15.25 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000724/0.6748, allocations: 450.5 kB / 1.475 GB, free: 14.81 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 6.245e-05/0.6748, allocations: 36 kB / 1.475 GB, free: 14.78 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002094/0.6769, allocations: 1.025 MB / 1.476 GB, free: 13.75 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001986/0.6771, allocations: 171.5 kB / 1.476 GB, free: 13.58 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0002751/0.6774, allocations: 242.8 kB / 1.476 GB, free: 13.34 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.6789, allocations: 0.9421 MB / 1.477 GB, free: 12.4 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.6789, allocations: 0 / 1.477 GB, free: 12.4 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.343e-06/0.6789, allocations: 4 kB / 1.477 GB, free: 12.39 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.6789, allocations: 0 / 1.477 GB, free: 12.39 MB / 1.186 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.001272/0.6802, allocations: 0.7458 MB / 1.478 GB, free: 11.62 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 6.005e-05/0.6802, allocations: 15.97 kB / 1.478 GB, free: 11.6 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.232e-05/0.6803, allocations: 82.47 kB / 1.478 GB, free: 11.51 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009366/0.6813, allocations: 147.6 kB / 1.478 GB, free: 11.37 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006833/0.6819, allocations: 344.4 kB / 1.479 GB, free: 11 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.95e-05/0.682, allocations: 29 kB / 1.479 GB, free: 10.98 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.347e-05/0.682, allocations: 36 kB / 1.479 GB, free: 10.94 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007417/0.6828, allocations: 450.4 kB / 1.479 GB, free: 10.48 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.6828, allocations: 0 / 1.479 GB, free: 10.48 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.605e-05/0.6828, allocations: 23.88 kB / 1.479 GB, free: 10.45 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.6828, allocations: 8 kB / 1.479 GB, free: 10.45 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006316/0.6835, allocations: 323.8 kB / 1.479 GB, free: 10.13 MB / 1.186 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.002606/0.6861, allocations: 1.98 MB / 1.481 GB, free: 7.984 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004149/0.6865, allocations: 222.5 kB / 1.482 GB, free: 7.758 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002643/0.6868, allocations: 136.8 kB / 1.482 GB, free: 7.621 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005042/0.6873, allocations: 87.83 kB / 1.482 GB, free: 7.535 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.6873, allocations: 30.97 kB / 1.482 GB, free: 7.496 MB / 1.186 GB Notification: Performance of pre-optimization done (n=24): time 1.593e-06/0.6873, allocations: 4 kB / 1.482 GB, free: 7.492 MB / 1.186 GB Notification: Performance of matching and sorting (n=24): time 0.001116/0.6884, allocations: 460 kB / 1.482 GB, free: 7.039 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.6885, allocations: 59.39 kB / 1.482 GB, free: 6.969 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004782/0.6889, allocations: 397.9 kB / 1.483 GB, free: 6.57 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.689, allocations: 29.7 kB / 1.483 GB, free: 6.535 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/0.6892, allocations: 236.5 kB / 1.483 GB, free: 6.301 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 7.94e-05/0.6892, allocations: 83.23 kB / 1.483 GB, free: 6.219 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.894e-05/0.6893, allocations: 57.69 kB / 1.483 GB, free: 6.156 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001794/0.6895, allocations: 354.7 kB / 1.483 GB, free: 5.801 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002376/0.6898, allocations: 111.9 kB / 1.484 GB, free: 5.691 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000314/0.6901, allocations: 187.2 kB / 1.484 GB, free: 5.484 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005367/0.6906, allocations: 300.9 kB / 1.484 GB, free: 5.168 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6906, allocations: 3.938 kB / 1.484 GB, free: 5.164 MB / 1.186 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006446/0.6913, allocations: 369 kB / 1.484 GB, free: 4.797 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.6913, allocations: 9.875 kB / 1.484 GB, free: 4.789 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.6913, allocations: 0 / 1.484 GB, free: 4.789 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.6913, allocations: 4 kB / 1.484 GB, free: 4.785 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002903/0.6916, allocations: 59.91 kB / 1.484 GB, free: 4.727 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.6916, allocations: 7.984 kB / 1.484 GB, free: 4.719 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002498/0.6918, allocations: 43.94 kB / 1.485 GB, free: 4.676 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.374e-05/0.6919, allocations: 12 kB / 1.485 GB, free: 4.664 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.0002678/0.6921, allocations: 173.7 kB / 1.485 GB, free: 4.484 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.966e-05/0.6922, allocations: 39.77 kB / 1.485 GB, free: 4.445 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008041/0.693, allocations: 369.8 kB / 1.485 GB, free: 4.078 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.693, allocations: 7.938 kB / 1.485 GB, free: 4.07 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.693, allocations: 0 / 1.485 GB, free: 4.07 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.693, allocations: 4 kB / 1.485 GB, free: 4.066 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001659/0.6947, allocations: 0.9089 MB / 1.486 GB, free: 3.086 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.6947, allocations: 0 / 1.486 GB, free: 3.086 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00025/0.6949, allocations: 51.91 kB / 1.486 GB, free: 3.035 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.306e-06/0.695, allocations: 7.938 kB / 1.486 GB, free: 3.027 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.695, allocations: 4 kB / 1.486 GB, free: 3.023 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.695, allocations: 4 kB / 1.486 GB, free: 3.02 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.695, allocations: 7.938 kB / 1.486 GB, free: 3.012 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.696, allocations: 0.6324 MB / 1.487 GB, free: 2.344 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/0.6961, allocations: 67.67 kB / 1.487 GB, free: 2.277 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.498e-05/0.6962, allocations: 4 kB / 1.487 GB, free: 2.273 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.6964, allocations: 11.98 kB / 1.487 GB, free: 2.262 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.895e-05/0.6965, allocations: 27.81 kB / 1.487 GB, free: 2.234 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.6965, allocations: 11.94 kB / 1.487 GB, free: 2.223 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0003157/0.6968, allocations: 283.1 kB / 1.487 GB, free: 1.945 MB / 1.186 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6968, allocations: 4.062 kB / 1.487 GB, free: 1.941 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004502/0.6973, allocations: 111.8 kB / 1.487 GB, free: 1.832 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.001597/0.6989, allocations: 1.225 MB / 1.488 GB, free: 0.5586 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0006296/0.6995, allocations: 283 kB / 1.489 GB, free: 292 kB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.6995, allocations: 0 / 1.489 GB, free: 292 kB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002892/0.6998, allocations: 135.8 kB / 1.489 GB, free: 156 kB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.7008, allocations: 225.2 kB / 1.489 GB, free: 15.94 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005313/0.7062, allocations: 3.808 MB / 1.493 GB, free: 11.97 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004802/0.7066, allocations: 0.8311 MB / 1.494 GB, free: 11.11 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0003501/0.707, allocations: 99.39 kB / 1.494 GB, free: 11.01 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002166/0.7072, allocations: 143.4 kB / 1.494 GB, free: 10.87 MB / 1.201 GB Notification: Performance of SimCode: time 1.052e-06/0.7072, allocations: 4 kB / 1.494 GB, free: 10.87 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04878/0.756, allocations: 11.97 MB / 1.505 GB, free: 15.16 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.52, allocations: 6 kB / 1.505 GB, free: 15.16 MB / 1.217 GB " [Timeout remaining time 287] (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.45775462500751]